aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/GetterWithJavaBeansSpecCapitalization.java11
-rw-r--r--test/transform/resource/before/SetterWithJavaBeansSpecCapitalization.java11
-rw-r--r--test/transform/resource/before/ValueWithJavaBeansSpecCapitalization.java10
-rw-r--r--test/transform/resource/before/WithOnJavaBeansSpecCapitalization.java16
4 files changed, 48 insertions, 0 deletions
diff --git a/test/transform/resource/before/GetterWithJavaBeansSpecCapitalization.java b/test/transform/resource/before/GetterWithJavaBeansSpecCapitalization.java
new file mode 100644
index 00000000..3c27317c
--- /dev/null
+++ b/test/transform/resource/before/GetterWithJavaBeansSpecCapitalization.java
@@ -0,0 +1,11 @@
+class GetterWithoutJavaBeansSpecCapitalization {
+ @lombok.Getter int a;
+ @lombok.Getter int aField;
+}
+
+@lombok.experimental.Accessors(javaBeansSpecCapitalization=true)
+class GetterWithJavaBeansSpecCapitalization {
+ @lombok.Getter int a;
+ @lombok.Getter int aField;
+}
+
diff --git a/test/transform/resource/before/SetterWithJavaBeansSpecCapitalization.java b/test/transform/resource/before/SetterWithJavaBeansSpecCapitalization.java
new file mode 100644
index 00000000..80a1b4ee
--- /dev/null
+++ b/test/transform/resource/before/SetterWithJavaBeansSpecCapitalization.java
@@ -0,0 +1,11 @@
+class SetterWithoutJavaBeansSpecCapitalization {
+ @lombok.Setter int a;
+ @lombok.Setter int aField;
+}
+
+@lombok.experimental.Accessors(javaBeansSpecCapitalization=true)
+class SetterWithJavaBeansSpecCapitalization {
+ @lombok.Setter int a;
+ @lombok.Setter int aField;
+}
+
diff --git a/test/transform/resource/before/ValueWithJavaBeansSpecCapitalization.java b/test/transform/resource/before/ValueWithJavaBeansSpecCapitalization.java
new file mode 100644
index 00000000..f0044ed9
--- /dev/null
+++ b/test/transform/resource/before/ValueWithJavaBeansSpecCapitalization.java
@@ -0,0 +1,10 @@
+@lombok.Value
+@lombok.experimental.Accessors(javaBeansSpecCapitalization = true)
+class ValueWithJavaBeansSpecCapitalization {
+ final int aField;
+}
+
+@lombok.Value
+class ValueWithoutJavaBeansSpecCapitalization {
+ final int aField;
+}
diff --git a/test/transform/resource/before/WithOnJavaBeansSpecCapitalization.java b/test/transform/resource/before/WithOnJavaBeansSpecCapitalization.java
new file mode 100644
index 00000000..476fb5a4
--- /dev/null
+++ b/test/transform/resource/before/WithOnJavaBeansSpecCapitalization.java
@@ -0,0 +1,16 @@
+@lombok.With
+@lombok.experimental.Accessors(javaBeansSpecCapitalization = true)
+class WithOnJavaBeansSpecCapitalization {
+ int aField;
+
+ WithOnJavaBeansSpecCapitalization(int aField) {
+ }
+}
+
+@lombok.With
+class WithOffJavaBeansSpecCapitalization {
+ int aField;
+
+ WithOffJavaBeansSpecCapitalization(int aField) {
+ }
+}