Uses of Package
java.lang.classfile.attribute
Packages that use java.lang.classfile.attribute
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfile library.-
Classes in java.lang.classfile.attribute used by java.lang.classfileClassDescriptionModels the
BootstrapMethodsattribute (JVMS 4.7.23), which serves as an extension to the constant pool of a classfile.The CharacterRangeTable attribute is an optional variable-length attribute in the attributes table of aCodeattribute.Models theCodeattribute (JVMS 4.7.3), appears on non-native, non-abstract methods and contains the bytecode of the method body.Models theCompilationIDattribute (@@@ need reference), which can appear on classes and records the compilation time of the class.Models theConstantValueattribute (JVMS 4.7.2), which can appear on fields and indicates that the field's value is a constant.Models theDeprecatedattribute (JVMS 4.7.15), which can appear on classes, methods, and fields.Models theEnclosingMethodattribute (JVMS 4.7.7), which can appear on classes, and indicates that the class is a local or anonymous class.Models theExceptionsattribute (JVMS 4.7.5), which can appear on methods, and records the exceptions declared to be thrown by this method.Models theInnerClassesattribute (JVMS 4.7.6), which can appear on classes, and records which classes referenced by this classfile are inner classes.Models theLineNumberTableattribute (JVMS 4.7.12), which can appear on aCodeattribute, and records the mapping between indexes into the code table and line numbers in the source file.Models theLocalVariableTableattribute (JVMS 4.7.13), which can appear on aCodeattribute, and records debug information about local variables.Models theLocalVariableTypeTableattribute (JVMS 4.7.14), which can appear on aCodeattribute, and records debug information about local variables.Models theMethodParametersattribute (JVMS 4.7.24), which can appear on methods, and records optional information about the method's parameters.Models theModuleattribute (JVMS 4.7.25), which can appear on classes that represent module descriptors.Models theModuleHashesattribute, which can appear on classes that represent module descriptors.Models theModuleMainClassattribute (JVMS 4.7.27), which can appear on classes that represent module descriptors.Models theModulePackagesattribute (JVMS 4.7.26), which can appear on classes that represent module descriptors.Models theModuleResolutionattribute, which can appear on classes that represent module descriptors.Models theModuleTargetattribute, which can appear on classes that represent module descriptors.Models theNestHostattribute (JVMS 4.7.28), which can appear on classes to indicate that this class is a member of a nest.Models theNestMembersattribute (JVMS 4.7.29), which can appear on classes to indicate that this class is the host of a nest.Models thePermittedSubclassesattribute (JVMS 4.7.31), which can appear on classes to indicate which classes may extend this class.Models theRecordattribute (JVMS 4.7.30), which can appear on classes to indicate that this class is a record class.Models theRuntimeInvisibleAnnotationsattribute (JVMS 4.7.17), which can appear on classes, methods, and fields.Models theRuntimeInvisibleParameterAnnotationsattribute (JVMS 4.7.19), which can appear on methods.Models theRuntimeInvisibleTypeAnnotationsattribute (JVMS 4.7.21), which can appear on classes, methods, fields, and code attributes.Models theRuntimeVisibleAnnotationsattribute (JVMS 4.7.16), which can appear on classes, methods, and fields.Models theRuntimeVisibleParameterAnnotationsattribute (JVMS 4.7.18), which can appear on methods.Models theRuntimeVisibleTypeAnnotationsattribute (JVMS 4.7.20), which can appear on classes, methods, fields, and code attributes.Models theSignatureattribute (JVMS 4.7.9), which can appear on classes, methods, or fields.Models theSourceDebugExtensionattribute.Models theSourceFileattribute (JVMS 4.7.10), which can appear on classes.Models theSourceIDattribute, which can appear on classes.Models theSyntheticattribute (JVMS 4.7.8), which can appear on classes, methods, and fields. -
Classes in java.lang.classfile.attribute used by java.lang.classfile.attributeClassDescriptionModels the
BootstrapMethodsattribute (JVMS 4.7.23), which serves as an extension to the constant pool of a classfile.Models a single character range in theCharacterRangeTableAttribute.The CharacterRangeTable attribute is an optional variable-length attribute in the attributes table of aCodeattribute.Models theCodeattribute (JVMS 4.7.3), appears on non-native, non-abstract methods and contains the bytecode of the method body.Models theCompilationIDattribute (@@@ need reference), which can appear on classes and records the compilation time of the class.Models theConstantValueattribute (JVMS 4.7.2), which can appear on fields and indicates that the field's value is a constant.Models theDeprecatedattribute (JVMS 4.7.15), which can appear on classes, methods, and fields.Models theEnclosingMethodattribute (JVMS 4.7.7), which can appear on classes, and indicates that the class is a local or anonymous class.Models theExceptionsattribute (JVMS 4.7.5), which can appear on methods, and records the exceptions declared to be thrown by this method.Models theInnerClassesattribute (JVMS 4.7.6), which can appear on classes, and records which classes referenced by this classfile are inner classes.Models a single inner class in theInnerClassesAttribute.Models a single line number in theLineNumberTableAttribute.Models theLineNumberTableattribute (JVMS 4.7.12), which can appear on aCodeattribute, and records the mapping between indexes into the code table and line numbers in the source file.Models a single local variable in theLocalVariableTableAttribute.Models theLocalVariableTableattribute (JVMS 4.7.13), which can appear on aCodeattribute, and records debug information about local variables.Models a single local variable in theLocalVariableTypeTableAttribute.Models theLocalVariableTypeTableattribute (JVMS 4.7.14), which can appear on aCodeattribute, and records debug information about local variables.Models a single method parameter in theMethodParametersAttribute.Models theMethodParametersattribute (JVMS 4.7.24), which can appear on methods, and records optional information about the method's parameters.Models theModuleattribute (JVMS 4.7.25), which can appear on classes that represent module descriptors.A builder for module attributes.Models a single "exports" declaration in theModuleAttribute.Models theModuleHashesattribute, which can appear on classes that represent module descriptors.Models hash information for a single module in theModuleHashesAttribute.Models theModuleMainClassattribute (JVMS 4.7.27), which can appear on classes that represent module descriptors.Models a single "opens" declaration in theModuleAttribute.Models theModulePackagesattribute (JVMS 4.7.26), which can appear on classes that represent module descriptors.Models a single "provides" declaration in theModuleAttribute.Models a single "requires" declaration in theModuleAttribute.Models theModuleResolutionattribute, which can appear on classes that represent module descriptors.Models theModuleTargetattribute, which can appear on classes that represent module descriptors.Models theNestHostattribute (JVMS 4.7.28), which can appear on classes to indicate that this class is a member of a nest.Models theNestMembersattribute (JVMS 4.7.29), which can appear on classes to indicate that this class is the host of a nest.Models thePermittedSubclassesattribute (JVMS 4.7.31), which can appear on classes to indicate which classes may extend this class.Models theRecordattribute (JVMS 4.7.30), which can appear on classes to indicate that this class is a record class.Models a single record component in theRecordAttribute.Models theRuntimeInvisibleAnnotationsattribute (JVMS 4.7.17), which can appear on classes, methods, and fields.Models theRuntimeInvisibleParameterAnnotationsattribute (JVMS 4.7.19), which can appear on methods.Models theRuntimeInvisibleTypeAnnotationsattribute (JVMS 4.7.21), which can appear on classes, methods, fields, and code attributes.Models theRuntimeVisibleAnnotationsattribute (JVMS 4.7.16), which can appear on classes, methods, and fields.Models theRuntimeVisibleParameterAnnotationsattribute (JVMS 4.7.18), which can appear on methods.Models theRuntimeVisibleTypeAnnotationsattribute (JVMS 4.7.20), which can appear on classes, methods, fields, and code attributes.Models theSignatureattribute (JVMS 4.7.9), which can appear on classes, methods, or fields.Models theSourceDebugExtensionattribute.Models theSourceFileattribute (JVMS 4.7.10), which can appear on classes.Models theSourceIDattribute, which can appear on classes.Models stack map frame ofStackMapTableattribute (JVMS 4.7.4).A stack value for an object type.A simple stack value.An uninitialized stack value.The type of a stack value.Models theSyntheticattribute (JVMS 4.7.8), which can appear on classes, methods, and fields.Models an unknown attribute on a class, method, or field.