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
class file attributes for the java.lang.classfile library.-
Classes in java.lang.classfile.attribute used by java.lang.classfileClassDescriptionModels the
AnnotationDefaultattribute (JVMS 4.7.22), which records the default value (JLS 9.6.2) for the annotation interface element defined by this method.Models theBootstrapMethodsattribute (JVMS 4.7.23), which stores symbolic information for the execution of bootstrap methods, used by dynamically-computed call sites and constants.Models theCharacterRangeTableattribute, which is a bidirectional mapping from ranges of positions in the source file to ranges of indices into thecodearray.Models theCompilationIDattribute, which records the compilation time of theclassfile.Models theConstantValueattribute (JVMS 4.7.2), which indicates this field's value is a constant and that constant value.Models theDeprecatedattribute (JVMS 4.7.15), which indicates this structure has been superseded.Models theEnclosingMethodattribute (JVMS 4.7.7), which indicates that this class is a local or anonymous class, and indicates the enclosing method or constructor of this class if this class is enclosed in exactly one method or constructor.Models theExceptionsattribute (JVMS 4.7.5), which records the exceptions declared to be thrown by this method.Models theInnerClassesattribute (JVMS 4.7.6), which records which classes referenced by thisclassfile are nested classes.Models theLineNumberTableattribute (JVMS 4.7.12), which records the mapping between indexes into thecodearray and line numbers in the source file.Models theLocalVariableTableattribute (JVMS 4.7.13), which records debug information about local variables.Models theLocalVariableTypeTableattribute (JVMS 4.7.14), which records debug information about local variables with generic types.Models theMethodParametersattribute (JVMS 4.7.24), which records reflective information about this method's parameters such as access modifiers.Models theModuleHashesattribute, which appears on classes that represent module descriptors to capture the hashes of a set of co-delivered modules.Models theModuleMainClassattribute (JVMS 4.7.27), which appears on classes that represent module descriptors to indicate the main class of the module.Models theModulePackagesattribute (JVMS 4.7.26), which can appear on classes that represent module descriptors to indicate packages in the module used by the module descriptor.Models theModuleResolutionattribute, which can appear on classes that represent module descriptors, to capture resolution metadata for modules.Models theModuleTargetattribute, which can appear on classes that represent module descriptors, to represent constraints on the target platform.Models theNestMembersattribute (JVMS 4.7.29), which indicates that this class is the host of a nest and the other nest members.Models thePermittedSubclassesattribute (JVMS 4.7.31), which indicates this class or interface is sealed, and which classes or interfaces may extend or implement this class or interface.Models theRuntimeInvisibleAnnotationsattribute (JVMS 4.7.17), which stores declaration annotations on this structure that are visible toclassfile consumers but are not visible to core reflection.Models theRuntimeInvisibleParameterAnnotationsattribute (JVMS 4.7.19), which stores declaration annotations on the method parameters of this method that are visible toclassfile consumers but are not visible to core reflection.Models theRuntimeInvisibleTypeAnnotationsattribute (JVMS 4.7.21), which stores type-use annotations for the annotated uses of types in this structure that are visible toclassfile consumers but are not visible to core reflection.Models theRuntimeVisibleAnnotationsattribute (JVMS 4.7.16), which stores declaration annotations on this structure that are visible to bothclassfile consumers and core reflection.Models theRuntimeVisibleParameterAnnotationsattribute (JVMS 4.7.18), which stores declaration annotations on the method parameters of this method that are visible to bothclassfile consumers and core reflection.Models theRuntimeVisibleTypeAnnotationsattribute (JVMS 4.7.20), which stores type-use annotations for the annotated uses of types in this structure that are visible to bothclassfile consumers and core reflection.Models theSourceDebugExtensionattribute (JVMS 4.7.11), which stores arbitrary modified UTF-8 data.Models theSourceFileattribute (JVMS 4.7.10), which indicates the name of the source file from which thisclassfile was compiled.Models theSourceIDattribute, which records the last modified time of the source file from which thisclassfile was compiled.Models theStackMapTableattribute (JVMS 4.7.4), which is used for verification by type checking (4.10.1). -
Classes in java.lang.classfile.attribute used by java.lang.classfile.attributeClassDescriptionModels the
AnnotationDefaultattribute (JVMS 4.7.22), which records the default value (JLS 9.6.2) for the annotation interface element defined by this method.Models theBootstrapMethodsattribute (JVMS 4.7.23), which stores symbolic information for the execution of bootstrap methods, used by dynamically-computed call sites and constants.Models a single character range entry in theCharacterRangeTableAttribute.Models theCharacterRangeTableattribute, which is a bidirectional mapping from ranges of positions in the source file to ranges of indices into thecodearray.Models theCompilationIDattribute, which records the compilation time of theclassfile.Models theConstantValueattribute (JVMS 4.7.2), which indicates this field's value is a constant and that constant value.Models theDeprecatedattribute (JVMS 4.7.15), which indicates this structure has been superseded.Models theEnclosingMethodattribute (JVMS 4.7.7), which indicates that this class is a local or anonymous class, and indicates the enclosing method or constructor of this class if this class is enclosed in exactly one method or constructor.Models theExceptionsattribute (JVMS 4.7.5), which records the exceptions declared to be thrown by this method.Models theInnerClassesattribute (JVMS 4.7.6), which records which classes referenced by thisclassfile are nested classes.Models a single entry in theInnerClassesAttribute.Models a single line number entry in theLineNumberTableAttribute.Models theLineNumberTableattribute (JVMS 4.7.12), which records the mapping between indexes into thecodearray and line numbers in the source file.Models a single local variable in theLocalVariableTableAttribute.Models theLocalVariableTableattribute (JVMS 4.7.13), which records debug information about local variables.Models a single local variable in theLocalVariableTypeTableAttribute.Models theLocalVariableTypeTableattribute (JVMS 4.7.14), which records debug information about local variables with generic types.Models a single method parameter in theMethodParametersAttribute.Models theMethodParametersattribute (JVMS 4.7.24), which records reflective information about this method's parameters such as access modifiers.A builder forModuleattributes.Models a single "exports" declaration in theModuleAttribute.Models theModuleHashesattribute, which appears on classes that represent module descriptors to capture the hashes of a set of co-delivered modules.Models hash information for a single module in theModuleHashesAttribute.Models theModuleMainClassattribute (JVMS 4.7.27), which appears on classes that represent module descriptors to indicate the main class of the module.Models a single "opens" declaration in theModuleAttribute.Models theModulePackagesattribute (JVMS 4.7.26), which can appear on classes that represent module descriptors to indicate packages in the module used by the module descriptor.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, to capture resolution metadata for modules.Models theModuleTargetattribute, which can appear on classes that represent module descriptors, to represent constraints on the target platform.Models theNestMembersattribute (JVMS 4.7.29), which indicates that this class is the host of a nest and the other nest members.Models thePermittedSubclassesattribute (JVMS 4.7.31), which indicates this class or interface is sealed, and which classes or interfaces may extend or implement this class or interface.Models a single record component in theRecordAttribute.Models theRuntimeInvisibleAnnotationsattribute (JVMS 4.7.17), which stores declaration annotations on this structure that are visible toclassfile consumers but are not visible to core reflection.Models theRuntimeInvisibleParameterAnnotationsattribute (JVMS 4.7.19), which stores declaration annotations on the method parameters of this method that are visible toclassfile consumers but are not visible to core reflection.Models theRuntimeInvisibleTypeAnnotationsattribute (JVMS 4.7.21), which stores type-use annotations for the annotated uses of types in this structure that are visible toclassfile consumers but are not visible to core reflection.Models theRuntimeVisibleAnnotationsattribute (JVMS 4.7.16), which stores declaration annotations on this structure that are visible to bothclassfile consumers and core reflection.Models theRuntimeVisibleParameterAnnotationsattribute (JVMS 4.7.18), which stores declaration annotations on the method parameters of this method that are visible to bothclassfile consumers and core reflection.Models theRuntimeVisibleTypeAnnotationsattribute (JVMS 4.7.20), which stores type-use annotations for the annotated uses of types in this structure that are visible to bothclassfile consumers and core reflection.Models theSourceDebugExtensionattribute (JVMS 4.7.11), which stores arbitrary modified UTF-8 data.Models theSourceFileattribute (JVMS 4.7.10), which indicates the name of the source file from which thisclassfile was compiled.Models theSourceIDattribute, which records the last modified time of the source file from which thisclassfile was compiled.Models a stack map frame in aStackMapTableattribute (JVMS 4.7.4).A stack value for an object type.A simple stack value.An uninitialized stack value.The type of a stack or local variable value.Models theStackMapTableattribute (JVMS 4.7.4), which is used for verification by type checking (4.10.1).Models an unknown attribute read from aclassfile.