class JavaLexed implements AutoCloseable {

    public void removeRange(int start, int end) {
        assertStartEndOrder(start, end);
        assertOpen();
        if (end > start) {
            lexicalElements.subList(start, end).clear();
        }
    }

    public  JavaLexed(Source source);

}