@Override public int hashCode() { int hashCode = getVisibility(); hashCode = hashCode*31 + getType().hashCode(); return hashCode*31 + getElements().hashCode(); }
@Override public int hashCode() { int hashCode = getVisibility(); hashCode = hashCode*31 + getType().hashCode(); return hashCode*31 + getElements().hashCode(); }
@Override public int hashCode() { int hashCode = getVisibility(); hashCode = hashCode*31 + getType().hashCode(); return hashCode*31 + getElements().hashCode(); }
@Override public boolean equals(Object o) { if (o instanceof Annotation) { Annotation other = (Annotation)o; return (getVisibility() == other.getVisibility()) && getType().equals(other.getType()) && getElements().equals(other.getElements()); } return false; }
@Override public boolean equals(Object o) { if (o instanceof Annotation) { Annotation other = (Annotation)o; return (getVisibility() == other.getVisibility()) && getType().equals(other.getType()) && getElements().equals(other.getElements()); } return false; }
@Override public boolean equals(Object o) { if (o instanceof Annotation) { Annotation other = (Annotation)o; return (getVisibility() == other.getVisibility()) && getType().equals(other.getType()) && getElements().equals(other.getElements()); } return false; }
@Override public int compareTo(Annotation o) { int res = Ints.compare(getVisibility(), o.getVisibility()); if (res != 0) return res; res = getType().compareTo(o.getType()); if (res != 0) return res; return CollectionUtils.compareAsSet(getElements(), o.getElements()); }
@Override public int compareTo(Annotation o) { int res = Ints.compare(getVisibility(), o.getVisibility()); if (res != 0) return res; res = getType().compareTo(o.getType()); if (res != 0) return res; return CollectionUtils.compareAsSet(getElements(), o.getElements()); }
@Override public int compareTo(Annotation o) { int res = Ints.compare(getVisibility(), o.getVisibility()); if (res != 0) return res; res = getType().compareTo(o.getType()); if (res != 0) return res; return CollectionUtils.compareAsSet(getElements(), o.getElements()); }