Class ProxyUtil
- java.lang.Object
-
- org.zeroturnaround.javarebel.integration.util.ProxyUtil
-
public class ProxyUtil extends Object
Helper methods for creating proxies from classes which are processed by theNopConstructorCBP.All proxy classes are created as sub-classes. Therefore cast operations are not violated.
- Author:
- Rein Raudjärv
-
-
Constructor Summary
Constructors Constructor Description ProxyUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Class<?>_createProxyClass(Class<?> klass)Creates a proxy class from the given class.static ObjectcreateProxy(Class<?> klass, org.zeroturnaround.bundled.javassist.util.proxy.MethodHandler handler)Create a proxy instance of the given class.
-