### Question:
DefaultJavaCompileOptions implements JavaCompileOptions, Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } DefaultJavaCompileOptions that = (DefaultJavaCompileOptions) o; return Objects.equals(sourceCompatibility, that.sourceCompatibility) && Objects.equals(targetCompatibility, that.targetCompatibility) && Objects.equals(encoding, that.encoding); } DefaultJavaCompileOptions(@NonNull CompileOptions options); @NonNull @Override String getSourceCompatibility(); @NonNull @Override String getTargetCompatibility(); @NonNull @Override String getEncoding(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void equals() throws Exception { EqualsVerifier.forClass(DefaultJavaCompileOptions.class).verify(); }