@Override public int compareTo(Signature other) { if (other == this || other == null) return 0; return this.getContextNode().compareTo(other.getContextNode()); }
@Override public boolean equals(Object object) { if (object == null || !(object instanceof Signature)) return false; if (object == this) return true; Signature other = (Signature) object; return this.getContextNode().equals(other.getContextNode()); }