T
- the type of the wrapped instance.public static interface MatsFactory.MatsWrapper<T>
Modifier and Type | Method and Description |
---|---|
void |
setWrappee(T target) |
T |
unwrap() |
default T |
unwrapFully() |
default <I> I |
unwrapTo(java.lang.Class<I> iface) |
void setWrappee(T target)
T unwrap()
default <I> I unwrapTo(java.lang.Class<I> iface)
default T unwrapFully()
unwrap()
is itself a
MatsWrapper
, it will recurse down by invoking this method
(unwrapFully()
) again on the returned target.