Package io.jmix.reports.yarg.structure
Interface ProxyWrapper
public interface ProxyWrapper
This interface used for proxy wrapping
ex: io.jmix.reports.yarg.reporting.extraction.preprocessor.SqlCrosstabPreprocessor#preprocess
-
Method Summary
-
Method Details
-
unwrap
Object unwrap()Internal. Useunwrap(Object)
to unwrap proxied instance -
unwrap
static <T> T unwrap(T obj) Method checks instance inheritance of ProxyWrapper and unwrapping their real instance- Parameters:
obj
- - instance of any object- Returns:
- unwrapped instance (if proxied) or same object
-