TypeReference implements Comparable<TypeReference<T>> { @Override public int compareTo(@Nullable TypeReference<T> object) { return 0; } protected  TypeReference(); Type getType(); @Override int compareTo(@Nullable TypeReference<T> object); @Override int hashCode(); @Override boolean equals(Object other); @Override String toString();  }
@Test public void test_compareTo() { assertThat(ref.compareTo(null), equalTo(0)); }