[유치수] [NOBTS] modify arcus modifier.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@578 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Chisu Yu
2012-09-05 05:08:45 +00:00
parent 94e6a2f2ed
commit f8920d3834
5 changed files with 232 additions and 127 deletions
@@ -4,9 +4,13 @@ import com.profiler.interceptor.Interceptor;
public interface InstrumentClass {
boolean insertCodeBeforeMethod(String methodName, String[] args, String code);
boolean insertCodeAfterMethod(String methodName, String[] args, String code);
boolean addInterceptor(String methodName, String[] args, Interceptor interceptor);
boolean addInterceptor(String methodName, String[] args, Interceptor interceptor, Type type);
boolean addInterceptor(String methodName, String[] args, Interceptor interceptor, Type type);
boolean addDebugLogBeforeAfterMethod();
@@ -16,5 +20,9 @@ public interface InstrumentClass {
Class<?> toClass();
boolean addTraceVariable(String variableName, String setterName, String getterName, String variableType);
boolean addTraceVariable(String variableName, String setterName, String getterName, String variableType);
boolean insertCodeAfterConstructor(String[] args, String code);
boolean insertCodeBeforeConstructor(String[] args, String code);
}