@Test public void testPlaceInheritanceOrder() { assertThat(comparator.compare(place1, place3)).isGreaterThan(0); assertThat(comparator.compare(place3, place1)).isLessThan(0); assertThat(comparator.compare(place1, place5)).isGreaterThan(0); assertThat(comparator.compare(place5, place1)).isLessThan(0); assertThat(comparator.compare(place1, place4)).isGreaterThan(0); assertThat(comparator.compare(place4, place1)).isLessThan(0); assertThat(comparator.compare(place3, place5)).isGreaterThan(0); assertThat(comparator.compare(place5, place3)).isLessThan(0); }
@Override public int compare(TypeElement o1, TypeElement o2) { return realComparator.compare(o1, o2); }
MostToLeastDerivedPlaceTypeComparator implements Comparator<TypeElement> { @Override public int compare(TypeElement o1, TypeElement o2) { return realComparator.compare(o1, o2); } }
MostToLeastDerivedPlaceTypeComparator implements Comparator<TypeElement> { @Override public int compare(TypeElement o1, TypeElement o2) { return realComparator.compare(o1, o2); }  }
MostToLeastDerivedPlaceTypeComparator implements Comparator<TypeElement> { @Override public int compare(TypeElement o1, TypeElement o2) { return realComparator.compare(o1, o2); }  @Override int compare(TypeElement o1, TypeElement o2); }
MostToLeastDerivedPlaceTypeComparator implements Comparator<TypeElement> { @Override public int compare(TypeElement o1, TypeElement o2) { return realComparator.compare(o1, o2); }  @Override int compare(TypeElement o1, TypeElement o2);  }