aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/CommentsInterspersed.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2010-11-07 15:16:48 +0100
committerRoel Spilker <r.spilker@gmail.com>2010-11-07 15:16:48 +0100
commit2097dd87310026733a4f48c47bb31a59996f5d83 (patch)
tree07b67c81a738699a5f076725c2388e5e439cf6bc /test/transform/resource/after-ecj/CommentsInterspersed.java
parent378b939108ef2216da00724a8efd9521b7a10b8f (diff)
downloadlombok-2097dd87310026733a4f48c47bb31a59996f5d83.tar.gz
lombok-2097dd87310026733a4f48c47bb31a59996f5d83.tar.bz2
lombok-2097dd87310026733a4f48c47bb31a59996f5d83.zip
Solved issue 155: "Eclipse constructor generation not in class body" http://code.google.com/p/projectlombok/issues/detail?id=155
Now all lombok generated methods are located before any other method.
Diffstat (limited to 'test/transform/resource/after-ecj/CommentsInterspersed.java')
-rw-r--r--test/transform/resource/after-ecj/CommentsInterspersed.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/transform/resource/after-ecj/CommentsInterspersed.java b/test/transform/resource/after-ecj/CommentsInterspersed.java
index d708ad72..60c69aed 100644
--- a/test/transform/resource/after-ecj/CommentsInterspersed.java
+++ b/test/transform/resource/after-ecj/CommentsInterspersed.java
@@ -2,11 +2,11 @@ import lombok.Getter;
public class CommentsInterspersed {
private int x;
private @Getter String test = "foo";
+ public @java.lang.SuppressWarnings("all") String getTest() {
+ return this.test;
+ }
public CommentsInterspersed() {
super();
}
public native void gwtTest();
- public @java.lang.SuppressWarnings("all") String getTest() {
- return this.test;
- }
}