toolbus.adapter.java
Class JavaToolBridge.CallableMethodSignature
java.lang.Object
toolbus.adapter.java.JavaToolBridge.CallableMethodSignature
- Enclosing class:
- JavaToolBridge
protected static class JavaToolBridge.CallableMethodSignature
- extends java.lang.Object
This class represents a signature of a method (Name + return type + params).
- Author:
- Arnold Lankamp
Method Summary |
boolean |
equals(java.lang.Object o)
Custom equals method. |
int |
hashCode()
Custom hashcode function. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
methodName
public java.lang.String methodName
returnType
public java.lang.Class<?> returnType
parameters
public java.lang.Class<?>[] parameters
JavaToolBridge.CallableMethodSignature
protected JavaToolBridge.CallableMethodSignature()
hashCode
public int hashCode()
- Custom hashcode function. This is needed because we use this object as a key in a
HashMap.
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Custom equals method. Matches when the object we are comparing ourselfs to can be called
by this method signature.
For example: void method(String o) equals void method(Object o), but method(Object o)
does not equal method(String o).
- Overrides:
equals
in class java.lang.Object
- See Also:
Object.equals(java.lang.Object)