aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/WithWithJavaBeansSpecCapitalization.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-delombok/WithWithJavaBeansSpecCapitalization.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-delombok/WithWithJavaBeansSpecCapitalization.java')
-rw-r--r--test/transform/resource/after-delombok/WithWithJavaBeansSpecCapitalization.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/WithWithJavaBeansSpecCapitalization.java b/test/transform/resource/after-delombok/WithWithJavaBeansSpecCapitalization.java
new file mode 100644
index 00000000..e3737848
--- /dev/null
+++ b/test/transform/resource/after-delombok/WithWithJavaBeansSpecCapitalization.java
@@ -0,0 +1,12 @@
+class WithWithJavaBeansSpecCapitalization {
+ int aField;
+ WithWithJavaBeansSpecCapitalization(int aField) {
+ }
+ /**
+ * @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed).
+ */
+ @java.lang.SuppressWarnings("all")
+ public WithWithJavaBeansSpecCapitalization withaField(final int aField) {
+ return this.aField == aField ? this : new WithWithJavaBeansSpecCapitalization(aField);
+ }
+}