Class AttributeParameterAnnotations
- java.lang.Object
-
- org.benf.cfr.reader.entities.attributes.Attribute
-
- org.benf.cfr.reader.entities.attributes.AttributeParameterAnnotations
-
- All Implemented Interfaces:
KnowsRawName
,KnowsRawSize
,Dumpable
,TypeUsageCollectable
- Direct Known Subclasses:
AttributeRuntimeInvisibleParameterAnnotations
,AttributeRuntimeVisibleParameterAnnotations
public abstract class AttributeParameterAnnotations extends Attribute implements TypeUsageCollectable
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.util.List<AnnotationTableEntry>>
annotationTableEntryListList
private int
length
private static long
OFFSET_OF_ANNOTATION_NAME_TABLE
private static long
OFFSET_OF_ATTRIBUTE_LENGTH
private static long
OFFSET_OF_NUMBER_OF_PARAMETERS
private static long
OFFSET_OF_REMAINDER
-
Constructor Summary
Constructors Constructor Description AttributeParameterAnnotations(ByteData raw, ConstantPool cp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collectTypeUsages(TypeUsageCollector collector)
Dumper
dump(Dumper d)
java.util.List<AnnotationTableEntry>
getAnnotationsForParamIdx(int idx)
long
getRawByteLength()
-
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 Detail
-
OFFSET_OF_ATTRIBUTE_LENGTH
private static final long OFFSET_OF_ATTRIBUTE_LENGTH
- See Also:
- Constant Field Values
-
OFFSET_OF_REMAINDER
private static final long OFFSET_OF_REMAINDER
- See Also:
- Constant Field Values
-
OFFSET_OF_NUMBER_OF_PARAMETERS
private static final long OFFSET_OF_NUMBER_OF_PARAMETERS
- See Also:
- Constant Field Values
-
OFFSET_OF_ANNOTATION_NAME_TABLE
private static final long OFFSET_OF_ANNOTATION_NAME_TABLE
- See Also:
- Constant Field Values
-
annotationTableEntryListList
private final java.util.List<java.util.List<AnnotationTableEntry>> annotationTableEntryListList
-
length
private final int length
-
-
Constructor Detail
-
AttributeParameterAnnotations
public AttributeParameterAnnotations(ByteData raw, ConstantPool cp)
-
-
Method Detail
-
getAnnotationsForParamIdx
public java.util.List<AnnotationTableEntry> getAnnotationsForParamIdx(int idx)
-
getRawByteLength
public long getRawByteLength()
- Specified by:
getRawByteLength
in interfaceKnowsRawSize
-
collectTypeUsages
public void collectTypeUsages(TypeUsageCollector collector)
- Specified by:
collectTypeUsages
in interfaceTypeUsageCollectable
- Overrides:
collectTypeUsages
in classAttribute
-
-