Uses of Interface
java.lang.classfile.Attribute
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfilePREVIEW library.-
Uses of AttributePREVIEW in java.lang.classfilePREVIEW
Classes in java.lang.classfilePREVIEW with type parameters of type AttributePREVIEWModifier and TypeInterfaceDescriptioninterfacePreview.Models a classfile attribute (JVMS 4.7).interfaceAttributeMapperPREVIEW<A extends AttributePREVIEW<A>>Preview.Bidirectional mapper between the classfile representation of an attribute and how that attribute is modeled in the API.Classes in java.lang.classfilePREVIEW that implement AttributePREVIEWModifier and TypeClassDescriptionclassCustomAttributePREVIEW<T extends CustomAttributePREVIEW<T>>Preview.Models a non-standard attribute of a classfile.Methods in java.lang.classfilePREVIEW with type parameters of type AttributePREVIEWModifier and TypeMethodDescriptionAttributedElement.findAttribute(AttributeMapperPREVIEW<T> attr) Finds an attribute by name.AttributedElement.findAttributes(AttributeMapperPREVIEW<T> attr) Finds one or more attributes by name.Methods in java.lang.classfilePREVIEW that return types with arguments of type AttributePREVIEWModifier and TypeMethodDescriptionAttributedElement.attributes()Returns the attributes of this element. -
Uses of AttributePREVIEW in java.lang.classfile.attributePREVIEW
Subinterfaces of AttributePREVIEW in java.lang.classfile.attributePREVIEWModifier and TypeInterfaceDescriptioninterfacePreview.interfacePreview.Models theBootstrapMethodsattribute (JVMS 4.7.23), which serves as an extension to the constant pool of a classfile.interfacePreview.The CharacterRangeTable attribute is an optional variable-length attribute in the attributes table of aCodeattribute.interfacePreview.Models theCodeattribute (JVMS 4.7.3), appears on non-native, non-abstract methods and contains the bytecode of the method body.interfacePreview.Models theCompilationIDattribute (@@@ need reference), which can appear on classes and records the compilation time of the class.interfacePreview.Models theConstantValueattribute (JVMS 4.7.2), which can appear on fields and indicates that the field's value is a constant.interfacePreview.Models theDeprecatedattribute (JVMS 4.7.15), which can appear on classes, methods, and fields.interfacePreview.Models theEnclosingMethodattribute (JVMS 4.7.7), which can appear on classes, and indicates that the class is a local or anonymous class.interfacePreview.Models theExceptionsattribute (JVMS 4.7.5), which can appear on methods, and records the exceptions declared to be thrown by this method.interfacePreview.Models theInnerClassesattribute (JVMS 4.7.6), which can appear on classes, and records which classes referenced by this classfile are inner classes.interfacePreview.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.interfacePreview.Models theLocalVariableTableattribute (JVMS 4.7.13), which can appear on aCodeattribute, and records debug information about local variables.interfacePreview.Models theLocalVariableTypeTableattribute (JVMS 4.7.14), which can appear on aCodeattribute, and records debug information about local variables.interfacePreview.Models theMethodParametersattribute (JVMS 4.7.24), which can appear on methods, and records optional information about the method's parameters.interfacePreview.Models theModuleattribute (JVMS 4.7.25), which can appear on classes that represent module descriptors.interfacePreview.Models theModuleHashesattribute, which can appear on classes that represent module descriptors.interfacePreview.Models theModuleMainClassattribute (JVMS 4.7.27), which can appear on classes that represent module descriptors.interfacePreview.Models theModulePackagesattribute (JVMS 4.7.26), which can appear on classes that represent module descriptors.interfacePreview.Models theModuleResolutionattribute, which can appear on classes that represent module descriptors.interfacePreview.Models theModuleTargetattribute, which can appear on classes that represent module descriptors.interfacePreview.Models theNestHostattribute (JVMS 4.7.28), which can appear on classes to indicate that this class is a member of a nest.interfacePreview.Models theNestMembersattribute (JVMS 4.7.29), which can appear on classes to indicate that this class is the host of a nest.interfacePreview.Models thePermittedSubclassesattribute (JVMS 4.7.31), which can appear on classes to indicate which classes may extend this class.interfacePreview.Models theRecordattribute (JVMS 4.7.30), which can appear on classes to indicate that this class is a record class.interfacePreview.Models theRuntimeInvisibleAnnotationsattribute (JVMS 4.7.17), which can appear on classes, methods, and fields.interfacePreview.Models theRuntimeInvisibleParameterAnnotationsattribute (JVMS 4.7.19), which can appear on methods.interfacePreview.Models theRuntimeInvisibleTypeAnnotationsattribute (JVMS 4.7.21), which can appear on classes, methods, fields, and code attributes.interfacePreview.Models theRuntimeVisibleAnnotationsattribute (JVMS 4.7.16), which can appear on classes, methods, and fields.interfacePreview.Models theRuntimeVisibleParameterAnnotationsattribute (JVMS 4.7.18), which can appear on methods.interfacePreview.Models theRuntimeVisibleTypeAnnotationsattribute (JVMS 4.7.20), which can appear on classes, methods, fields, and code attributes.interfacePreview.Models theSignatureattribute (JVMS 4.7.9), which can appear on classes, methods, or fields.interfacePreview.Models theSourceDebugExtensionattribute.interfacePreview.Models theSourceFileattribute (JVMS 4.7.10), which can appear on classes.interfacePreview.Models theSourceIDattribute, which can appear on classes.interfacePreview.interfacePreview.Models theSyntheticattribute (JVMS 4.7.8), which can appear on classes, methods, and fields.interfacePreview.Models an unknown attribute on a class, method, or field.Methods in java.lang.classfile.attributePREVIEW with parameters of type AttributePREVIEWModifier and TypeMethodDescriptionstatic RecordComponentInfoPREVIEWRecordComponentInfo.of(Utf8EntryPREVIEW name, Utf8EntryPREVIEW descriptor, AttributePREVIEW<?>... attributes) Returns a record component description.static RecordComponentInfoPREVIEWReturns a record component description.Method parameters in java.lang.classfile.attributePREVIEW with type arguments of type AttributePREVIEW