public abstract class AttributeAnnotations extends Attribute implements TypeUsageCollectable
Modifier and Type | Field and Description |
---|---|
private java.util.List<AnnotationTableEntry> |
annotationTableEntryList |
private int |
length |
private static long |
OFFSET_OF_ANNOTATION_TABLE |
private static long |
OFFSET_OF_ATTRIBUTE_LENGTH |
private static long |
OFFSET_OF_NUMBER_OF_ANNOTATIONS |
private static long |
OFFSET_OF_REMAINDER |
Constructor and Description |
---|
AttributeAnnotations(ByteData raw,
ConstantPool cp) |
Modifier and Type | Method and Description |
---|---|
void |
collectTypeUsages(TypeUsageCollector collector) |
Dumper |
dump(Dumper d) |
java.util.List<AnnotationTableEntry> |
getEntryList() |
long |
getRawByteLength() |
void |
hide(JavaTypeInstance type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRawName
private static final long OFFSET_OF_ATTRIBUTE_LENGTH
private static final long OFFSET_OF_REMAINDER
private static final long OFFSET_OF_NUMBER_OF_ANNOTATIONS
private static final long OFFSET_OF_ANNOTATION_TABLE
private final java.util.List<AnnotationTableEntry> annotationTableEntryList
private final int length
AttributeAnnotations(ByteData raw, ConstantPool cp)
public void hide(JavaTypeInstance type)
public java.util.List<AnnotationTableEntry> getEntryList()
public long getRawByteLength()
getRawByteLength
in interface KnowsRawSize
public void collectTypeUsages(TypeUsageCollector collector)
collectTypeUsages
in interface TypeUsageCollectable
collectTypeUsages
in class Attribute