aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/resource/after/GetterAccessLevel.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2009-12-02 02:48:07 +0100
committerRoel Spilker <r.spilker@gmail.com>2009-12-02 02:48:07 +0100
commit2ef7ef3e9f925f92a23ad279755db165495623ab (patch)
tree8f0a20fb703dc7ceac2bb626de2a02797446a0d1 /test/delombok/resource/after/GetterAccessLevel.java
parent2ff16d337505d540fc840eae49543aa3e8801107 (diff)
downloadlombok-2ef7ef3e9f925f92a23ad279755db165495623ab.tar.gz
lombok-2ef7ef3e9f925f92a23ad279755db165495623ab.tar.bz2
lombok-2ef7ef3e9f925f92a23ad279755db165495623ab.zip
Improved tests to also test on value= parameters
Diffstat (limited to 'test/delombok/resource/after/GetterAccessLevel.java')
-rw-r--r--test/delombok/resource/after/GetterAccessLevel.java25
1 files changed, 23 insertions, 2 deletions
diff --git a/test/delombok/resource/after/GetterAccessLevel.java b/test/delombok/resource/after/GetterAccessLevel.java
index eec84e85..e117b72a 100644
--- a/test/delombok/resource/after/GetterAccessLevel.java
+++ b/test/delombok/resource/after/GetterAccessLevel.java
@@ -1,9 +1,15 @@
-class Getter {
+class GetterAccessLevel {
boolean isNone;
boolean isPrivate;
boolean isPackage;
boolean isProtected;
boolean isPublic;
+ String noneString;
+ String privateString;
+ String packageString;
+ String protectedString;
+ String publicString;
+ String value;
private boolean isPrivate() {
return isPrivate;
}
@@ -16,4 +22,19 @@ class Getter {
public boolean isPublic() {
return isPublic;
}
-}
+ private String getPrivateString() {
+ return privateString;
+ }
+ String getPackageString() {
+ return packageString;
+ }
+ protected String getProtectedString() {
+ return protectedString;
+ }
+ public String getPublicString() {
+ return publicString;
+ }
+ public String getValue() {
+ return value;
+ }
+} \ No newline at end of file