|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.binding.method.MethodKey
public class MethodKey
A helper for resolving and caching a Java method by reflection.
| Constructor Summary | |
|---|---|
MethodKey(Class declaredType,
String methodName,
Class[] parameterTypes)
Create a new method key. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Class |
getDeclaredType()
Return the class the method is a member of. |
Method |
getMethod()
Returns the keyed method, resolving it if necessary via reflection. |
String |
getMethodName()
Returns the method name. |
Class[] |
getParameterTypes()
Returns the method parameter types. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MethodKey(Class declaredType,
String methodName,
Class[] parameterTypes)
declaredType - the class the method is a member ofmethodName - the method nameparameterTypes - the method's parameter types, or null if the method has no parameters| Method Detail |
|---|
public Class getDeclaredType()
public String getMethodName()
public Class[] getParameterTypes()
public Method getMethod()
throws InvalidMethodKeyException
InvalidMethodKeyExceptionpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||