javassist.util.proxy
public class RuntimeSupport extends Object
See Also: ProxyFactory
Field Summary | |
---|---|
static MethodHandler | default_interceptor
A method handler that only executes a method. |
Method Summary | |
---|---|
static Method | findMethod(Object self, String name, String desc)
Finds a method with the given name and descriptor.
|
static Method | findSuperMethod(Object self, String name, String desc)
Finds a method that has the given name and descriptor and is declared
in the super class.
|
static String | makeDescriptor(Method m)
Makes a descriptor for a given method. |
static String | makeDescriptor(Class[] params, Class retType)
Makes a descriptor for a given method.
|
static SerializedProxy | makeSerializedProxy(Object proxy)
Converts a proxy object to an object that is writable to an
object stream. |
Throws: RuntimeException if the method is not found.
Throws: RuntimeException if the method is not found.
Parameters: params parameter types. retType return type.
writeReplace()
in a proxy class.
Since: 3.4