public abstract class BaseFieldReference extends BaseReference implements FieldReference
Reference.InvalidReferenceException| Constructor and Description |
|---|
BaseFieldReference() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(FieldReference o)
Compare this FieldReference to another FieldReference.
|
boolean |
equals(java.lang.Object o)
Compares this FieldReference to another FieldReference for equality.
|
int |
hashCode()
Returns a hashcode for this FieldReference.
|
java.lang.String |
toString() |
validateReferenceclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDefiningClass, getName, getTypevalidateReferencepublic int hashCode()
FieldReference
int hashCode = getDefiningClass().hashCode();
hashCode = hashCode*31 + getName().hashCode();
hashCode = hashCode*31 + getType().hashCode();
hashCode in interface FieldReferencehashCode in class java.lang.Objectpublic boolean equals(@Nullable
java.lang.Object o)
FieldReferenceequals in interface FieldReferenceequals in class java.lang.Objecto - The object to be compared for equality with this FieldReferencepublic int compareTo(@Nonnull
FieldReference o)
FieldReferencecompareTo in interface java.lang.Comparable<FieldReference>compareTo in interface FieldReferenceo - The FieldReference to compare with this FieldReferencepublic java.lang.String toString()
toString in class java.lang.Object