APIdia Launch Partner
Top Inners Fields Constructors Methods
jdk.internal.classfile.impl

public abstract sealed Class AbstractAttributeMapper<T extends Attribute<T>>

extends Object
implements AttributeMapper<T extends Attribute<T>>
permits AnnotationDefaultMapper, BootstrapMethodsMapper, CharacterRangeTableMapper, CodeMapper, CompilationIDMapper, ConstantValueMapper, DeprecatedMapper, EnclosingMethodMapper, ExceptionsMapper, InnerClassesMapper, LineNumberTableMapper, LocalVariableTableMapper, LocalVariableTypeTableMapper, MethodParametersMapper, ModuleMapper, ModuleHashesMapper, ModuleMainClassMapper, ModulePackagesMapper, ModuleResolutionMapper, ModuleTargetMapper, NestHostMapper, NestMembersMapper, PermittedSubclassesMapper, RecordMapper, RuntimeInvisibleAnnotationsMapper, RuntimeInvisibleParameterAnnotationsMapper, RuntimeInvisibleTypeAnnotationsMapper, RuntimeVisibleAnnotationsMapper, RuntimeVisibleParameterAnnotationsMapper, RuntimeVisibleTypeAnnotationsMapper, SignatureMapper, SourceDebugExtensionMapper, SourceFileMapper, SourceIDMapper, StackMapTableMapper, SyntheticMapper
Class Inheritance
All Implemented Interfaces
java.lang.classfile.AttributeMapper
Known Direct Subclasses
jdk.internal.classfile.impl.AbstractAttributeMapper.AnnotationDefaultMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.BootstrapMethodsMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.CharacterRangeTableMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.CodeMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.CompilationIDMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.ConstantValueMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.DeprecatedMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.EnclosingMethodMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.ExceptionsMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.InnerClassesMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.LineNumberTableMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.LocalVariableTableMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.LocalVariableTypeTableMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.MethodParametersMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.ModuleMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.ModuleHashesMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.ModuleMainClassMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.ModulePackagesMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.ModuleResolutionMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.ModuleTargetMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.NestHostMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.NestMembersMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.PermittedSubclassesMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.RecordMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.RuntimeInvisibleAnnotationsMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.RuntimeInvisibleParameterAnnotationsMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.RuntimeInvisibleTypeAnnotationsMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.RuntimeVisibleAnnotationsMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.RuntimeVisibleParameterAnnotationsMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.RuntimeVisibleTypeAnnotationsMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.SignatureMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.SourceDebugExtensionMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.SourceFileMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.SourceIDMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.StackMapTableMapper, jdk.internal.classfile.impl.AbstractAttributeMapper.SyntheticMapper
Imports
java.lang.classfile.Annotation, .Attribute, .AttributeMapper, .AttributedElement, .BufWriter, .ClassReader, java.lang.classfile.attribute.*, java.util.List

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class

Field Summary

Modifier and TypeField and Description
private final boolean
private final String
private final AttributeMapper.AttributeStability

Constructor Summary

AccessConstructor and Description
public
public
AbstractAttributeMapper(String name, AttributeMapper.AttributeStability stability, boolean allowMultiple)

Method Summary

Modifier and TypeMethod and Description
public boolean
allowMultiple()

Overrides default java.lang.classfile.AttributeMapper.allowMultiple.

Returns whether this attribute may appear more than once in one structure.

public final String
name()

Implements java.lang.classfile.AttributeMapper.name.

Returns the name of the attribute.

public AttributeMapper.AttributeStability
stability()

Implements java.lang.classfile.AttributeMapper.stability.

Returns the data dependency of this attribute on the class file.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

public final void
writeAttribute(BufWriter writer, T attr)

Implements java.lang.classfile.AttributeMapper.writeAttribute.

Writes an Attribute instance to a class file for the Class-File API.

protected abstract void
writeBody(BufWriter buf, T attr)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait