aboutsummaryrefslogtreecommitdiff
path: root/test/eclipse/resource/rename/withGetter
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2021-11-08 14:39:53 +0100
committerRawi01 <Rawi01@users.noreply.github.com>2022-05-20 00:08:05 +0200
commitd2d97539d26f6023ffc4565286f08427c4e8b41c (patch)
tree4a25e66e48b41143bb03d8c5ec9a6f7f8241ee61 /test/eclipse/resource/rename/withGetter
parent59717d0c95d62b0b1bedd49ac4a047663a55da22 (diff)
downloadlombok-d2d97539d26f6023ffc4565286f08427c4e8b41c.tar.gz
lombok-d2d97539d26f6023ffc4565286f08427c4e8b41c.tar.bz2
lombok-d2d97539d26f6023ffc4565286f08427c4e8b41c.zip
Add support for eclipse feature tests
Diffstat (limited to 'test/eclipse/resource/rename/withGetter')
-rw-r--r--test/eclipse/resource/rename/withGetter/after/A.java18
-rw-r--r--test/eclipse/resource/rename/withGetter/before/A.java18
2 files changed, 36 insertions, 0 deletions
diff --git a/test/eclipse/resource/rename/withGetter/after/A.java b/test/eclipse/resource/rename/withGetter/after/A.java
new file mode 100644
index 00000000..81237a7e
--- /dev/null
+++ b/test/eclipse/resource/rename/withGetter/after/A.java
@@ -0,0 +1,18 @@
+package pkg;
+
+import lombok.EqualsAndHashCode;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.ToString;
+
+@EqualsAndHashCode
+@Getter
+@Setter
+@ToString
+public class A {
+ private String newString;
+
+ public String test() {
+ return getNewString();
+ }
+} \ No newline at end of file
diff --git a/test/eclipse/resource/rename/withGetter/before/A.java b/test/eclipse/resource/rename/withGetter/before/A.java
new file mode 100644
index 00000000..c9d9e4e5
--- /dev/null
+++ b/test/eclipse/resource/rename/withGetter/before/A.java
@@ -0,0 +1,18 @@
+package pkg;
+
+import lombok.EqualsAndHashCode;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.ToString;
+
+@EqualsAndHashCode
+@Getter
+@Setter
+@ToString
+public class A {
+ private String string;
+
+ public String test() {
+ return getString();
+ }
+} \ No newline at end of file