Class AttributeTypeAnnotations
java.lang.Object
org.benf.cfr.reader.entities.attributes.Attribute
org.benf.cfr.reader.entities.attributes.AttributeTypeAnnotations
- All Implemented Interfaces:
KnowsRawName
,KnowsRawSize
,Dumpable
,TypeUsageCollectable
- Direct Known Subclasses:
AttributeRuntimeInvisibleTypeAnnotations
,AttributeRuntimeVisibleTypeAnnotations
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate 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) getAnnotationsFor
(TypeAnnotationEntryValue... types) long
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:
-
annotationTableEntryData
-
length
private final int length
-
-
Constructor Details
-
AttributeTypeAnnotations
AttributeTypeAnnotations(ByteData raw, ConstantPool cp)
-
-
Method Details
-
dump
-
getRawByteLength
public long getRawByteLength() -
collectTypeUsages
- Specified by:
collectTypeUsages
in interfaceTypeUsageCollectable
- Overrides:
collectTypeUsages
in classAttribute
-
getAnnotationsFor
-