|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectclassUtils.javassist.expr.Expr
classUtils.javassist.expr.Handler
public class Handler
Catch clause.
| Field Summary |
|---|
| Method Summary | |
|---|---|
java.lang.String |
getFileName()
Returns the source file containing the catch clause. |
int |
getLineNumber()
Returns the source line number of the catch clause. |
CompileTimeClass |
getType()
Returns the type handled by the catch clause. |
void |
insertBefore(java.lang.String src)
Inserts bytecode affineTransform the beginning of the catch clause. |
CompileTimeClass[] |
mayThrow()
Returns the list of exceptions that the catch clause may throw. |
void |
replace(java.lang.String statement)
This method has not been implemented yet. |
CtBehavior |
where()
Returns the method or constructor containing the catch clause. |
| Methods inherited from class classUtils.javassist.expr.Expr |
|---|
indexOfBytecode |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public CtBehavior where()
where in class Exprpublic int getLineNumber()
getLineNumber in class Exprpublic java.lang.String getFileName()
getFileName in class Exprpublic CompileTimeClass[] mayThrow()
mayThrow in class Expr
public CompileTimeClass getType()
throws NotFoundException
NotFoundException
public void replace(java.lang.String statement)
throws CannotCompileException
statement - a Java statement.
CannotCompileException
public void insertBefore(java.lang.String src)
throws CannotCompileException
$1.
src - the source code representing the inserted bytecode.
It must be a single statement or block.
CannotCompileException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||