@Override public int hashCode() { int result = args != null ? args.hashCode() : 0; result = 31 * result + typeParams.hashCode(); result = 31 * result + getFields().hashCode(); result = 31 * result + getMethods().hashCode(); result = 31 * result + getInitializers().hashCode(); result = 31 * result + innerClasses.hashCode(); return result; } }
@Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof AnonymousValue)) return false; AnonymousValue that = (AnonymousValue) o; if (args != null ? !args.equals(that.getValue()) : that.getValue() != null) return false; if (!typeParams.equals(that.getTypeParameters())) return false; if (!getFields().equals(that.getFields())) return false; if (!getMethods().equals(that.getMethods())) return false; if (!getInitializers().equals(that.getInitializers())) return false; return innerClasses.equals(that.getClasses()); }
@Override public int hashCode() { int result = args != null ? args.hashCode() : 0; result = 31 * result + typeParams.hashCode(); result = 31 * result + getFields().hashCode(); result = 31 * result + getMethods().hashCode(); result = 31 * result + getInitializers().hashCode(); result = 31 * result + innerClasses.hashCode(); return result; } }
@Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof AnonymousValue)) return false; AnonymousValue that = (AnonymousValue) o; if (args != null ? !args.equals(that.getValue()) : that.getValue() != null) return false; if (!typeParams.equals(that.getTypeParameters())) return false; if (!getFields().equals(that.getFields())) return false; if (!getMethods().equals(that.getMethods())) return false; if (!getInitializers().equals(that.getInitializers())) return false; return innerClasses.equals(that.getClasses()); }