@Test public void testFallbackToClassName() { TypeElement[][] places = { {place3, place4}, {place1, place2}, }; for (TypeElement[] pair : places) { assertThat(comparator.compare(pair[0], pair[1])) .named(String.format("compare(%s, %s)", pair[0], pair[1])) .isLessThan(0); assertThat(comparator.compare(pair[1], pair[0])) .named(String.format("compare(%s, %s)", pair[1], pair[0])) .isGreaterThan(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);  }