Class AttributeAnnotations
java.lang.Object
org.benf.cfr.reader.entities.attributes.Attribute
org.benf.cfr.reader.entities.attributes.AttributeAnnotations
- All Implemented Interfaces:
KnowsRawName
,KnowsRawSize
,Dumpable
,TypeUsageCollectable
- Direct Known Subclasses:
AttributeRuntimeInvisibleAnnotations
,AttributeRuntimeVisibleAnnotations
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<AnnotationTableEntry>
private final int
private static final long
private static final long
private static final long
private static final long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
collectTypeUsages
(TypeUsageCollector collector) long
void
hide
(JavaTypeInstance type) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.benf.cfr.reader.util.KnowsRawName
getRawName
-
Field Details
-
OFFSET_OF_ATTRIBUTE_LENGTH
private static final long OFFSET_OF_ATTRIBUTE_LENGTH- See Also:
-
OFFSET_OF_REMAINDER
private static final long OFFSET_OF_REMAINDER- See Also:
-
OFFSET_OF_NUMBER_OF_ANNOTATIONS
private static final long OFFSET_OF_NUMBER_OF_ANNOTATIONS- See Also:
-
OFFSET_OF_ANNOTATION_TABLE
private static final long OFFSET_OF_ANNOTATION_TABLE- See Also:
-
annotationTableEntryList
-
length
private final int length
-
-
Constructor Details
-
AttributeAnnotations
AttributeAnnotations(ByteData raw, ConstantPool cp)
-
-
Method Details
-
hide
-
dump
-
getEntryList
-
getRawByteLength
public long getRawByteLength()- Specified by:
getRawByteLength
in interfaceKnowsRawSize
-
collectTypeUsages
- Specified by:
collectTypeUsages
in interfaceTypeUsageCollectable
- Overrides:
collectTypeUsages
in classAttribute
-