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