Uses of Interface java.lang.classfile.AttributeMapper (Java SE 22 & JDK 22)
Description: use: module: java.base, package: java.lang.classfile, interface: AttributeMapper

# Uses of Interface
java.lang.classfile.AttributeMapper

Packages that use AttributeMapperPREVIEW
Package
Description
java.lang.classfile
Provides classfile parsing, generation, and transformation library.

- ## Uses of AttributeMapperPREVIEW in java.lang.classfilePREVIEW

  Fields in java.lang.classfilePREVIEW declared as AttributeMapperPREVIEW
  Modifier and Type
  Field
  Description
  `static final AttributeMapperPREVIEW<AnnotationDefaultAttributePREVIEW>`
  Attributes.`ANNOTATION_DEFAULT`
  Attribute mapper for the `AnnotationDefault` attribute
  `static final AttributeMapperPREVIEW<BootstrapMethodsAttributePREVIEW>`
  Attributes.`BOOTSTRAP_METHODS`
  Attribute mapper for the `BootstrapMethods` attribute
  `static final AttributeMapperPREVIEW<CharacterRangeTableAttributePREVIEW>`
  Attributes.`CHARACTER_RANGE_TABLE`
  Attribute mapper for the `CharacterRangeTable` attribute
  `static final AttributeMapperPREVIEW<CodeAttributePREVIEW>`
  Attributes.`CODE`
  Attribute mapper for the `Code` attribute
  `static final AttributeMapperPREVIEW<CompilationIDAttributePREVIEW>`
  Attributes.`COMPILATION_ID`
  Attribute mapper for the `CompilationID` attribute
  `static final AttributeMapperPREVIEW<ConstantValueAttributePREVIEW>`
  Attributes.`CONSTANT_VALUE`
  Attribute mapper for the `ConstantValue` attribute
  `static final AttributeMapperPREVIEW<DeprecatedAttributePREVIEW>`
  Attributes.`DEPRECATED`
  Attribute mapper for the `Deprecated` attribute
  `static final AttributeMapperPREVIEW<EnclosingMethodAttributePREVIEW>`
  Attributes.`ENCLOSING_METHOD`
  Attribute mapper for the `EnclosingMethod` attribute
  `static final AttributeMapperPREVIEW<ExceptionsAttributePREVIEW>`
  Attributes.`EXCEPTIONS`
  Attribute mapper for the `Exceptions` attribute
  `static final AttributeMapperPREVIEW<InnerClassesAttributePREVIEW>`
  Attributes.`INNER_CLASSES`
  Attribute mapper for the `InnerClasses` attribute
  `static final AttributeMapperPREVIEW<LineNumberTableAttributePREVIEW>`
  Attributes.`LINE_NUMBER_TABLE`
  Attribute mapper for the `LineNumberTable` attribute
  `static final AttributeMapperPREVIEW<LocalVariableTableAttributePREVIEW>`
  Attributes.`LOCAL_VARIABLE_TABLE`
  Attribute mapper for the `LocalVariableTable` attribute
  `static final AttributeMapperPREVIEW<LocalVariableTypeTableAttributePREVIEW>`
  Attributes.`LOCAL_VARIABLE_TYPE_TABLE`
  Attribute mapper for the `LocalVariableTypeTable` attribute
  `static final AttributeMapperPREVIEW<MethodParametersAttributePREVIEW>`
  Attributes.`METHOD_PARAMETERS`
  Attribute mapper for the `MethodParameters` attribute
  `static final AttributeMapperPREVIEW<ModuleAttributePREVIEW>`
  Attributes.`MODULE`
  Attribute mapper for the `Module` attribute
  `static final AttributeMapperPREVIEW<ModuleHashesAttributePREVIEW>`
  Attributes.`MODULE_HASHES`
  Attribute mapper for the `ModuleHashes` attribute
  `static final AttributeMapperPREVIEW<ModuleMainClassAttributePREVIEW>`
  Attributes.`MODULE_MAIN_CLASS`
  Attribute mapper for the `ModuleMainClass` attribute
  `static final AttributeMapperPREVIEW<ModulePackagesAttributePREVIEW>`
  Attributes.`MODULE_PACKAGES`
  Attribute mapper for the `ModulePackages` attribute
  `static final AttributeMapperPREVIEW<ModuleResolutionAttributePREVIEW>`
  Attributes.`MODULE_RESOLUTION`
  Attribute mapper for the `ModuleResolution` attribute
  `static final AttributeMapperPREVIEW<ModuleTargetAttributePREVIEW>`
  Attributes.`MODULE_TARGET`
  Attribute mapper for the `ModuleTarget` attribute
  `static final AttributeMapperPREVIEW<NestHostAttributePREVIEW>`
  Attributes.`NEST_HOST`
  Attribute mapper for the `NestHost` attribute
  `static final AttributeMapperPREVIEW<NestMembersAttributePREVIEW>`
  Attributes.`NEST_MEMBERS`
  Attribute mapper for the `NestMembers` attribute
  `static final AttributeMapperPREVIEW<PermittedSubclassesAttributePREVIEW>`
  Attributes.`PERMITTED_SUBCLASSES`
  Attribute mapper for the `PermittedSubclasses` attribute
  `static final AttributeMapperPREVIEW<RecordAttributePREVIEW>`
  Attributes.`RECORD`
  Attribute mapper for the `Record` attribute
  `static final AttributeMapperPREVIEW<RuntimeInvisibleAnnotationsAttributePREVIEW>`
  Attributes.`RUNTIME_INVISIBLE_ANNOTATIONS`
  Attribute mapper for the `RuntimeInvisibleAnnotations` attribute
  `static final AttributeMapperPREVIEW<RuntimeInvisibleParameterAnnotationsAttributePREVIEW>`
  Attributes.`RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS`
  Attribute mapper for the `RuntimeInvisibleParameterAnnotations` attribute
  `static final AttributeMapperPREVIEW<RuntimeInvisibleTypeAnnotationsAttributePREVIEW>`
  Attributes.`RUNTIME_INVISIBLE_TYPE_ANNOTATIONS`
  Attribute mapper for the `RuntimeInvisibleTypeAnnotations` attribute
  `static final AttributeMapperPREVIEW<RuntimeVisibleAnnotationsAttributePREVIEW>`
  Attributes.`RUNTIME_VISIBLE_ANNOTATIONS`
  Attribute mapper for the `RuntimeVisibleAnnotations` attribute
  `static final AttributeMapperPREVIEW<RuntimeVisibleParameterAnnotationsAttributePREVIEW>`
  Attributes.`RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS`
  Attribute mapper for the `RuntimeVisibleParameterAnnotations` attribute
  `static final AttributeMapperPREVIEW<RuntimeVisibleTypeAnnotationsAttributePREVIEW>`
  Attributes.`RUNTIME_VISIBLE_TYPE_ANNOTATIONS`
  Attribute mapper for the `RuntimeVisibleTypeAnnotations` attribute
  `static final AttributeMapperPREVIEW<SignatureAttributePREVIEW>`
  Attributes.`SIGNATURE`
  Attribute mapper for the `Signature` attribute
  `static final AttributeMapperPREVIEW<SourceDebugExtensionAttributePREVIEW>`
  Attributes.`SOURCE_DEBUG_EXTENSION`
  Attribute mapper for the `SourceDebugExtension` attribute
  `static final AttributeMapperPREVIEW<SourceFileAttributePREVIEW>`
  Attributes.`SOURCE_FILE`
  Attribute mapper for the `SourceFile` attribute
  `static final AttributeMapperPREVIEW<SourceIDAttributePREVIEW>`
  Attributes.`SOURCE_ID`
  Attribute mapper for the `SourceID` attribute
  `static final AttributeMapperPREVIEW<StackMapTableAttributePREVIEW>`
  Attributes.`STACK_MAP_TABLE`
  Attribute mapper for the `StackMapTable` attribute
  `static final AttributeMapperPREVIEW<SyntheticAttributePREVIEW>`
  Attributes.`SYNTHETIC`
  Attribute mapper for the `Synthetic` attribute
  Fields in java.lang.classfilePREVIEW with type parameters of type AttributeMapperPREVIEW
  Modifier and Type
  Field
  Description
  `static final Set<AttributeMapperPREVIEW<?>>`
  Attributes.`PREDEFINED_ATTRIBUTES`
  All standard attribute mappers.
  Methods in java.lang.classfilePREVIEW that return AttributeMapperPREVIEW
  Modifier and Type
  Method
  Description
  `AttributeMapperPREVIEW<A>`
  Attribute.`attributeMapper()`
  Returns the `AttributeMapper`PREVIEW associated with this attribute.
  `final AttributeMapperPREVIEW<T>`
  CustomAttribute.`attributeMapper()`
  `static AttributeMapperPREVIEW<?>`
  Attributes.`standardAttribute(Utf8EntryPREVIEW name)`
  Returns the attribute mapper for a standard attribute.
  Methods in java.lang.classfilePREVIEW that return types with arguments of type AttributeMapperPREVIEW
  Modifier and Type
  Method
  Description
  `Function<Utf8EntryPREVIEW,AttributeMapperPREVIEW<?>>`
  ClassFile.AttributeMapperOption.`attributeMapper()`
  Returns the function mapping attribute names to attribute mappers.
  `Function<Utf8EntryPREVIEW,AttributeMapperPREVIEW<?>>`
  ClassReader.`customAttributes()`
  Returns the table of custom attribute mappers.
  Methods in java.lang.classfilePREVIEW with parameters of type AttributeMapperPREVIEW
  Modifier and Type
  Method
  Description
  `default <T extends AttributePREVIEW<T>>
  Optional<T>`
  AttributedElement.`findAttribute(AttributeMapperPREVIEW<T> attr)`
  Finds an attribute by name.
  `default <T extends AttributePREVIEW<T>>
  List<T>`
  AttributedElement.`findAttributes(AttributeMapperPREVIEW<T> attr)`
  Finds one or more attributes by name.
  Method parameters in java.lang.classfilePREVIEW with type arguments of type AttributeMapperPREVIEW
  Modifier and Type
  Method
  Description
  `static ClassFile.AttributeMapperOptionPREVIEW`
  ClassFile.AttributeMapperOption.`of(Function<Utf8EntryPREVIEW,AttributeMapperPREVIEW<?>> attributeMapper)`
  Returns an option describing attribute mappers for custom attributes.
  Constructors in java.lang.classfilePREVIEW with parameters of type AttributeMapperPREVIEW
  Modifier
  Constructor
  Description
  `protected`
  `CustomAttribute(AttributeMapperPREVIEW<T> mapper)`
  Construct a CustomAttributePREVIEW.