public class MethodHeavyFirstComparator extends AbstractMethodComparator
The priority goes to constructors with the PodamConstructor
annotation first, and then to those with more arguments.
| Modifier and Type | Field and Description |
|---|---|
static MethodHeavyFirstComparator |
INSTANCE |
| Modifier | Constructor and Description |
|---|---|
private |
MethodHeavyFirstComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Method method1,
Method method2) |
compareAnnotations, methodComplexityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final MethodHeavyFirstComparator INSTANCE
Copyright © 2015. All rights reserved.