aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/ValueWithJavaBeansSpecCapitalization.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-10-18 15:44:45 +0200
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-10-18 20:24:37 +0200
commitdbc67c5c2d0388692f9c9dec02b294da14fd5b56 (patch)
treeb3e95fc757976fb3c9188c6c046191eaaea7496e /test/transform/resource/after-ecj/ValueWithJavaBeansSpecCapitalization.java
parent1ae87bad9583620ca79c1f3ede31703cbb95cbc5 (diff)
downloadlombok-dbc67c5c2d0388692f9c9dec02b294da14fd5b56.tar.gz
lombok-dbc67c5c2d0388692f9c9dec02b294da14fd5b56.tar.bz2
lombok-dbc67c5c2d0388692f9c9dec02b294da14fd5b56.zip
[#2693] Review and updates for javabeans-style capitalization lombok.config
Diffstat (limited to 'test/transform/resource/after-ecj/ValueWithJavaBeansSpecCapitalization.java')
-rw-r--r--test/transform/resource/after-ecj/ValueWithJavaBeansSpecCapitalization.java31
1 files changed, 1 insertions, 30 deletions
diff --git a/test/transform/resource/after-ecj/ValueWithJavaBeansSpecCapitalization.java b/test/transform/resource/after-ecj/ValueWithJavaBeansSpecCapitalization.java
index f41fcf58..8117dbb0 100644
--- a/test/transform/resource/after-ecj/ValueWithJavaBeansSpecCapitalization.java
+++ b/test/transform/resource/after-ecj/ValueWithJavaBeansSpecCapitalization.java
@@ -1,4 +1,4 @@
-final @lombok.Value @lombok.experimental.Accessors(javaBeansSpecCapitalization = true) class ValueWithJavaBeansSpecCapitalization {
+final @lombok.Value class ValueWithJavaBeansSpecCapitalization {
private final int aField;
public @java.lang.SuppressWarnings("all") int getaField() {
return this.aField;
@@ -27,32 +27,3 @@ final @lombok.Value @lombok.experimental.Accessors(javaBeansSpecCapitalization =
this.aField = aField;
}
}
-final @lombok.Value class ValueWithoutJavaBeansSpecCapitalization {
- private final int aField;
- public @java.lang.SuppressWarnings("all") int getAField() {
- return this.aField;
- }
- public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final java.lang.Object o) {
- if ((o == this))
- return true;
- if ((! (o instanceof ValueWithoutJavaBeansSpecCapitalization)))
- return false;
- final ValueWithoutJavaBeansSpecCapitalization other = (ValueWithoutJavaBeansSpecCapitalization) o;
- if ((this.getAField() != other.getAField()))
- return false;
- return true;
- }
- public @java.lang.Override @java.lang.SuppressWarnings("all") int hashCode() {
- final int PRIME = 59;
- int result = 1;
- result = ((result * PRIME) + this.getAField());
- return result;
- }
- public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
- return (("ValueWithoutJavaBeansSpecCapitalization(aField=" + this.getAField()) + ")");
- }
- public @java.lang.SuppressWarnings("all") ValueWithoutJavaBeansSpecCapitalization(final int aField) {
- super();
- this.aField = aField;
- }
-}