Class ByteBuddyProfilingThrowAdvice


  • public final class ByteBuddyProfilingThrowAdvice
    extends java.lang.Object
    Advice for use with Byte Buddy. This advice is not usable for c'tors as ByteBuddy currently doesn't support cathing exceptions in C'tors.
    • Method Summary

      Modifier and Type Method Description
      static void adviceEnter​(java.lang.String clazz, java.lang.String method, MethodProfiling mp)  
      static void adviceExitThrown​(MethodProfiling mp, java.lang.Throwable thrown)  
      • Methods inherited from class java.lang.Object

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

      • ByteBuddyProfilingThrowAdvice

        public ByteBuddyProfilingThrowAdvice()
    • Method Detail

      • adviceEnter

        @OnMethodEnter(inline=true)
        public static void adviceEnter​(@Origin("#t")
                                       java.lang.String clazz,
                                       @Origin("#m")
                                       java.lang.String method,
                                       @Local("$MP$")
                                       MethodProfiling mp)
      • adviceExitThrown

        @OnMethodExit(inline=true,
                      onThrowable=java.lang.Throwable.class)
        public static void adviceExitThrown​(@Local("$MP$")
                                            MethodProfiling mp,
                                            @Thrown
                                            java.lang.Throwable thrown)