public String getTokenName(int t) {
		if ( t==-1 ) return "EOF";
		//if ( atn.g!=null ) return atn.g.getTokenDisplayName(t);
		return "'"+(char)t+"'";
	}
Get the text matched so far for the current token.
runtime/Java/src/org/antlr/v4/runtime/atn/LexerATNSimulator.java