@Override
	public CommonToken create(Pair<TokenSource, CharStream> source, int type, String text,
							  int channel, int start, int stop,
							  int line, int charPositionInLine)
	{
		CommonToken t = new CommonToken(source, type, channel, start, stop);
		t.setLine(line);
		t.setCharPositionInLine(charPositionInLine);
		if ( text!=null ) {
			t.setText(text);
		}
		else if ( copyText && source.b != null ) {
			t.setText(source.b.getText(Interval.of(start,stop)));
		}

		return t;
	}
Constructs a {@link CommonTokenFactory} with {@link #copyText} set to
{@code false}.

<p>
The {@link #DEFAULT} instance should be used instead of calling this
directly.</p>
runtime/Java/src/org/antlr/v4/runtime/CommonTokenFactory.java