类 MethodClassKey
- java.lang.Object
- org.springframework.core.MethodClassKey
- 所有已实现的接口:
Comparable<MethodClassKey>
public final class MethodClassKey extends Object implements Comparable<MethodClassKey>
A common key class for a method against a specific target class, includingtoString()
representation andComparable
support (as suggested for customHashMap
keys as of Java 8).- 从以下版本开始:
- 4.3
- 作者:
- Juergen Hoeller
构造器概要
构造器 构造器 说明 MethodClassKey(Method method, Class<?> targetClass)
Create a key object for the given method and target class.
构造器详细资料
MethodClassKey
public MethodClassKey(Method method, Class<?> targetClass)
Create a key object for the given method and target class.- 参数:
method
- the method to wrap (must not benull
)targetClass
- the target class that the method will be invoked on (may benull
if identical to the declaring class)