public abstract class MergedAnnotationSelectors extends Object
MergedAnnotationSelector implementations that provide various options
for MergedAnnotation instances.MergedAnnotations.get(Class, Predicate, MergedAnnotationSelector),
MergedAnnotations.get(String, Predicate, MergedAnnotationSelector)| Modifier and Type | Method and Description |
|---|---|
static <A extends Annotation> |
firstDirectlyDeclared()
Select the first directly declared annotation when possible.
|
static <A extends Annotation> |
nearest()
Select the nearest annotation, i.e.
|
public static <A extends Annotation> MergedAnnotationSelector<A> nearest()
public static <A extends Annotation> MergedAnnotationSelector<A> firstDirectlyDeclared()