Interface ProxyAccessor.ProxyProperty

    • Method Detail

      • 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.