forked from phoedos/pmd
Fix javadoc of generated antlr4 classes
This commit is contained in:
parent
2585068f2c
commit
3e4cb1b4b0
@ -64,6 +64,8 @@
|
||||
<include name="${listener-name}.java"/>
|
||||
<include name="${base-listener-name}.java"/>
|
||||
<replacefilter token="${lang-name}." value="${parser-name}."/>
|
||||
<replacefilter token="${lang-name}#" value="${parser-name}#"/>
|
||||
<replacefilter token="{@link ${lang-name}}" value="{@link ${parser-name}}"/>
|
||||
</replace>
|
||||
|
||||
<move file="${target-package-dir}/${lang-name}.java"
|
||||
@ -115,6 +117,8 @@
|
||||
<!-- Transform the visitor to PMD-style. -->
|
||||
<replace file="${visitor-file}">
|
||||
|
||||
<replacefilter token="@param <T> The return type of the visit operation. Use {@link Void} for"
|
||||
value="@param <P> The parameter type of the visit * @param <R> The return type of the visit operation. Use {@link Void} for"/>
|
||||
<replacefilter token="Visitor<T> extends ParseTreeVisitor<T> {"
|
||||
value="Visitor<P, R> extends net.sourceforge.pmd.lang.ast.AstVisitor<P, R> {
|
||||
|
||||
@ -133,6 +137,7 @@
|
||||
|
||||
<replacefilter token="T visit" value="default R visit"/>
|
||||
<replacefilter token="ctx);" value="node, P data) { return visit${node-itf-name}(node, data); }"/>
|
||||
<replacefilter token="@param ctx the parse tree" value="@param node Node to visit 	 * @param data Parameter of the visit"/>
|
||||
|
||||
</replace>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user