- すべてのスーパー・インタフェース:
- ClassFileElementPREVIEW
- 既知のすべてのサブインタフェース:
- ArrayLoadInstructionPREVIEW,- ArrayStoreInstructionPREVIEW,- BranchInstructionPREVIEW,- CharacterRangePREVIEW,- ConstantInstructionPREVIEW,- ConstantInstruction.ArgumentConstantInstructionPREVIEW,- ConstantInstruction.IntrinsicConstantInstructionPREVIEW,- ConstantInstruction.LoadConstantInstructionPREVIEW,- ConvertInstructionPREVIEW,- DiscontinuedInstructionPREVIEW,- DiscontinuedInstruction.JsrInstructionPREVIEW,- DiscontinuedInstruction.RetInstructionPREVIEW,- ExceptionCatchPREVIEW,- FieldInstructionPREVIEW,- IncrementInstructionPREVIEW,- InstructionPREVIEW,- InvokeDynamicInstructionPREVIEW,- InvokeInstructionPREVIEW,- LabelTargetPREVIEW,- LineNumberPREVIEW,- LoadInstructionPREVIEW,- LocalVariablePREVIEW,- LocalVariableTypePREVIEW,- LookupSwitchInstructionPREVIEW,- MonitorInstructionPREVIEW,- NewMultiArrayInstructionPREVIEW,- NewObjectInstructionPREVIEW,- NewPrimitiveArrayInstructionPREVIEW,- NewReferenceArrayInstructionPREVIEW,- NopInstructionPREVIEW,- OperatorInstructionPREVIEW,- PseudoInstructionPREVIEW,- ReturnInstructionPREVIEW,- RuntimeInvisibleTypeAnnotationsAttributePREVIEW,- RuntimeVisibleTypeAnnotationsAttributePREVIEW,- StackInstructionPREVIEW,- StackMapTableAttributePREVIEW,- StoreInstructionPREVIEW,- TableSwitchInstructionPREVIEW,- ThrowInstructionPREVIEW,- TypeCheckInstructionPREVIEW
- 既知のすべての実装クラス:
- CustomAttributePREVIEW
public sealed interface CodeElement extends ClassFileElementPREVIEW permits InstructionPREVIEW, PseudoInstructionPREVIEW, CustomAttributePREVIEW<T>, RuntimeVisibleTypeAnnotationsAttributePREVIEW, RuntimeInvisibleTypeAnnotationsAttributePREVIEW, StackMapTableAttributePREVIEW
CodeElementは、JavaプラットフォームのプレビューAPIです。
プレビュー機能は、今後のリリースで削除するか、Javaプラットフォームの永続機能にアップグレードすることができます。
CodeModelPREVIEWをトラバースするとき、またはCodeBuilderPREVIEWに提示される要素のためのマーカー・インタフェース。 コード要素は、メソッド本文の命令をモデル化するInstructionPREVIEW、または行番号メタデータ、ローカル変数メタデータ、例外メタデータ、ラベル・ターゲット・メタデータなどのコード属性からメタデータをモデル化するPseudoInstructionPREVIEWのいずれかです。 
CodeElementを使用できます。