- getDeclaringClass
- getMethodInfo
Returns the MethodInfo representing this method/constructor in the class file.If
you modify the byte
- getParameterTypes
Obtains parameter types of this method/constructor.
- getName
- getModifiers
Obtains the modifiers of the method/constructor.
- insertBefore
- insertAfter
Inserts bytecode at the end of the body. The bytecode is inserted just before
every return insturcti
- getLongName
Returns the method or constructor name followed by parameter types such as
javassist.CtBehavior.stB
- instrument
Modifies the method/constructor body.While executing this method, only replace() in Expr is availabl
- getMethodInfo2
Returns the MethodInfo representing the method/constructor in the class file
(read only). Normal app
- setBody
Sets a method/constructor body.
- addCatch
Adds a catch clause that handles an exception thrown in the body. The catch
clause must end with a r