aboutsummaryrefslogtreecommitdiff
path: root/test/lombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-11-27 00:38:58 +0100
committerReinier Zwitserloot <reinier@tipit.to>2009-11-27 00:38:58 +0100
commite5d248c3ccf64211fd8a301f584bde82dd426601 (patch)
tree5f9000e70adc10b24e009f611c068eba99a31a6e /test/lombok
parentf22021ca7808af2cd0ba03b7c34b8fd3758ff44b (diff)
downloadlombok-e5d248c3ccf64211fd8a301f584bde82dd426601.tar.gz
lombok-e5d248c3ccf64211fd8a301f584bde82dd426601.tar.bz2
lombok-e5d248c3ccf64211fd8a301f584bde82dd426601.zip
delombok now calls lombok. wahey!
Diffstat (limited to 'test/lombok')
-rw-r--r--test/lombok/resource/after/CommentsInterspersed.java26
-rw-r--r--test/lombok/resource/before/CommentsInterspersed.java14
2 files changed, 40 insertions, 0 deletions
diff --git a/test/lombok/resource/after/CommentsInterspersed.java b/test/lombok/resource/after/CommentsInterspersed.java
new file mode 100644
index 00000000..ec5374c0
--- /dev/null
+++ b/test/lombok/resource/after/CommentsInterspersed.java
@@ -0,0 +1,26 @@
+import lombok.Getter;
+
+/*bla */
+public class CommentsInterspersed {
+ /** javadoc for field */
+ private int x;
+
+ /* bla2 */
+ @Getter()
+ private String test = "foo";
+ //$NON-NLS-1$
+
+ /** Javadoc on method */
+ public native void gwtTest();
+ /*-{
+ javascript;
+ }-*/
+
+ public CommentsInterspersed() {
+ }
+
+ public String getTest() {
+ return this.test;
+ }
+}
+//haha!
diff --git a/test/lombok/resource/before/CommentsInterspersed.java b/test/lombok/resource/before/CommentsInterspersed.java
new file mode 100644
index 00000000..2a32d309
--- /dev/null
+++ b/test/lombok/resource/before/CommentsInterspersed.java
@@ -0,0 +1,14 @@
+import lombok.Getter;
+
+public /*bla */ class CommentsInterspersed {
+ /** javadoc for field */
+ private int x;
+
+ private /* bla2 */ @Getter String test = "foo"; //$NON-NLS-1$
+
+ /** Javadoc on method */
+ public native void gwtTest(); /*-{
+ javascript;
+ }-*/
+} //haha!
+