org.immutables.fixture.IncludeHashCode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of value-fixture Show documentation
Show all versions of value-fixture Show documentation
Module that contains all tests for the code generation capability
package org.immutables.fixture;
import org.immutables.value.Value;
@Value.Style(includeHashCode = "([[type]].class.hashCode() + 42)")
@Value.Immutable
@Value.Modifiable
public class IncludeHashCode {}
@Value.Style(includeHashCode = "super.hashCode()")
@Value.Immutable
interface JustCompileItSuperHashCode {
int a();
String b();
}