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 Summary

    Modifier and Type
    Method
    Description
    List<?>
     
     
     
  • Method Details

    • proxy

      T proxy()
      Returns:
      the proxy instance
    • delegate

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

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