Package com.github.beothorn.agent.advice
Class AdviceInterceptConstructorMethod
java.lang.Object
com.github.beothorn.agent.advice.AdviceInterceptConstructorMethod
This advice is supposed to be injected on constructor.
It will call the interceptor method passing the constructor call.
This advice is injected at the end of the method so the return can be also passed along.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidexit(Object self, Executable methodCalled, Object[] allArguments) static voidinvoke(Executable methodCalled, Object self, Object[] allArguments)
-
Field Details
-
classFullName
-
method
-
methodToCall
-
isRecording
public static boolean isRecording
-
-
Constructor Details
-
AdviceInterceptConstructorMethod
public AdviceInterceptConstructorMethod()
-
-
Method Details
-
exit
@OnMethodExit public static void exit(@This Object self, @Origin Executable methodCalled, @AllArguments Object[] allArguments) -
invoke
public static void invoke(Executable methodCalled, Object self, Object[] allArguments) throws IllegalAccessException, InvocationTargetException
-