public interface MethodProtoReference extends Reference, java.lang.Comparable<MethodProtoReference>
Reference.InvalidReferenceException| 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.
|
java.util.List<? extends java.lang.CharSequence> |
getParameterTypes()
Gets a list of the types of the parameters of this method prototype.
|
java.lang.String |
getReturnType()
Gets the return type of the referenced method prototype.
|
int |
hashCode()
Returns a hashcode for this MethodProtoReference.
|
validateReference@Nonnull java.util.List<? extends java.lang.CharSequence> getParameterTypes()
@Nonnull java.lang.String getReturnType()
int hashCode()
int hashCode = getReturnType().hashCode();
hashCode = hashCode*31 + CharSequenceUtils.listHashCode(getParameters());
hashCode in class java.lang.Objectboolean equals(@Nullable
java.lang.Object o)
equals in class java.lang.Objecto - The object to be compared for equality with this MethodProtoReferenceint compareTo(@Nonnull
MethodProtoReference o)
compareTo in interface java.lang.Comparable<MethodProtoReference>o - The MethodReference to compare with this MethodProtoReference