IntervalFilter implements VariantFilter { @Override public String toString() { return "IntervalFilter{" + "intervals=" + intervals + '}'; } IntervalFilter(ChromosomalRegion interval);  IntervalFilter(Collection<ChromosomalRegion> chromosomalRegions); List<ChromosomalRegion> getChromosomalRegions(); @Override FilterType getFilterType(); @Override FilterResult runFilter(VariantEvaluation variantEvaluation); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void testToString() { System.out.println(instance.toString()); }