Interface ProxyAccessor.ProxyProperty

All Superinterfaces:
ProxyAccessor, ProxyAccessor.ProxyMutator
Enclosing interface:
ProxyAccessor

public static interface ProxyAccessor.ProxyProperty extends ProxyAccessor, ProxyAccessor.ProxyMutator
Provides a proxy property.
  • Method Details

    • letProxy

      default <P> P letProxy(P aProxy)
      This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as of ProxyAccessor.ProxyMutator.setProxy(Object) and returns the very same value (getter).
      Type Parameters:
      P - The expected type of the proxy.
      Parameters:
      aProxy - The value to set (via ProxyAccessor.ProxyMutator.setProxy(Object)).
      Returns:
      Returns the value passed for it to be used in conclusive processing steps.