Top Description
java.lang.classfile

public sealed Interface ClassElement

extends ClassFileElement
Known Direct Subinterfaces
java.lang.classfile.FieldModel, java.lang.classfile.Interfaces, java.lang.classfile.MethodModel, java.lang.classfile.Superclass, java.lang.classfile.attribute.CompilationIDAttribute, java.lang.classfile.attribute.DeprecatedAttribute, java.lang.classfile.attribute.EnclosingMethodAttribute, java.lang.classfile.attribute.InnerClassesAttribute, java.lang.classfile.attribute.ModuleAttribute, java.lang.classfile.attribute.ModuleHashesAttribute, java.lang.classfile.attribute.ModuleMainClassAttribute, java.lang.classfile.attribute.ModulePackagesAttribute, java.lang.classfile.attribute.ModuleResolutionAttribute, java.lang.classfile.attribute.ModuleTargetAttribute, java.lang.classfile.attribute.NestHostAttribute, java.lang.classfile.attribute.NestMembersAttribute, java.lang.classfile.attribute.PermittedSubclassesAttribute, java.lang.classfile.attribute.RecordAttribute, java.lang.classfile.attribute.RuntimeInvisibleAnnotationsAttribute, java.lang.classfile.attribute.RuntimeInvisibleTypeAnnotationsAttribute, java.lang.classfile.attribute.RuntimeVisibleAnnotationsAttribute, java.lang.classfile.attribute.RuntimeVisibleTypeAnnotationsAttribute, java.lang.classfile.attribute.SignatureAttribute, java.lang.classfile.attribute.SourceDebugExtensionAttribute, java.lang.classfile.attribute.SourceFileAttribute, java.lang.classfile.attribute.SourceIDAttribute, java.lang.classfile.attribute.SyntheticAttribute, java.lang.classfile.attribute.UnknownAttribute, java.lang.classfile.ClassFileVersion, java.lang.classfile.AccessFlags
Known Direct Implementers
java.lang.classfile.CustomAttribute
Annotations
@PreviewFeature
feature:CLASSFILE_API
Imports
java.lang.classfile.attribute.CompilationIDAttribute, .DeprecatedAttribute, .EnclosingMethodAttribute, .InnerClassesAttribute, .ModuleAttribute, .ModuleHashesAttribute, .ModuleMainClassAttribute, .ModulePackagesAttribute, .ModuleResolutionAttribute, .ModuleTargetAttribute, .NestHostAttribute, .NestMembersAttribute, .PermittedSubclassesAttribute, .RecordAttribute, .RuntimeInvisibleAnnotationsAttribute, .RuntimeInvisibleTypeAnnotationsAttribute, .RuntimeVisibleAnnotationsAttribute, .RuntimeVisibleTypeAnnotationsAttribute, .SignatureAttribute, .SourceDebugExtensionAttribute, .SourceFileAttribute, .SourceIDAttribute, .SyntheticAttribute, .UnknownAttribute, jdk.internal.javac.PreviewFeature

A marker interface for elements that can appear when traversing a ClassModel or be presented to a ClassBuilder.
Since
22