|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectclassUtils.javassist.bytecode.AttributeInfo
classUtils.javassist.bytecode.ExceptionsAttribute
public class ExceptionsAttribute
Exceptions_attribute
.
Field Summary | |
---|---|
static java.lang.String |
tag
The name of this attribute "Exceptions" . |
Constructor Summary | |
---|---|
ExceptionsAttribute(ConstPool cp)
Constructs a new exceptions attribute. |
Method Summary | |
---|---|
AttributeInfo |
copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy. |
int |
getException(int nth)
Returns the value of exception_index_table[nth] . |
int[] |
getExceptionIndexes()
Returns exception_index_table[] . |
java.lang.String[] |
getExceptions()
Returns the names of exceptions that the method may throw. |
int |
length()
Returns number_of_exceptions . |
void |
setExceptionIndexes(int[] elist)
Sets exception_index_table[] . |
void |
setExceptions(java.lang.String[] elist)
Sets the names of exceptions that the method may throw. |
Methods inherited from class classUtils.javassist.bytecode.AttributeInfo |
---|
get, getConstPool, getName, set |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String tag
"Exceptions"
.
Constructor Detail |
---|
public ExceptionsAttribute(ConstPool cp)
cp
- constant pool table.Method Detail |
---|
public AttributeInfo copy(ConstPool newCp, java.util.Map classnames)
Map
object.
copy
in class AttributeInfo
newCp
- the constant pool table used by the new copy.classnames
- pairs of replaced and substituted
class names.public int[] getExceptionIndexes()
exception_index_table[]
.
public java.lang.String[] getExceptions()
public void setExceptionIndexes(int[] elist)
exception_index_table[]
.
public void setExceptions(java.lang.String[] elist)
public int length()
number_of_exceptions
.
length
in class AttributeInfo
public int getException(int nth)
exception_index_table[nth]
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |