Package com.github.beothorn.agent.advice
Class AdviceInterceptStaticMethod
java.lang.Object
com.github.beothorn.agent.advice.AdviceInterceptStaticMethod
This advice is supposed to be injected on static methods.
It will call the interceptor method passing the method call.
This advice is injected at the end of the constructor so the new instance
is already created.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidexit(Executable methodCalled, Object[] allArguments, Object returnValueFromMethod)
-
Constructor Details
-
AdviceInterceptStaticMethod
public AdviceInterceptStaticMethod()
-
-
Method Details
-
exit
@OnMethodExit(onThrowable=java.lang.Throwable.class) public static void exit(@Origin Executable methodCalled, @AllArguments Object[] allArguments, @Return(typing=DYNAMIC) Object returnValueFromMethod)
-