@Beta
public static class EqualsHashCodeProcessor.Util
extends java.lang.Object
Constructor and Description |
---|
EqualsHashCodeProcessor.Util(TransformationContext context) |
Modifier and Type | Method and Description |
---|---|
void |
addEquals(MutableClassDeclaration cls,
java.lang.Iterable<? extends FieldDeclaration> includedFields,
boolean includeSuper) |
void |
addHashCode(MutableClassDeclaration cls,
java.lang.Iterable<? extends FieldDeclaration> includedFields,
boolean includeSuper) |
StringConcatenationClient |
contributeToEquals(FieldDeclaration it) |
StringConcatenationClient |
contributeToHashCode(FieldDeclaration it) |
StringConcatenationClient |
deepEquals(FieldDeclaration it) |
StringConcatenationClient |
deepHashCode(FieldDeclaration it) |
boolean |
hasEquals(ClassDeclaration it) |
boolean |
hasHashCode(ClassDeclaration it) |
boolean |
hasSuperEquals(ClassDeclaration cls) |
public EqualsHashCodeProcessor.Util(TransformationContext context)
public boolean hasHashCode(ClassDeclaration it)
public boolean hasEquals(ClassDeclaration it)
public boolean hasSuperEquals(ClassDeclaration cls)
public void addEquals(MutableClassDeclaration cls, java.lang.Iterable<? extends FieldDeclaration> includedFields, boolean includeSuper)
public StringConcatenationClient contributeToEquals(FieldDeclaration it)
public StringConcatenationClient deepEquals(FieldDeclaration it)
public void addHashCode(MutableClassDeclaration cls, java.lang.Iterable<? extends FieldDeclaration> includedFields, boolean includeSuper)
public StringConcatenationClient contributeToHashCode(FieldDeclaration it)
public StringConcatenationClient deepHashCode(FieldDeclaration it)