java.lang.Object
tech.guilhermekaua.spigotboot.core.context.component.proxy.methodHandler.context.MethodHandlerContext

public class MethodHandlerContext extends Object
  • Constructor Details

  • Method Details

    • self

      public Object self()
    • thisMethod

      @Deprecated public Method thisMethod()
      Deprecated.
      This accessor does not continue the handler chain. Handlers should call invokeNext() to continue execution.
      Returns metadata about the intercepted method.
    • proceed

      @Deprecated public Method proceed()
      Deprecated.
      This accessor does not continue the handler chain. Handlers should call invokeNext() to continue execution.
      Returns metadata about the underlying invocation target method.
    • args

      public Object[] args()
    • invokeNext

      public Object invokeNext() throws Throwable
      Continue to the next matching handler in the chain. This is the continuation method handlers should call. If none remain, this invokes the underlying target method.
      Returns:
      the return object of the next handler
      Throws:
      Throwable