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 TypeMethodDescriptionAttributes.annotationDefault()
Returns Attribute mapper for theAnnotationDefault
attribute.Attribute.attributeMapper()
Returns theAttributeMapper
PREVIEW associated with this attribute.final AttributeMapperPREVIEW
<T> CustomAttribute.attributeMapper()
Attributes.bootstrapMethods()
Returns Attribute mapper for theBootstrapMethods
attribute.Attributes.characterRangeTable()
Returns Attribute mapper for theCharacterRangeTable
attribute.Attributes.code()
Returns Attribute mapper for theCode
attribute.Attributes.compilationId()
Returns Attribute mapper for theCompilationID
attribute.Attributes.constantValue()
Returns Attribute mapper for theConstantValue
attribute.Attributes.deprecated()
Returns Attribute mapper for theDeprecated
attribute.Attributes.enclosingMethod()
Returns Attribute mapper for theEnclosingMethod
attribute.Attributes.exceptions()
Returns Attribute mapper for theExceptions
attribute.Attributes.innerClasses()
Returns Attribute mapper for theInnerClasses
attribute.Attributes.lineNumberTable()
Returns Attribute mapper for theLineNumberTable
attribute.Attributes.localVariableTable()
Returns Attribute mapper for theLocalVariableTable
attribute.Attributes.localVariableTypeTable()
Returns Attribute mapper for theLocalVariableTypeTable
attribute.Attributes.methodParameters()
Returns Attribute mapper for theMethodParameters
attribute.Attributes.module()
Returns Attribute mapper for theModule
attribute.Attributes.moduleHashes()
Returns Attribute mapper for theModuleHashes
attribute.Attributes.moduleMainClass()
Returns Attribute mapper for theModuleMainClass
attribute.Attributes.modulePackages()
Returns Attribute mapper for theModulePackages
attribute.Attributes.moduleResolution()
Returns Attribute mapper for theModuleResolution
attribute.Attributes.moduleTarget()
Returns Attribute mapper for theModuleTarget
attribute.Attributes.nestHost()
Returns Attribute mapper for theNestHost
attribute.Attributes.nestMembers()
Returns Attribute mapper for theNestMembers
attribute.Attributes.permittedSubclasses()
Returns Attribute mapper for thePermittedSubclasses
attribute.Attributes.record()
Returns Attribute mapper for theRecord
attribute.Attributes.runtimeInvisibleAnnotations()
Returns Attribute mapper for theRuntimeInvisibleAnnotations
attribute.Attributes.runtimeInvisibleParameterAnnotations()
Returns Attribute mapper for theRuntimeInvisibleParameterAnnotations
attribute.Attributes.runtimeInvisibleTypeAnnotations()
Returns Attribute mapper for theRuntimeInvisibleTypeAnnotations
attribute.Attributes.runtimeVisibleAnnotations()
Returns Attribute mapper for theRuntimeVisibleAnnotations
attribute.Attributes.runtimeVisibleParameterAnnotations()
Returns Attribute mapper for theRuntimeVisibleParameterAnnotations
attribute.Attributes.runtimeVisibleTypeAnnotations()
Returns Attribute mapper for theRuntimeVisibleTypeAnnotations
attribute.Attributes.signature()
Returns Attribute mapper for theSignature
attribute.Attributes.sourceDebugExtension()
Returns Attribute mapper for theSourceDebugExtension
attribute.Attributes.sourceFile()
Returns Attribute mapper for theSourceFile
attribute.Attributes.sourceId()
Returns Attribute mapper for theSourceID
attribute.Attributes.stackMapTable()
Returns Attribute mapper for theStackMapTable
attribute.Attributes.synthetic()
Returns Attribute mapper for theSynthetic
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 CustomAttribute.