1 2 3 4 5 6 7 8 9 10 11
@interface A {} class C implements Comparable<C> { String value = ""; @A public int compareTo(C other) { return value.compareTo(other.value); } }