Fix documentation errors reported during the build

This commit is contained in:
Sam Harwell 2014-06-17 06:34:49 -05:00
parent 17128d6486
commit 8809cc4950
5 changed files with 9 additions and 7 deletions

View File

@ -88,7 +88,7 @@ public interface ANTLRErrorListener {
*
* <p>Each full-context prediction which does not result in a syntax error
* will call either {@link #reportContextSensitivity} or
* {@link reportAmbiguity}.</p>
* {@link #reportAmbiguity}.</p>
*
* <p>When {@code ambigAlts} is not null, it contains the set of potentially
* viable alternatives identified by the prediction algorithm. When
@ -166,7 +166,7 @@ public interface ANTLRErrorListener {
*
* <p>Each full-context prediction which does not result in a syntax error
* will call either {@link #reportContextSensitivity} or
* {@link reportAmbiguity}.</p>
* {@link #reportAmbiguity}.</p>
*
* <p>For prediction implementations that only evaluate full-context
* predictions when an SLL conflict is found (including the default

View File

@ -114,7 +114,7 @@ public class RuntimeMetaData {
public interface Listener {
/**
* Report a version mismatch which was detected by
* {@link #checkDetails}.
* {@link #checkVersion}.
*
* <p>
* Implementations of this method may, but are not required to, throw
@ -147,7 +147,7 @@ public class RuntimeMetaData {
*/
public static class DefaultListener implements Listener {
/**
* A default instance of {@link ConsoleListener} which is automatically
* A default instance of {@link DefaultListener} which is automatically
* registered to receive version mismatch events.
*/
public static final DefaultListener INSTANCE = new DefaultListener();

View File

@ -91,7 +91,7 @@ public class DecisionInfo {
public long SLL_MaxLook;
/**
* Gets the {@link LookaheadEventInfo} associated with the event where the
* {@link #sllMaxLook} value was set.
* {@link #SLL_MaxLook} value was set.
*/
public LookaheadEventInfo SLL_MaxLookEvent;

View File

@ -30,6 +30,8 @@
package org.antlr.v4.runtime.misc;
import org.antlr.v4.runtime.Token;
import java.util.List;
/**
@ -121,7 +123,7 @@ public interface IntSet {
* <li>{@code x.complement(y)}</li>
* </ul>
*
* @param elements The set to compare with the current set. A {@code null}
* @param a The set to compare with the current set. A {@code null}
* argument is treated as though it were an empty set.
* @return A new {@link IntSet} instance containing the elements present in
* {@code elements} but not present in the current set. The value

View File

@ -208,7 +208,7 @@ public class IntervalSet implements IntSet {
return this.complement(IntervalSet.of(minElement,maxElement));
}
/** {@inheritDoc */
/** {@inheritDoc} */
@Override
public IntervalSet complement(IntSet vocabulary) {
if ( vocabulary==null || vocabulary.isNil() ) {