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

public Class AttributeHolder

extends Object
Class Inheritance
Imports
java.lang.classfile.Attribute, .AttributeMapper, java.util.Arrays

Field Summary

Modifier and TypeField and Description
private Attribute<?>[]
private int
private static final Attribute<?>[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv <A extends Attribute<A>> A
pack-priv boolean
public int
size()

public <A extends Attribute<A>> void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

attributesback to summary
private Attribute<?>[] attributes
attributesCountback to summary
private int attributesCount
EMPTY_ATTRIBUTE_ARRAYback to summary
private static final Attribute<?>[] EMPTY_ATTRIBUTE_ARRAY

Constructor Detail

AttributeHolderback to summary
public AttributeHolder()

Method Detail

getback to summary
pack-priv <A extends Attribute<A>> A get(AttributeMapper<A> am)
Annotations
@SuppressWarnings:unchecked
isPresentback to summary
pack-priv boolean isPresent(AttributeMapper<?> am)
sizeback to summary
public int size()
withAttributeback to summary
public <A extends Attribute<A>> void withAttribute(Attribute<?> a)
writeToback to summary
public void writeTo(BufWriterImpl buf)