public void clear() {
        if ( readonly ) throw new IllegalStateException("can't alter readonly IntervalSet");
		intervals.clear();
	}
Create a set with all ints within range [a..b] (inclusive)
runtime/Java/src/org/antlr/v4/runtime/misc/IntervalSet.java