Uses of Interface
java.lang.classfile.ClassElement
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfile
PREVIEW library.-
Uses of ClassElementPREVIEW in java.lang.classfilePREVIEW
Modifier and TypeInterfaceDescriptioninterface
Preview.Models the access flags for a class, method, or field.interface
Preview.Models the classfile version information for a class.interface
Preview.Models a field.interface
Preview.Models the interfaces of a class.interface
Preview.Models a method.interface
Preview.Models the superclass of a class.Modifier and TypeClassDescriptionclass
CustomAttributePREVIEW<T extends CustomAttributePREVIEW<T>>
Preview.Models a non-standard attribute of a classfile.Modifier and TypeInterfaceDescriptioninterface
Preview.A builder for classfiles.interface
Preview.Models a classfile.interface
Preview.A transformation on streams ofClassElement
PREVIEW.Modifier and TypeMethodDescriptionstatic ClassTransformPREVIEW
ClassTransform.dropping
(Predicate<ClassElementPREVIEW> filter) Create a class transform that passes each element through to the builder, except for those that the suppliedPredicate
is true for. -
Uses of ClassElementPREVIEW in java.lang.classfile.attributePREVIEW
Modifier and TypeInterfaceDescriptioninterface
Preview.Models theCompilationID
attribute (@@@ need reference), which can appear on classes and records the compilation time of the class.interface
Preview.Models theDeprecated
attribute (JVMS 4.7.15), which can appear on classes, methods, and fields.interface
Preview.Models theEnclosingMethod
attribute (JVMS 4.7.7), which can appear on classes, and indicates that the class is a local or anonymous class.interface
Preview.Models theInnerClasses
attribute (JVMS 4.7.6), which can appear on classes, and records which classes referenced by this classfile are inner classes.interface
Preview.Models theModule
attribute (JVMS 4.7.25), which can appear on classes that represent module descriptors.interface
Preview.Models theModuleHashes
attribute, which can appear on classes that represent module descriptors.interface
Preview.Models theModuleMainClass
attribute (JVMS 4.7.27), which can appear on classes that represent module descriptors.interface
Preview.Models theModulePackages
attribute (JVMS 4.7.26), which can appear on classes that represent module descriptors.interface
Preview.Models theModuleResolution
attribute, which can appear on classes that represent module descriptors.interface
Preview.Models theModuleTarget
attribute, which can appear on classes that represent module descriptors.interface
Preview.Models theNestHost
attribute (JVMS 4.7.28), which can appear on classes to indicate that this class is a member of a nest.interface
Preview.Models theNestMembers
attribute (JVMS 4.7.29), which can appear on classes to indicate that this class is the host of a nest.interface
Preview.Models thePermittedSubclasses
attribute (JVMS 4.7.31), which can appear on classes to indicate which classes may extend this class.interface
Preview.Models theRecord
attribute (JVMS 4.7.30), which can appear on classes to indicate that this class is a record class.interface
Preview.Models theRuntimeInvisibleAnnotations
attribute (JVMS 4.7.17), which can appear on classes, methods, and fields.interface
Preview.Models theRuntimeInvisibleTypeAnnotations
attribute (JVMS 4.7.21), which can appear on classes, methods, fields, and code attributes.interface
Preview.Models theRuntimeVisibleAnnotations
attribute (JVMS 4.7.16), which can appear on classes, methods, and fields.interface
Preview.Models theRuntimeVisibleTypeAnnotations
attribute (JVMS 4.7.20), which can appear on classes, methods, fields, and code attributes.interface
Preview.Models theSignature
attribute (JVMS 4.7.9), which can appear on classes, methods, or fields.interface
Preview.Models theSourceDebugExtension
attribute.interface
Preview.Models theSourceFile
attribute (JVMS 4.7.10), which can appear on classes.interface
Preview.Models theSourceID
attribute, which can appear on classes.interface
Preview.Models theSynthetic
attribute (JVMS 4.7.8), which can appear on classes, methods, and fields.interface
Preview.Models an unknown attribute on a class, method, or field.