aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/JavadocGenerally.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2013-07-08 06:06:49 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2013-07-08 21:20:24 +0200
commit867929c79f344e2fa63aa280cf452d39eb7aabf7 (patch)
tree8874c08c4fe66a73e6af655d87e9c9701044ed18 /test/transform/resource/after-delombok/JavadocGenerally.java
parent0d5fea94da2bfb72ea886a7379ad35e124489692 (diff)
downloadlombok-867929c79f344e2fa63aa280cf452d39eb7aabf7.tar.gz
lombok-867929c79f344e2fa63aa280cf452d39eb7aabf7.tar.bz2
lombok-867929c79f344e2fa63aa280cf452d39eb7aabf7.zip
added tests for new javadoc behaviour, javac implementation of copying javadoc for getters/setters, and fixed pretty printer to no longer inject an extra newline at the top of javadoc.
Diffstat (limited to 'test/transform/resource/after-delombok/JavadocGenerally.java')
-rw-r--r--test/transform/resource/after-delombok/JavadocGenerally.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/JavadocGenerally.java b/test/transform/resource/after-delombok/JavadocGenerally.java
new file mode 100644
index 00000000..729cdce3
--- /dev/null
+++ b/test/transform/resource/after-delombok/JavadocGenerally.java
@@ -0,0 +1,24 @@
+/**
+ * Doc on package
+ */
+package testPackage;
+/** Weird doc */
+/**
+ * Doc on class
+ */
+class JavadocGenerally {
+ /**
+ * Doc on field
+ */
+ private int someField;
+ /**
+ * Doc on method
+ */
+ public void test() {
+ }
+ /**
+ * Doc on inner
+ */
+ public interface TestingInner {
+ }
+}