Class AdviceInterceptStaticMethod


  • public class AdviceInterceptStaticMethod
    extends java.lang.Object
    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.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void exit​(java.lang.reflect.Executable methodCalled, java.lang.Object[] allArguments, java.lang.Object returnValueFromMethod)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AdviceInterceptStaticMethod

        public AdviceInterceptStaticMethod()
    • Method Detail

      • exit

        @OnMethodExit(onThrowable=java.lang.Throwable.class)
        public static void exit​(@Origin
                                java.lang.reflect.Executable methodCalled,
                                @AllArguments
                                java.lang.Object[] allArguments,
                                @Return(typing=DYNAMIC)
                                java.lang.Object returnValueFromMethod)