public class ProxyCodeGenerator
extends java.lang.Object
| Constructor and Description |
|---|
ProxyCodeGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
formatMethodCall(java.lang.reflect.Method m,
java.lang.Object... args)
Format a method call, including arguments, for an exception message.
|
static java.lang.Class<?> |
getClassProxy(java.lang.Class<?> c)
Generate a proxy class.
|
static boolean |
isGenerated(java.lang.Class<?> c)
Check whether there is already a proxy class generated.
|
public static boolean isGenerated(java.lang.Class<?> c)
c - the classpublic static java.lang.Class<?> getClassProxy(java.lang.Class<?> c)
throws java.lang.ClassNotFoundException
c - the class to extendjava.lang.ClassNotFoundExceptionpublic static java.lang.String formatMethodCall(java.lang.reflect.Method m,
java.lang.Object... args)
m - the methodargs - the arguments