Package io.github.classgraph
Interface AnnotationInfoList.AnnotationInfoFilter
-
- Enclosing class:
- AnnotationInfoList
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface AnnotationInfoList.AnnotationInfoFilter
Filter anAnnotationInfoList
using a predicate mapping anAnnotationInfo
object to a boolean, producing anotherAnnotationInfoList
for all items in the list for which the predicate is true.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(AnnotationInfo annotationInfo)
Whether or not to allow anAnnotationInfo
list item through the filter.
-
-
-
Method Detail
-
accept
boolean accept(AnnotationInfo annotationInfo)
Whether or not to allow anAnnotationInfo
list item through the filter.- Parameters:
annotationInfo
- TheAnnotationInfo
item to filter.- Returns:
- Whether or not to allow the item through the filter. If true, the item is copied to the output list; if false, it is excluded.
-
-