public final class MethodProxy extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static MethodProxy |
of(Method method)
Construct a proxy for a method.
|
Method |
resolve()
Resolve this proxy into a
Method instance. |
String |
toString() |
public Method resolve() throws ClassNotFoundException, NoSuchMethodException
Method
instance.Method
represented by this proxy.ClassNotFoundException
- If the proxy's declaring type cannot be resolved.NoSuchMethodException
- If the method does not exist on the declaring type.public static MethodProxy of(Method method)
method
- The method to proxy.method
.Copyright © 2016 GroupLens Research. All rights reserved.