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 TypeInterfaceDescriptioninterfaceModels the access flags for a class, method, or field.interfaceModels the classfile version information for a class.interfaceModels a field.interfaceModels the interfaces of a class.interfaceModels a method.interfaceModels the superclass of a class.Classes in java.lang.classfile that implement ClassElementModifier and TypeClassDescriptionclassCustomAttribute<T extends CustomAttribute<T>>Models a non-standard attribute of a classfile.Subinterfaces with type arguments of type ClassElement in java.lang.classfileModifier and TypeInterfaceDescriptioninterfaceA builder for classfiles.interfaceModels a classfile.interfaceA transformation on streams ofClassElement.Method parameters in java.lang.classfile with type arguments of type ClassElementModifier and TypeMethodDescriptionstatic ClassTransformClassTransform.dropping(Predicate<ClassElement> filter) Create a class transform that passes each element through to the builder, except for those that the suppliedPredicateis true for. -
Uses of ClassElement in java.lang.classfile.attribute
Subinterfaces of ClassElement in java.lang.classfile.attributeModifier and TypeInterfaceDescriptioninterfaceModels theCompilationIDattribute (@@@ need reference), which can appear on classes and records the compilation time of the class.interfaceModels theDeprecatedattribute (JVMS 4.7.15), which can appear on classes, methods, and fields.interfaceModels theEnclosingMethodattribute (JVMS 4.7.7), which can appear on classes, and indicates that the class is a local or anonymous class.interfaceModels theInnerClassesattribute (JVMS 4.7.6), which can appear on classes, and records which classes referenced by this classfile are inner classes.interfaceModels theModuleattribute (JVMS 4.7.25), which can appear on classes that represent module descriptors.interfaceModels theModuleHashesattribute, which can appear on classes that represent module descriptors.interfaceModels theModuleMainClassattribute (JVMS 4.7.27), which can appear on classes that represent module descriptors.interfaceModels theModulePackagesattribute (JVMS 4.7.26), which can appear on classes that represent module descriptors.interfaceModels theModuleResolutionattribute, which can appear on classes that represent module descriptors.interfaceModels theModuleTargetattribute, which can appear on classes that represent module descriptors.interfaceModels theNestHostattribute (JVMS 4.7.28), which can appear on classes to indicate that this class is a member of a nest.interfaceModels theNestMembersattribute (JVMS 4.7.29), which can appear on classes to indicate that this class is the host of a nest.interfaceModels thePermittedSubclassesattribute (JVMS 4.7.31), which can appear on classes to indicate which classes may extend this class.interfaceModels theRecordattribute (JVMS 4.7.30), which can appear on classes to indicate that this class is a record class.interfaceModels theRuntimeInvisibleAnnotationsattribute (JVMS 4.7.17), which can appear on classes, methods, and fields.interfaceModels theRuntimeInvisibleTypeAnnotationsattribute (JVMS 4.7.21), which can appear on classes, methods, fields, and code attributes.interfaceModels theRuntimeVisibleAnnotationsattribute (JVMS 4.7.16), which can appear on classes, methods, and fields.interfaceModels theRuntimeVisibleTypeAnnotationsattribute (JVMS 4.7.20), which can appear on classes, methods, fields, and code attributes.interfaceModels theSignatureattribute (JVMS 4.7.9), which can appear on classes, methods, or fields.interfaceModels theSourceDebugExtensionattribute.interfaceModels theSourceFileattribute (JVMS 4.7.10), which can appear on classes.interfaceModels theSourceIDattribute, which can appear on classes.interfaceModels theSyntheticattribute (JVMS 4.7.8), which can appear on classes, methods, and fields.interfaceModels an unknown attribute on a class, method, or field.