Class MethodClassKey
java.lang.Object
org.springframework.core.MethodClassKey
- All Implemented Interfaces:
- Comparable<MethodClassKey>
A common key class for a method against a specific target class,
including 
toString() representation and Comparable
support (as suggested for custom HashMap keys as of Java 8).- Since:
- 4.3
- Author:
- Juergen Hoeller
- 
Constructor SummaryConstructorsConstructorDescriptionMethodClassKey(Method method, @Nullable Class<?> targetClass) Create a key object for the given method and target class.
- 
Method Summary
- 
Constructor Details- 
MethodClassKeyCreate a key object for the given method and target class.- Parameters:
- method- the method to wrap (must not be- null)
- targetClass- the target class that the method will be invoked on (may be- nullif identical to the declaring class)
 
 
- 
- 
Method Details- 
equals
- 
hashCode
- 
toString
- 
compareTo- Specified by:
- compareToin interface- Comparable<MethodClassKey>
 
 
-