aboutsummaryrefslogtreecommitdiff
path: root/test/lombok
diff options
context:
space:
mode:
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!
+