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