aboutsummaryrefslogtreecommitdiff
path: root/test/lombok/resource/after/GetterAlreadyExists.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2009-11-28 23:30:10 +0100
committerRoel Spilker <r.spilker@gmail.com>2009-11-28 23:30:10 +0100
commitffb78b6af6e4ba1426de1bcfc36f43521026e39e (patch)
tree9bb74b92b8f95fe2a807a426c58756291dadddcd /test/lombok/resource/after/GetterAlreadyExists.java
parent311b667dfd29b8388686ba046ada2293947105dd (diff)
downloadlombok-ffb78b6af6e4ba1426de1bcfc36f43521026e39e.tar.gz
lombok-ffb78b6af6e4ba1426de1bcfc36f43521026e39e.tar.bz2
lombok-ffb78b6af6e4ba1426de1bcfc36f43521026e39e.zip
Added more Getter-tests
Diffstat (limited to 'test/lombok/resource/after/GetterAlreadyExists.java')
-rw-r--r--test/lombok/resource/after/GetterAlreadyExists.java66
1 files changed, 66 insertions, 0 deletions
diff --git a/test/lombok/resource/after/GetterAlreadyExists.java b/test/lombok/resource/after/GetterAlreadyExists.java
new file mode 100644
index 00000000..152cb372
--- /dev/null
+++ b/test/lombok/resource/after/GetterAlreadyExists.java
@@ -0,0 +1,66 @@
+class Getter1 {
+ boolean foo;
+ boolean hasFoo() {
+ return true;
+ }
+}
+class Getter2 {
+ boolean foo;
+ boolean isFoo() {
+ return true;
+ }
+}
+class Getter3 {
+ boolean foo;
+ boolean getFoo() {
+ return true;
+ }
+}
+class Getter4 {
+ String foo;
+ String hasFoo() {
+ return null;
+ }
+ public String getFoo() {
+ return foo;
+ }
+}
+class Getter5 {
+ String foo;
+ String isFoo() {
+ return null;
+ }
+ public String getFoo() {
+ return foo;
+ }
+}
+class Getter6 {
+ String foo;
+ String getFoo() {
+ return null;
+ }
+}
+class Getter7 {
+ String foo;
+ boolean hasFoo() {
+ return false;
+ }
+ public String getFoo() {
+ return foo;
+ }
+}
+class Getter8 {
+ String foo;
+ boolean isFoo() {
+ return false;
+ }
+ public String getFoo() {
+ return foo;
+ }
+}
+class Getter9 {
+ String foo;
+ boolean getFoo() {
+ return false;
+ }
+} \ No newline at end of file