// Generated by delombok at Sat Jun 11 11:12:44 CEST 2016
public final class Val {
private String nonFinal;
private final String otherFinal;
public void test() {
Val val = new Val("otherFinal");
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getNonFinal() {
return this.nonFinal;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getOtherFinal() {
return this.otherFinal;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof Val)) return false;
final Val other = (Val) o;
final java.lang.Object this$nonFinal = this.getNonFinal();
final java.lang.Object other$nonFinal = other.getNonFinal();
if (this$nonFinal == null ? other$nonFinal != null : !this$nonFinal.equals(other$nonFinal)) return false;
final java.lang.Object this$otherFinal = this.getOtherFinal();
final java.lang.Object other$otherFinal = other.getOtherFinal();
if (this$otherFinal == null ? other$otherFinal != null : !this$otherFinal.equals(other$otherFinal)) return false;
return true;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $nonFinal = this.getNonFinal();
result = result * PRIME + ($nonFinal == null ? 43 : $nonFinal.hashCode());
final java.lang.Object $otherFinal = this.getOtherFinal();
result = result * PRIME + ($otherFinal == null ? 43 : $otherFinal.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public java.lang.String toString() {
return "Val(nonFinal=" + this.getNonFinal() + ", otherFinal=" + this.getOtherFinal() + ")";
}
@java.beans.ConstructorProperties({"otherFinal"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public Val(final String otherFinal) {
this.otherFinal = otherFinal;
}
}