@API(status=STABLE,
since="5.10")
public static class MethodOrderer.DisplayName
extends java.lang.Object
implements MethodOrderer
MethodOrderer that sorts methods alphanumerically based on their
display names using String.compareTo(String)MethodOrderer.Alphanumeric, MethodOrderer.DisplayName, MethodOrderer.MethodName, MethodOrderer.OrderAnnotation, MethodOrderer.Random| Modifier and Type | Field and Description |
|---|---|
private static java.util.Comparator<MethodDescriptor> |
comparator |
DEFAULT_ORDER_PROPERTY_NAME| Constructor and Description |
|---|
DisplayName() |
| Modifier and Type | Method and Description |
|---|---|
void |
orderMethods(MethodOrdererContext context)
Sort the methods encapsulated in the supplied
MethodOrdererContext alphanumerically based on their display
names. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultExecutionModeprivate static final java.util.Comparator<MethodDescriptor> comparator
public void orderMethods(MethodOrdererContext context)
MethodOrdererContext alphanumerically based on their display
names.orderMethods in interface MethodOrderercontext - the MethodOrdererContext containing the
method descriptors to order; never nullMethodOrderer.getDefaultExecutionMode()