de.twenty11.unitprofile.callback
Class ProfilerCallback
java.lang.Object
de.twenty11.unitprofile.callback.ProfilerCallback
public class ProfilerCallback
- extends Object
the class called from the instrumented methods.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProfilerCallback
public ProfilerCallback()
start
public static MethodInvocation start(String objectName,
String methodName,
int lineNumber)
- the first invocation for this profiling session.
- Parameters:
objectName - methodName -
- Returns:
stop
public static void stop(String objectName,
String methodName)
before
public static void before(String objectName,
String methodName,
int lineNumber)
after
public static void after(String objectName,
String methodName)
profiling
public static boolean profiling()
getInvocations
public static List<MethodInvocation> getInvocations()
Copyright © 2013. All rights reserved.