// Generated by delombok at Sat Jun 11 11:12:44 CEST 2016
public final class ValueWithPackagePrivate {
private final int privateInt;
protected final int protectedInt;
public final int publicInt;
private final int anInt;
final int annotatedInt;
private int nonFinalInt;
@PackagePrivate
public final int shouldBePublicInt;
public static void main(String[] args) {
final ValueWithPackagePrivate test = new ValueWithPackagePrivate(1, 2, 3, 4, 5, 6, 7);
System.out.println(test);
}
@java.beans.ConstructorProperties({"privateInt", "protectedInt", "publicInt", "anInt", "annotatedInt", "nonFinalInt", "shouldBePublicInt"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public ValueWithPackagePrivate(final int privateInt, final int protectedInt, final int publicInt, final int anInt, final int annotatedInt, final int nonFinalInt, final int shouldBePublicInt) {
this.privateInt = privateInt;
this.protectedInt = protectedInt;
this.publicInt = publicInt;
this.anInt = anInt;
this.annotatedInt = annotatedInt;
this.nonFinalInt = nonFinalInt;
this.shouldBePublicInt = shouldBePublicInt;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int getPrivateInt() {
return this.privateInt;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int getProtectedInt() {
return this.protectedInt;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int getPublicInt() {
return this.publicInt;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int getAnInt() {
return this.anInt;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int getAnnotatedInt() {
return this.annotatedInt;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int getNonFinalInt() {
return this.nonFinalInt;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int getShouldBePublicInt() {
return this.shouldBePublicInt;
}
@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 ValueWithPackagePrivate)) return false;
final ValueWithPackagePrivate other = (ValueWithPackagePrivate) o;
if (this.getPrivateInt() != other.getPrivateInt()) return false;
if (this.getProtectedInt() != other.getProtectedInt()) return false;
if (this.getPublicInt() != other.getPublicInt()) return false;
if (this.getAnInt() != other.getAnInt()) return false;
if (this.getAnnotatedInt() != other.getAnnotatedInt()) return false;
if (this.getNonFinalInt() != other.getNonFinalInt()) return false;
if (this.getShouldBePublicInt() != other.getShouldBePublicInt()) 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;
result = result * PRIME + this.getPrivateInt();
result = result * PRIME + this.getProtectedInt();
result = result * PRIME + this.getPublicInt();
result = result * PRIME + this.getAnInt();
result = result * PRIME + this.getAnnotatedInt();
result = result * PRIME + this.getNonFinalInt();
result = result * PRIME + this.getShouldBePublicInt();
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public java.lang.String toString() {
return "ValueWithPackagePrivate(privateInt=" + this.getPrivateInt() + ", protectedInt=" + this.getProtectedInt() + ", publicInt=" + this.getPublicInt() + ", anInt=" + this.getAnInt() + ", annotatedInt=" + this.getAnnotatedInt() + ", nonFinalInt=" + this.getNonFinalInt() + ", shouldBePublicInt=" + this.getShouldBePublicInt() + ")";
}
}