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