@Override
	public boolean equals(Object o) {
		// are these states same object?
		if ( o instanceof ATNState ) return stateNumber==((ATNState)o).stateNumber;
		return false;
	}
Used to cache lookahead during parsing, not used during construction
runtime/Java/src/org/antlr/v4/runtime/atn/ATNState.java