private static class MethodUtils.MethodDescriptor
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Class<?> |
cls |
private boolean |
exact |
private int |
hashCode |
private java.lang.String |
methodName |
private java.lang.Class<?>[] |
paramTypes |
| Constructor and Description |
|---|
MethodUtils.MethodDescriptor(java.lang.Class<?> cls,
java.lang.String methodName,
java.lang.Class<?>[] paramTypes,
boolean exact)
The sole constructor.
|
private final java.lang.Class<?> cls
private final java.lang.String methodName
private final java.lang.Class<?>[] paramTypes
private final boolean exact
private final int hashCode
public MethodUtils.MethodDescriptor(java.lang.Class<?> cls,
java.lang.String methodName,
java.lang.Class<?>[] paramTypes,
boolean exact)
cls - the class to reflect, must not be nullmethodName - the method name to obtainparamTypes - the array of classes representing the parameter typesexact - whether the match has to be exact.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - object to be tested for equalitypublic int hashCode()
hashCode in class java.lang.ObjectCopyright (c) 2000-2008 - Apache Software Foundation