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 Map<TypeAnnotationEntryValue, List<AnnotationTableTypeEntry>> private final intprivate static final longprivate static final longprivate static final longprivate static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectTypeUsages(TypeUsageCollector collector) getAnnotationsFor(TypeAnnotationEntryValue... types) longMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
collectTypeUsagesin interfaceTypeUsageCollectable- Overrides:
collectTypeUsagesin classAttribute
-
getAnnotationsFor
-