Class InvocationHolder

    • Method Detail

      • set

        public static void set​(Method method,
                               Object[] args)
        Stores the current method invocation context.
        Parameters:
        method - the invoked method
        args - the method arguments
      • get

        public static Invocation get()
        Gets the current method invocation.
        Returns:
        the invocation or null if none is set
      • clear

        public static void clear()
        Clears the invocation from the current thread.