MethodExpression evaluated to.
Two MethodInfo instances are considered to be equal if they reference methods
with the same name, return types and parameter types.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private Class | |
| private Class |
| Access | Constructor and Description |
|---|---|
| public | MethodInfo(String
The name of the method name, Class<?> The return type of the method returnType, Class<?>[] The types of each of the method's parameters paramTypes)Creates a new instance of |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public String | |
| public Class | |
| public Class | |
| public int |
| name | back to summary |
|---|---|
| private String name | |
| paramTypes | back to summary |
|---|---|
| private Class<?>[] paramTypes | |
| returnType | back to summary |
|---|---|
| private Class<?> returnType | |
| MethodInfo | back to summary |
|---|---|
| public MethodInfo(String name, Class<?> returnType, Class<?>[] paramTypes) Creates a new instance of | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getName | back to summary |
|---|---|
| public String getName() Returns the name of the method
| |
| getParamTypes | back to summary |
|---|---|
| public Class Returns the parameter types of the method
| |
| getReturnType | back to summary |
|---|---|
| public Class Returns the return type of the method
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |