public abstract class AttributeTypeAnnotations extends Attribute
Modifier and Type | Field and Description |
---|---|
private java.util.Map<TypeAnnotationEntryValue,java.util.List<AnnotationTableTypeEntry>> |
annotationTableEntryData |
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 |
---|
AttributeTypeAnnotations(ByteData raw,
ConstantPool cp) |
Modifier and Type | Method and Description |
---|---|
void |
collectTypeUsages(TypeUsageCollector collector) |
Dumper |
dump(Dumper d) |
java.util.List<AnnotationTableTypeEntry> |
getAnnotationsFor(TypeAnnotationEntryValue... types) |
long |
getRawByteLength() |
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 java.util.Map<TypeAnnotationEntryValue,java.util.List<AnnotationTableTypeEntry>> annotationTableEntryData
private final int length
AttributeTypeAnnotations(ByteData raw, ConstantPool cp)
public long getRawByteLength()
public void collectTypeUsages(TypeUsageCollector collector)
collectTypeUsages
in interface TypeUsageCollectable
collectTypeUsages
in class Attribute
public java.util.List<AnnotationTableTypeEntry> getAnnotationsFor(TypeAnnotationEntryValue... types)