Class AttributeAnnotationDefault
- java.lang.Object
-
- org.benf.cfr.reader.entities.attributes.Attribute
-
- org.benf.cfr.reader.entities.attributes.AttributeAnnotationDefault
-
- All Implemented Interfaces:
KnowsRawName
,KnowsRawSize
,Dumpable
,TypeUsageCollectable
public class AttributeAnnotationDefault extends Attribute
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTRIBUTE_NAME
private ElementValue
elementValue
private int
length
private static long
OFFSET_OF_ATTRIBUTE_LENGTH
private static long
OFFSET_OF_REMAINDER
-
Constructor Summary
Constructors Constructor Description AttributeAnnotationDefault(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)
ElementValue
getElementValue()
long
getRawByteLength()
java.lang.String
getRawName()
java.lang.String
toString()
-
-
-
Field Detail
-
ATTRIBUTE_NAME
public static final java.lang.String ATTRIBUTE_NAME
- See Also:
- Constant Field Values
-
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
-
length
private final int length
-
elementValue
private final ElementValue elementValue
-
-
Constructor Detail
-
AttributeAnnotationDefault
public AttributeAnnotationDefault(ByteData raw, ConstantPool cp)
-
-
Method Detail
-
getRawName
public java.lang.String getRawName()
-
getRawByteLength
public long getRawByteLength()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getElementValue
public ElementValue getElementValue()
-
collectTypeUsages
public void collectTypeUsages(TypeUsageCollector collector)
- Specified by:
collectTypeUsages
in interfaceTypeUsageCollectable
- Overrides:
collectTypeUsages
in classAttribute
-
-