Interface ProxyBuilder.ProxyMethod.Parameters<T>

  • Type Parameters:
    T - the proxy type
    Enclosing interface:
    ProxyBuilder.ProxyMethod<T>

    public static interface ProxyBuilder.ProxyMethod.Parameters<T>
    Parameters available to the invocation handler when calling a proxy method.
    • Method Detail

      • proxy

        T proxy()
        Returns:
        the proxy instance
      • delegate

        T delegate()
        Returns:
        the delegate instance
        Throws:
        IllegalStateException - in case no delagate is available
      • arguments

        List<Object> arguments()
        Returns:
        the method arguments or an empty list in case of no arguments