public class ProxyUtil extends Object
NopConstructorCBP.
All proxy classes are created as sub-classes. Therefore cast operations are not violated.
| Constructor and Description |
|---|
ProxyUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
_createProxyClass(Class<?> klass)
Creates a proxy class from the given class.
|
static Object |
createProxy(Class<?> klass,
org.zeroturnaround.bundled.javassist.util.proxy.MethodHandler handler)
Create a proxy instance of the given class.
|
Copyright © 2019. All rights reserved.