Fix generated code Javadoc incompatible with Java 8

This commit is contained in:
Sam Harwell 2014-01-26 11:49:20 -06:00
parent 8d9cae93ec
commit 2eb6f45bd9
1 changed files with 15 additions and 15 deletions

View File

@ -109,39 +109,39 @@ public class <file.grammarName>BaseListener implements <file.grammarName>Listene
<file.listenerNames:{lname |
/**
* {@inheritDoc\}
* \<p/>
* The default implementation does nothing.
*
* \<p>The default implementation does nothing.\</p>
*/
@Override public void enter<lname; format="cap">(@NotNull <file.parserName>.<lname; format="cap">Context ctx) { \}
/**
* {@inheritDoc\}
* \<p/>
* The default implementation does nothing.
*
* \<p>The default implementation does nothing.\</p>
*/
@Override public void exit<lname; format="cap">(@NotNull <file.parserName>.<lname; format="cap">Context ctx) { \}}; separator="\n">
/**
* {@inheritDoc\}
* \<p/>
* The default implementation does nothing.
*
* \<p>The default implementation does nothing.\</p>
*/
@Override public void enterEveryRule(@NotNull ParserRuleContext ctx) { }
/**
* {@inheritDoc\}
* \<p/>
* The default implementation does nothing.
*
* \<p>The default implementation does nothing.\</p>
*/
@Override public void exitEveryRule(@NotNull ParserRuleContext ctx) { }
/**
* {@inheritDoc\}
* \<p/>
* The default implementation does nothing.
*
* \<p>The default implementation does nothing.\</p>
*/
@Override public void visitTerminal(@NotNull TerminalNode node) { }
/**
* {@inheritDoc\}
* \<p/>
* The default implementation does nothing.
*
* \<p>The default implementation does nothing.\</p>
*/
@Override public void visitErrorNode(@NotNull ErrorNode node) { }
}
@ -195,9 +195,9 @@ public class <file.grammarName>BaseVisitor\<T> extends AbstractParseTreeVisitor\
<file.visitorNames:{lname |
/**
* {@inheritDoc\}
* \<p/>
* The default implementation returns the result of calling
* {@link #visitChildren\} on {@code ctx\}.
*
* \<p>The default implementation returns the result of calling
* {@link #visitChildren\} on {@code ctx\}.\</p>
*/
@Override public T visit<lname; format="cap">(@NotNull <file.parserName>.<lname; format="cap">Context ctx) { return visitChildren(ctx); \}}; separator="\n">
}