public abstract class BaseMethodProtoReference extends BaseReference implements MethodProtoReference
Reference.InvalidReferenceException| Constructor and Description |
|---|
BaseMethodProtoReference() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(MethodProtoReference o)
Compare this MethodProtoReference to another MethodProtoReference.
|
boolean |
equals(java.lang.Object o)
Compares this MethodProtoReference to another MethodProtoReference for equality.
|
int |
hashCode()
Returns a hashcode for this MethodProtoReference.
|
java.lang.String |
toString() |
validateReferenceclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetParameterTypes, getReturnTypevalidateReferencepublic int hashCode()
MethodProtoReference
int hashCode = getReturnType().hashCode();
hashCode = hashCode*31 + CharSequenceUtils.listHashCode(getParameters());
hashCode in interface MethodProtoReferencehashCode in class java.lang.Objectpublic boolean equals(@Nullable
java.lang.Object o)
MethodProtoReferenceequals in interface MethodProtoReferenceequals in class java.lang.Objecto - The object to be compared for equality with this MethodProtoReferencepublic int compareTo(@Nonnull
MethodProtoReference o)
MethodProtoReferencecompareTo in interface java.lang.Comparable<MethodProtoReference>compareTo in interface MethodProtoReferenceo - The MethodReference to compare with this MethodProtoReferencepublic java.lang.String toString()
toString in class java.lang.Object