ProxyAccessor
, ProxyAccessor.ProxyMutator
public static interface ProxyAccessor.ProxyProperty extends ProxyAccessor, ProxyAccessor.ProxyMutator
ProxyAccessor.ProxyBuilder<B extends ProxyAccessor.ProxyBuilder<B>>, ProxyAccessor.ProxyMutator, ProxyAccessor.ProxyProperty
Modifier and Type | Method | Description |
---|---|---|
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). |
getProxy
setProxy
default <P> P letProxy(P aProxy)
ProxyAccessor.ProxyMutator.setProxy(Object)
and returns the very same value (getter).P
- The expected type of the proxy.aProxy
- The value to set (via ProxyAccessor.ProxyMutator.setProxy(Object)
).Copyright © 2021. All rights reserved.