diff --git a/TracerOnJavassist/src/tracer/ITraceGenerator.java b/TracerOnJavassist/src/tracer/ITraceGenerator.java index 870078d..364d98c 100644 --- a/TracerOnJavassist/src/tracer/ITraceGenerator.java +++ b/TracerOnJavassist/src/tracer/ITraceGenerator.java @@ -1,5 +1,7 @@ package tracer; +import java.util.List; + import javassist.CtBehavior; import javassist.CtClass; @@ -11,23 +13,25 @@ public interface ITraceGenerator { public abstract String generateReplaceStatementsForFieldSet( - String targetClass, String targetObject, - String argClass, String argObject, + String fieldName, String containerClass, String containerObject, + String valueClass, String valueObject, String threadId, String timeStamp); - public abstract String generateReplaceStatementsForFieldGet(String thisClass, String thisObject, - String targetClass, String targetObject, - String returnedClass, String returnedObject, + public abstract String generateReplaceStatementsForFieldGet( + String fieldName, String thisClass, String thisObject, + String containerClass, String containerObject, + String valueClass, String valueObject, String threadId, String timeStamp); public abstract String generateInsertBeforeStatements( CtBehavior m, String methodSignature, - String thisClass, String thisObject, CtClass[] parameterClasses, + String thisClass, String thisObject, + List argClasses, List argObjects, String threadId, String timeStamp); public abstract String generateInsertAfterStatements( CtClass cls, CtBehavior m, - String thisObject, + String thisClass, String thisObject, String returnedClass, String returnedObject, String threadId, String timeStamp, boolean isCallerSideInstrumentation);