leodbc.javaagent.transformations
Class ArgCheckTransformer
java.lang.Object
leodbc.javaagent.transformations.MethodTransformer
leodbc.javaagent.transformations.ArgCheckTransformer
- All Implemented Interfaces:
- ClassTransformer
public class ArgCheckTransformer
- extends MethodTransformer
Method Summary |
java.lang.String |
handleBehaviour(javassist.CtBehavior method)
Gestisce un metodo ed un costruttore |
void |
handleConstructor(javassist.CtConstructor method)
Gestione di un costruttore. |
void |
handleMethod(javassist.CtMethod method)
Gestione di un metodo |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArgCheckTransformer
public ArgCheckTransformer()
handleConstructor
public void handleConstructor(javassist.CtConstructor method)
throws java.lang.ClassNotFoundException,
javassist.CannotCompileException,
javassist.NotFoundException
- Description copied from class:
MethodTransformer
- Gestione di un costruttore.
Viene chiamato ad ogni costruttore della classe
- Specified by:
handleConstructor
in class MethodTransformer
- Parameters:
method
- Metodo da gestire
- Throws:
java.lang.ClassNotFoundException
javassist.CannotCompileException
javassist.NotFoundException
handleBehaviour
public java.lang.String handleBehaviour(javassist.CtBehavior method)
throws java.lang.ClassNotFoundException,
javassist.CannotCompileException,
javassist.NotFoundException
- Gestisce un metodo ed un costruttore
- Parameters:
method
-
- Returns:
- Il codice da generare
- Throws:
java.lang.ClassNotFoundException
javassist.CannotCompileException
javassist.NotFoundException
handleMethod
public void handleMethod(javassist.CtMethod method)
throws java.lang.ClassNotFoundException,
javassist.CannotCompileException,
javassist.NotFoundException
- Gestione di un metodo
- Specified by:
handleMethod
in class MethodTransformer
- Parameters:
method
- Metodo da gestire
- Throws:
java.lang.ClassNotFoundException
javassist.CannotCompileException
javassist.NotFoundException