javassist.expr
public class Handler extends Expr
Method Summary | |
---|---|
String | getFileName()
Returns the source file containing the catch clause.
|
int | getLineNumber()
Returns the source line number of the catch clause.
|
CtClass | getType()
Returns the type handled by the catch clause. |
void | insertBefore(String src)
Inserts bytecode at the beginning of the catch clause.
|
CtClass[] | mayThrow()
Returns the list of exceptions that the catch clause may throw. |
void | replace(String statement)
This method has not been implemented yet.
|
CtBehavior | where()
Returns the method or constructor containing the catch clause. |
Returns: null if this information is not available.
Returns: -1 if this information is not available.
$1
.
Parameters: src the source code representing the inserted bytecode. It must be a single statement or block.
Parameters: statement a Java statement.