diff options
Diffstat (limited to 'test/lombok/resource/before/GetterAlreadyExists.java')
-rw-r--r-- | test/lombok/resource/before/GetterAlreadyExists.java | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/test/lombok/resource/before/GetterAlreadyExists.java b/test/lombok/resource/before/GetterAlreadyExists.java new file mode 100644 index 00000000..3a22ed36 --- /dev/null +++ b/test/lombok/resource/before/GetterAlreadyExists.java @@ -0,0 +1,54 @@ +class Getter1 { + @lombok.Getter boolean foo; + boolean hasFoo() { + return true; + } +} +class Getter2 { + @lombok.Getter boolean foo; + boolean isFoo() { + return true; + } +} +class Getter3 { + @lombok.Getter boolean foo; + boolean getFoo() { + return true; + } +} +class Getter4 { + @lombok.Getter String foo; + String hasFoo() { + return null; + } +} +class Getter5 { + @lombok.Getter String foo; + String isFoo() { + return null; + } +} +class Getter6 { + @lombok.Getter String foo; + String getFoo() { + return null; + } +} +class Getter7 { + @lombok.Getter String foo; + boolean hasFoo() { + return false; + } +} +class Getter8 { + @lombok.Getter String foo; + boolean isFoo() { + return false; + } +} +class Getter9 { + @lombok.Getter String foo; + boolean getFoo() { + return false; + } +}
\ No newline at end of file |