presto-parser/src/main/java/io/prestosql/sql/parser/CaseInsensitiveStream.java/CaseInsensitiveStream/LA
class CaseInsensitiveStream:    @Override
    public int LA(int i)
    {
        int result = stream.LA(i);

        switch (result) {
            case 0:
            case IntStream.EOF:
                return result;
            default:
                return Character.toUpperCase(result);
        }
    }