| 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(String statement,
       ExprEditor recursive)Replaces this expression with the bytecode derived from
 the given source text and  ExprEditor. | 
| protected void | Expr. runEditor(ExprEditor ed,
         CodeIterator oldIterator) | 
Copyright © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.