Package | Description |
---|---|
javassist |
The Javassist Core API.
|
javassist.expr |
This package contains the classes for modifying a method body.
|
Modifier and Type | Method and Description |
---|---|
void |
CtClass.instrument(ExprEditor editor)
Modifies the bodies of all methods and constructors
declared in the class.
|
void |
CtBehavior.instrument(ExprEditor editor)
Modifies the method/constructor body.
|
Modifier and Type | Method and Description |
---|---|
void |
Expr.replace(java.lang.String statement,
ExprEditor recursive)
Replaces this expression with the bytecode derived from
the given source text and
ExprEditor . |
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.