public abstract class AbstractConstructorComparator extends Object implements Comparator<Constructor<?>>
The priority goes to constructors with the PodamConstructor
annotation first, and then to those with less arguments.
| Constructor and Description |
|---|
AbstractConstructorComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareAnnotations(Constructor<?> constructor1,
Constructor<?> constructor2) |
int |
constructorComplexity(Constructor<?> constructor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int constructorComplexity(Constructor<?> constructor)
public int compareAnnotations(Constructor<?> constructor1, Constructor<?> constructor2)
Copyright © 2015. All rights reserved.