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

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

extends AbstractElement
implements Attribute<T extends Attribute<T>>, Writable
permits BoundUnknownAttribute, BoundStackMapTableAttribute, BoundSyntheticAttribute, BoundLineNumberTableAttribute, BoundCharacterRangeTableAttribute, BoundLocalVariableTableAttribute, BoundLocalVariableTypeTableAttribute, BoundMethodParametersAttribute, BoundModuleHashesAttribute, BoundRecordAttribute, BoundDeprecatedAttribute, BoundSignatureAttribute, BoundSourceFileAttribute, BoundModuleMainClassAttribute, BoundNestHostAttribute, BoundSourceDebugExtensionAttribute, BoundConstantValueAttribute, BoundModuleTargetAttribute, BoundCompilationIDAttribute, BoundSourceIDAttribute, BoundModuleResolutionAttribute, BoundExceptionsAttribute, BoundModuleAttribute, BoundModulePackagesAttribute, BoundNestMembersAttribute, BoundBootstrapMethodsAttribute, BoundInnerClassesAttribute, BoundEnclosingMethodAttribute, BoundAnnotationDefaultAttr, BoundRuntimeVisibleTypeAnnotationsAttribute, BoundRuntimeInvisibleTypeAnnotationsAttribute, BoundRuntimeVisibleParameterAnnotationsAttribute, BoundRuntimeInvisibleParameterAnnotationsAttribute, BoundRuntimeInvisibleAnnotationsAttribute, BoundRuntimeVisibleAnnotationsAttribute, BoundPermittedSubclassesAttribute, BoundCodeAttribute
Class Inheritance
All Implemented Interfaces
jdk.internal.classfile.impl.Util.Writable, java.lang.classfile.Attribute, java.lang.classfile.ClassFileElement
Known Direct Subclasses
jdk.internal.classfile.impl.BoundAttribute.BoundUnknownAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundStackMapTableAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundSyntheticAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundLineNumberTableAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundCharacterRangeTableAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundLocalVariableTableAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundLocalVariableTypeTableAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundMethodParametersAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundModuleHashesAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundRecordAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundDeprecatedAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundSignatureAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundSourceFileAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundModuleMainClassAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundNestHostAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundSourceDebugExtensionAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundConstantValueAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundModuleTargetAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundCompilationIDAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundSourceIDAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundModuleResolutionAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundExceptionsAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundModuleAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundModulePackagesAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundNestMembersAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundBootstrapMethodsAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundInnerClassesAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundEnclosingMethodAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundAnnotationDefaultAttr, jdk.internal.classfile.impl.BoundAttribute.BoundRuntimeVisibleTypeAnnotationsAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundRuntimeInvisibleTypeAnnotationsAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundRuntimeVisibleParameterAnnotationsAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundRuntimeInvisibleParameterAnnotationsAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundRuntimeInvisibleAnnotationsAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundRuntimeVisibleAnnotationsAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundPermittedSubclassesAttribute, jdk.internal.classfile.impl.BoundAttribute.BoundCodeAttribute
Imports
java.lang.classfile.*, java.lang.classfile.attribute.*, java.lang.classfile.constantpool.*, java.util.ArrayList, .Collections, .List, .Objects, .Optional, java.util.function.Function, jdk.internal.access.SharedSecrets

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class
public abstract 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
pack-priv final ClassReaderImpl
private final AttributeMapper<T>
pack-priv Utf8Entry
pack-priv static final int
pack-priv final int

Constructor Summary

AccessConstructor and Description
pack-priv
BoundAttribute(ClassReader classReader, AttributeMapper<T> mapper, int payloadStart)

Method Summary

Modifier and TypeMethod and Description
public AttributeMapper<T>
attributeMapper()

Implements java.lang.classfile.Attribute.attributeMapper.

Returns the AttributeMapper associated with this attribute.

public Utf8Entry
attributeName()

Implements java.lang.classfile.Attribute.attributeName.

Returns the name of the attribute.

public ConstantPool
public byte[]
public int
public static List<Attribute<?>>
readAttributes(AttributedElement enclosing, ClassReader reader, int pos, Function<Utf8Entry, AttributeMapper<?>> customAttributes)

pack-priv <E extends PoolEntry> List<E>
readEntryList(int p, Class<E> type)

public static AttributeMapper<?>

Returns:

the attribute mapper for a standard attribute
standardAttribute
(Utf8Entry
the name of the attribute to find
name
)

Returns the attribute mapper for a standard attribute.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

public void
public void
public void
public void
public void