aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-eclipse
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-eclipse')
-rw-r--r--test/transform/resource/after-eclipse/DelegateOnGetterNone.java19
-rw-r--r--test/transform/resource/after-eclipse/GetterNone.java12
2 files changed, 31 insertions, 0 deletions
diff --git a/test/transform/resource/after-eclipse/DelegateOnGetterNone.java b/test/transform/resource/after-eclipse/DelegateOnGetterNone.java
new file mode 100644
index 00000000..195797a8
--- /dev/null
+++ b/test/transform/resource/after-eclipse/DelegateOnGetterNone.java
@@ -0,0 +1,19 @@
+import lombok.AccessLevel;
+import lombok.Delegate;
+import lombok.Getter;
+@Getter class DelegateOnGetterNone {
+ private interface Bar {
+ void setList(java.util.ArrayList<java.lang.String> list);
+ int getInt();
+ }
+ private final @Delegate @Getter(AccessLevel.NONE) Bar bar;
+ public @java.lang.SuppressWarnings("all") int getInt() {
+ return this.bar.getInt();
+ }
+ public @java.lang.SuppressWarnings("all") void setList(final java.util.ArrayList<java.lang.String> list) {
+ this.bar.setList(list);
+ }
+ DelegateOnGetterNone() {
+ super();
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/after-eclipse/GetterNone.java b/test/transform/resource/after-eclipse/GetterNone.java
new file mode 100644
index 00000000..2ab252ea
--- /dev/null
+++ b/test/transform/resource/after-eclipse/GetterNone.java
@@ -0,0 +1,12 @@
+import lombok.AccessLevel;
+import lombok.Getter;
+@Getter class GetterNone {
+ int i;
+ @Getter(AccessLevel.NONE) int foo;
+ public @java.lang.SuppressWarnings("all") int getI() {
+ return this.i;
+ }
+ GetterNone() {
+ super();
+ }
+} \ No newline at end of file