类 MergedAnnotationSelectors

    • 方法详细资料

      • nearest

        public static <A extends AnnotationMergedAnnotationSelector<A> nearest()
        Select the nearest annotation, i.e. the one with the lowest distance.
        返回:
        a selector that picks the annotation with the lowest distance
      • firstDirectlyDeclared

        public static <A extends AnnotationMergedAnnotationSelector<A> firstDirectlyDeclared()
        Select the first directly declared annotation when possible. If no direct annotations are declared then the nearest annotation is selected.
        返回:
        a selector that picks the first directly declared annotation whenever possible