Package org.vesalainen.bcc
Class ExceptionsAttribute
- java.lang.Object
-
- org.vesalainen.bcc.AttributeInfo
-
- org.vesalainen.bcc.ExceptionsAttribute
-
- All Implemented Interfaces:
Writable
public class ExceptionsAttribute extends AttributeInfo
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.Integer>exceptionIndexes-
Fields inherited from class org.vesalainen.bcc.AttributeInfo
attribute_length, attribute_name_index, classFile
-
-
Constructor Summary
Constructors Constructor Description ExceptionsAttribute(ClassFile classFile, int attribute_name_index, int attribute_length, java.io.DataInput in)ExceptionsAttribute(SubClass classFile)ExceptionsAttribute(SubClass classFile, int attribute_name_index, int... exceptionIndexes)Deprecated.Use addThrowable
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddThrowable(javax.lang.model.element.TypeElement thr)voidwrite(java.io.DataOutput out)-
Methods inherited from class org.vesalainen.bcc.AttributeInfo
getAttributeSize, getInstance, isOfType
-
-
-
-
Constructor Detail
-
ExceptionsAttribute
ExceptionsAttribute(SubClass classFile)
- Parameters:
classFile-attribute_name_index-exceptionIndexes-
-
ExceptionsAttribute
ExceptionsAttribute(SubClass classFile, int attribute_name_index, int... exceptionIndexes)
Deprecated.Use addThrowable- Parameters:
classFile-attribute_name_index-exceptionIndexes-
-
ExceptionsAttribute
ExceptionsAttribute(ClassFile classFile, int attribute_name_index, int attribute_length, java.io.DataInput in) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
addThrowable
public void addThrowable(javax.lang.model.element.TypeElement thr)
-
write
public void write(java.io.DataOutput out) throws java.io.IOException- Specified by:
writein interfaceWritable- Overrides:
writein classAttributeInfo- Throws:
java.io.IOException
-
-