@Override
	public boolean equals(Object obj) {
		if (obj == this) {
			return true;
		}
		else if (!(obj instanceof LexerCustomAction)) {
			return false;
		}

		LexerCustomAction other = (LexerCustomAction)obj;
		return ruleIndex == other.ruleIndex
			&& actionIndex == other.actionIndex;
	}
{@inheritDoc}

<p>Custom actions are implemented by calling {@link Lexer#action} with the
appropriate rule and action indexes.</p>
runtime/Java/src/org/antlr/v4/runtime/atn/LexerCustomAction.java