public class SuperTypesLastSorter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.util.Comparator<java.lang.reflect.Field> |
compareFieldsByName |
Modifier | Constructor and Description |
---|---|
private |
SuperTypesLastSorter() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.reflect.Field> |
sortSuperTypesLast(java.util.Collection<? extends java.lang.reflect.Field> unsortedFields)
Return a new collection with the fields sorted first by name,
then with any fields moved after their supertypes.
|