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>>annotationTableEntryListListprivate intlengthprivate static longOFFSET_OF_ANNOTATION_NAME_TABLEprivate static longOFFSET_OF_ATTRIBUTE_LENGTHprivate static longOFFSET_OF_NUMBER_OF_PARAMETERSprivate static longOFFSET_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 voidcollectTypeUsages(TypeUsageCollector collector)Dumperdump(Dumper d)java.util.List<AnnotationTableEntry>getAnnotationsForParamIdx(int idx)longgetRawByteLength()-
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:
getRawByteLengthin interfaceKnowsRawSize
-
collectTypeUsages
public void collectTypeUsages(TypeUsageCollector collector)
- Specified by:
collectTypeUsagesin interfaceTypeUsageCollectable- Overrides:
collectTypeUsagesin classAttribute
-
-