ImmutableSettings implements Settings { @Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final ImmutableSettings other = (ImmutableSettings) obj; return Objects.equal(builderName, other.builderName) && Objects.equal(fieldPrefix, other.fieldPrefix) && Objects.equal(fields, other.fields) && Objects.equal(immutableName, other.immutableName) && Objects.equal(imports, other.imports) && Objects.equal(interfaces, other.interfaces) && Objects.equal(mainInterface, other.mainInterface) && Objects.equal(packageDeclaration, other.packageDeclaration) && Objects.equal(builderCopyConstructor, other.builderCopyConstructor) && Objects.equal(builderFlatMutators, other.builderFlatMutators) && Objects.equal(builderFluentMutators, other.builderFluentMutators) && Objects.equal(builderImplementsInterface, other.builderImplementsInterface) && Objects.equal(copyMethods, other.copyMethods) && Objects.equal(guava, other.guava) && Objects.equal(hashCodeAndEquals, other.hashCodeAndEquals) && Objects.equal(hashCodePrecomputation, other.hashCodePrecomputation) && Objects.equal(jsr305Annotations, other.jsr305Annotations) && Objects.equal(qualityCheck, other.qualityCheck) && Objects.equal(toString, other.toString) && Objects.equal(replacement, other.replacement) && Objects.equal(serializable, other.serializable); } ImmutableSettings(@Nonnull final String builderName, @Nonnull final String fieldPrefix, @Nonnull final List<Field> fields,
			@Nonnull final String immutableName, @Nonnull final List<Import> imports, @Nonnull final List<Interface> interfaces,
			@Nonnull final Interface mainInterface, @Nonnull final Package packageDeclaration, final boolean builderCopyConstructor,
			final boolean builderFlatMutators, final boolean builderFluentMutators, final boolean builderImplementsInterface,
			final boolean copyMethods, final boolean guava, final boolean hashCodeAndEquals, final boolean hashCodePrecomputation,
			final boolean jsr305Annotations, final boolean qualityCheck, final boolean toString, final boolean replacement,
			final boolean serializable); @Nonnull static ImmutableSettings copyOf(@Nonnull final Settings settings); @Nonnull static ImmutableSettings copyOnlyIfNecessary(@Nonnull final Settings settings); @Override boolean equals(final Object obj); @Override @Nonnull String getBuilderName(); @Override @Nonnull String getFieldPrefix(); @Override @Nonnull List<Field> getFields(); @Override @Nonnull String getImmutableName(); @Override @Nonnull List<Import> getImports(); @Override @Nonnull List<Interface> getInterfaces(); @Override @Nonnull Interface getMainInterface(); @Override @Nonnull Package getPackageDeclaration(); @Override boolean hasBuilderCopyConstructor(); @Override boolean hasBuilderFlatMutators(); @Override boolean hasBuilderFluentMutators(); @Override boolean hasBuilderImplementsInterface(); @Override boolean hasCopyMethods(); @Override boolean hasGuava(); @Override boolean hasHashCodeAndEquals(); @Override boolean hasHashCodePrecomputation(); @Override int hashCode(); @Override boolean hasJsr305Annotations(); @Override boolean hasQualityCheck(); @Override boolean hasToString(); @Override boolean isReplacement(); @Override boolean isSerializable();  }
@Test public void equals_null() { final ImmutableSettings a = new Blueprint().build(); assertFalse(a.equals(null)); }
@Test public void equals_otherClass() { final ImmutableSettings a = new Blueprint().build(); assertFalse(a.equals("")); }