From 5589540e9f13ce5b6f1cbb4d48da5e1f85a9b633 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sun, 9 Dec 2018 11:40:56 +0100 Subject: [PATCH] Add workaround for #1515 --- .../sourceforge/pmd/lang/ast/test/PlaceHolder.java | 13 +++++++++++++ .../sourceforge/pmd/lang/ast/test/package-info.java | 8 ++++++++ 2 files changed, 21 insertions(+) create mode 100644 pmd-lang-test/src/main/java/net/sourceforge/pmd/lang/ast/test/PlaceHolder.java create mode 100644 pmd-lang-test/src/main/java/net/sourceforge/pmd/lang/ast/test/package-info.java diff --git a/pmd-lang-test/src/main/java/net/sourceforge/pmd/lang/ast/test/PlaceHolder.java b/pmd-lang-test/src/main/java/net/sourceforge/pmd/lang/ast/test/PlaceHolder.java new file mode 100644 index 0000000000..e45609fc3d --- /dev/null +++ b/pmd-lang-test/src/main/java/net/sourceforge/pmd/lang/ast/test/PlaceHolder.java @@ -0,0 +1,13 @@ +/** + * BSD-style license; for more info see http://pmd.sourceforge.net/license.html + */ + +package net.sourceforge.pmd.lang.ast.test; + +/** + * Hack to generate package javadoc. + * See: https://stackoverflow.com/questions/1138390/javadoc-for-package-info-java-only + */ +@Deprecated +public class PlaceHolder { +} diff --git a/pmd-lang-test/src/main/java/net/sourceforge/pmd/lang/ast/test/package-info.java b/pmd-lang-test/src/main/java/net/sourceforge/pmd/lang/ast/test/package-info.java new file mode 100644 index 0000000000..f648abb279 --- /dev/null +++ b/pmd-lang-test/src/main/java/net/sourceforge/pmd/lang/ast/test/package-info.java @@ -0,0 +1,8 @@ +/** + * BSD-style license; for more info see http://pmd.sourceforge.net/license.html + */ + +/** + * Contains the Kotlin-based DSL to test AST nodes. + */ +package net.sourceforge.pmd.lang.ast.test;