A common key class for a method against a specific target class, including
Comparablesupport (as suggested for custom
HashMapkeys as of Java 8).
- Juergen Hoeller
MethodClassKeyCreate a key object for the given method and target class.
method- the method to wrap (must not be
targetClass- the target class that the method will be invoked on (may be
nullif identical to the declaring class)