public class SuperTypesLastSorter extends Object
Constructor and Description |
---|
SuperTypesLastSorter() |
Modifier and Type | Method and Description |
---|---|
List<Field> |
sort(Collection<? extends Field> unsortedFields)
Return a new collection with the fields sorted first by name,
then with any fields moved after their supertypes.
|
public List<Field> sort(Collection<? extends Field> unsortedFields)
Mockito, MIT License