public final class LazyClassLoaderHelper extends Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
deproxy(Object maybeProxy,
Class<T> baseClass)
Dereference the proxy objects on demand.
|
public static <T> T deproxy(Object maybeProxy, Class<T> baseClass) throws ClassCastException
T
- Same Object class as given by baseClassmaybeProxy
- Object, which needs to be dereferenced.baseClass
- Class type the maybeProxy should be an instance ofClassCastException
- If the maybeProxy is not null, but the baseClass not assignable to it.Copyright © 2019 Communote team. All rights reserved.