Uses of Interface
java.lang.classfile.AttributeMapper
Package
Description
Provides classfile parsing, generation, and transformation library.
-
Uses of AttributeMapperPREVIEW in java.lang.classfilePREVIEW
Modifier and TypeFieldDescriptionstatic final AttributeMapperPREVIEW
<AnnotationDefaultAttributePREVIEW> Attributes.ANNOTATION_DEFAULT
Attribute mapper for theAnnotationDefault
attributestatic final AttributeMapperPREVIEW
<BootstrapMethodsAttributePREVIEW> Attributes.BOOTSTRAP_METHODS
Attribute mapper for theBootstrapMethods
attributestatic final AttributeMapperPREVIEW
<CharacterRangeTableAttributePREVIEW> Attributes.CHARACTER_RANGE_TABLE
Attribute mapper for theCharacterRangeTable
attributestatic final AttributeMapperPREVIEW
<CodeAttributePREVIEW> Attributes.CODE
Attribute mapper for theCode
attributestatic final AttributeMapperPREVIEW
<CompilationIDAttributePREVIEW> Attributes.COMPILATION_ID
Attribute mapper for theCompilationID
attributestatic final AttributeMapperPREVIEW
<ConstantValueAttributePREVIEW> Attributes.CONSTANT_VALUE
Attribute mapper for theConstantValue
attributestatic final AttributeMapperPREVIEW
<DeprecatedAttributePREVIEW> Attributes.DEPRECATED
Attribute mapper for theDeprecated
attributestatic final AttributeMapperPREVIEW
<EnclosingMethodAttributePREVIEW> Attributes.ENCLOSING_METHOD
Attribute mapper for theEnclosingMethod
attributestatic final AttributeMapperPREVIEW
<ExceptionsAttributePREVIEW> Attributes.EXCEPTIONS
Attribute mapper for theExceptions
attributestatic final AttributeMapperPREVIEW
<InnerClassesAttributePREVIEW> Attributes.INNER_CLASSES
Attribute mapper for theInnerClasses
attributestatic final AttributeMapperPREVIEW
<LineNumberTableAttributePREVIEW> Attributes.LINE_NUMBER_TABLE
Attribute mapper for theLineNumberTable
attributestatic final AttributeMapperPREVIEW
<LocalVariableTableAttributePREVIEW> Attributes.LOCAL_VARIABLE_TABLE
Attribute mapper for theLocalVariableTable
attributestatic final AttributeMapperPREVIEW
<LocalVariableTypeTableAttributePREVIEW> Attributes.LOCAL_VARIABLE_TYPE_TABLE
Attribute mapper for theLocalVariableTypeTable
attributestatic final AttributeMapperPREVIEW
<MethodParametersAttributePREVIEW> Attributes.METHOD_PARAMETERS
Attribute mapper for theMethodParameters
attributestatic final AttributeMapperPREVIEW
<ModuleAttributePREVIEW> Attributes.MODULE
Attribute mapper for theModule
attributestatic final AttributeMapperPREVIEW
<ModuleHashesAttributePREVIEW> Attributes.MODULE_HASHES
Attribute mapper for theModuleHashes
attributestatic final AttributeMapperPREVIEW
<ModuleMainClassAttributePREVIEW> Attributes.MODULE_MAIN_CLASS
Attribute mapper for theModuleMainClass
attributestatic final AttributeMapperPREVIEW
<ModulePackagesAttributePREVIEW> Attributes.MODULE_PACKAGES
Attribute mapper for theModulePackages
attributestatic final AttributeMapperPREVIEW
<ModuleResolutionAttributePREVIEW> Attributes.MODULE_RESOLUTION
Attribute mapper for theModuleResolution
attributestatic final AttributeMapperPREVIEW
<ModuleTargetAttributePREVIEW> Attributes.MODULE_TARGET
Attribute mapper for theModuleTarget
attributestatic final AttributeMapperPREVIEW
<NestHostAttributePREVIEW> Attributes.NEST_HOST
Attribute mapper for theNestHost
attributestatic final AttributeMapperPREVIEW
<NestMembersAttributePREVIEW> Attributes.NEST_MEMBERS
Attribute mapper for theNestMembers
attributestatic final AttributeMapperPREVIEW
<PermittedSubclassesAttributePREVIEW> Attributes.PERMITTED_SUBCLASSES
Attribute mapper for thePermittedSubclasses
attributestatic final AttributeMapperPREVIEW
<RecordAttributePREVIEW> Attributes.RECORD
Attribute mapper for theRecord
attributeAttributes.RUNTIME_INVISIBLE_ANNOTATIONS
Attribute mapper for theRuntimeInvisibleAnnotations
attributeAttributes.RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS
Attribute mapper for theRuntimeInvisibleParameterAnnotations
attributeAttributes.RUNTIME_INVISIBLE_TYPE_ANNOTATIONS
Attribute mapper for theRuntimeInvisibleTypeAnnotations
attributeAttributes.RUNTIME_VISIBLE_ANNOTATIONS
Attribute mapper for theRuntimeVisibleAnnotations
attributeAttributes.RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS
Attribute mapper for theRuntimeVisibleParameterAnnotations
attributeAttributes.RUNTIME_VISIBLE_TYPE_ANNOTATIONS
Attribute mapper for theRuntimeVisibleTypeAnnotations
attributestatic final AttributeMapperPREVIEW
<SignatureAttributePREVIEW> Attributes.SIGNATURE
Attribute mapper for theSignature
attributestatic final AttributeMapperPREVIEW
<SourceDebugExtensionAttributePREVIEW> Attributes.SOURCE_DEBUG_EXTENSION
Attribute mapper for theSourceDebugExtension
attributestatic final AttributeMapperPREVIEW
<SourceFileAttributePREVIEW> Attributes.SOURCE_FILE
Attribute mapper for theSourceFile
attributestatic final AttributeMapperPREVIEW
<SourceIDAttributePREVIEW> Attributes.SOURCE_ID
Attribute mapper for theSourceID
attributestatic final AttributeMapperPREVIEW
<StackMapTableAttributePREVIEW> Attributes.STACK_MAP_TABLE
Attribute mapper for theStackMapTable
attributestatic final AttributeMapperPREVIEW
<SyntheticAttributePREVIEW> Attributes.SYNTHETIC
Attribute mapper for theSynthetic
attributeModifier and TypeFieldDescriptionstatic final Set
<AttributeMapperPREVIEW<?>> Attributes.PREDEFINED_ATTRIBUTES
All standard attribute mappers.Modifier and TypeMethodDescriptionAttribute.attributeMapper()
Returns theAttributeMapper
PREVIEW associated with this attribute.final AttributeMapperPREVIEW
<T> CustomAttribute.attributeMapper()
static AttributeMapperPREVIEW
<?> Attributes.standardAttribute
(Utf8EntryPREVIEW name) Returns the attribute mapper for a standard attribute.Modifier and TypeMethodDescriptionClassFile.AttributeMapperOption.attributeMapper()
Returns the function mapping attribute names to attribute mappers.ClassReader.customAttributes()
Returns the table of custom attribute mappers.Modifier and TypeMethodDescriptionAttributedElement.findAttribute
(AttributeMapperPREVIEW<T> attr) Finds an attribute by name.AttributedElement.findAttributes
(AttributeMapperPREVIEW<T> attr) Finds one or more attributes by name.Modifier and TypeMethodDescriptionClassFile.AttributeMapperOption.of
(Function<Utf8EntryPREVIEW, AttributeMapperPREVIEW<?>> attributeMapper) Returns an option describing attribute mappers for custom attributes.ModifierConstructorDescriptionprotected
CustomAttribute
(AttributeMapperPREVIEW<T> mapper) Construct a CustomAttributePREVIEW.