aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/GetterWithJavaBeansSpecCapitalization.java
diff options
context:
space:
mode:
authorysherwin <ysherwin@amazon.com>2021-10-17 21:17:13 +0300
committerysherwin <ysherwin@amazon.com>2021-10-17 21:17:13 +0300
commitd2e8370c24ece8f92d7ca417c25c0f7d60ea039a (patch)
tree2b54e8f8d987d5adbe5b326c2ecf43c0439c12ed /test/transform/resource/after-ecj/GetterWithJavaBeansSpecCapitalization.java
parent4d568ab3ad44eb9e4216a16b111c54d3f101c3bc (diff)
downloadlombok-d2e8370c24ece8f92d7ca417c25c0f7d60ea039a.tar.gz
lombok-d2e8370c24ece8f92d7ca417c25c0f7d60ea039a.tar.bz2
lombok-d2e8370c24ece8f92d7ca417c25c0f7d60ea039a.zip
Adding a new accessors flag - javaBeansSpecCapitalization
Diffstat (limited to 'test/transform/resource/after-ecj/GetterWithJavaBeansSpecCapitalization.java')
-rw-r--r--test/transform/resource/after-ecj/GetterWithJavaBeansSpecCapitalization.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/GetterWithJavaBeansSpecCapitalization.java b/test/transform/resource/after-ecj/GetterWithJavaBeansSpecCapitalization.java
new file mode 100644
index 00000000..d605b4ac
--- /dev/null
+++ b/test/transform/resource/after-ecj/GetterWithJavaBeansSpecCapitalization.java
@@ -0,0 +1,33 @@
+class GetterWithoutJavaBeansSpecCapitalization {
+ @lombok.Getter int a;
+ @lombok.Getter int aField;
+
+ GetterWithoutJavaBeansSpecCapitalization() {
+ super();
+ }
+
+ public @java.lang.SuppressWarnings("all") int getA() {
+ return this.a;
+ }
+
+ public @java.lang.SuppressWarnings("all") int getAField() {
+ return this.aField;
+ }
+}
+
+@lombok.experimental.Accessors(javaBeansSpecCapitalization = true) class GetterWithJavaBeansSpecCapitalization {
+ @lombok.Getter int a;
+ @lombok.Getter int aField;
+
+ GetterWithJavaBeansSpecCapitalization() {
+ super();
+ }
+
+ public @java.lang.SuppressWarnings("all") int getA() {
+ return this.a;
+ }
+
+ public @java.lang.SuppressWarnings("all") int getaField() {
+ return this.aField;
+ }
+}