|
|||||||||
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 parametersMethod Detail |
---|
public Class getDeclaredType()
public String getMethodName()
public Class[] getParameterTypes()
public Method getMethod() throws InvalidMethodKeyException
InvalidMethodKeyException
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |