# Uses of Interface
org.apache.sling.testing.mock.osgi.config.ConfigAnnotationUtil.ConfigTypePredicate

Packages that use ConfigAnnotationUtil.ConfigTypePredicate
Package
Description
org.apache.sling.testing.mock.osgi.config
OSGi Config Type Parameters core implementation.

## Uses of ConfigAnnotationUtil.ConfigTypePredicate in org.apache.sling.testing.mock.osgi.config

Methods in org.apache.sling.testing.mock.osgi.config with parameters of type ConfigAnnotationUtil.ConfigTypePredicate
Modifier and Type
Method
Description
`static Predicate<Annotation>`
ConfigAnnotationUtil.`configTypeAnnotationFilter(ConfigAnnotationUtil.ConfigTypePredicate configTypePredicate)`
Utility function that returns a predicate for use as a filter expression for `ConfigAnnotationUtil.findConfigTypeAnnotations(AnnotatedElement)` and `ConfigAnnotationUtil.findConfigTypeAnnotations(Collection)` that reduces the input stream of annotations based on provided set of allowed config types.
`static Stream<Annotation>`
ConfigAnnotationUtil.`findConfigTypeAnnotations(@NotNull AnnotatedElement element, @Nullable ConfigAnnotationUtil.ConfigTypePredicate configTypePredicate)`
Find candidate OSGi config annotations on the given `AnnotatedElement`, returning a stream of only those matching one of the desired config types.
`static Stream<Annotation>`
ConfigAnnotationUtil.`findConfigTypeAnnotations(@NotNull Collection<Annotation> annotations, @Nullable ConfigAnnotationUtil.ConfigTypePredicate configTypePredicate)`
Find candidate OSGi config annotations in the given collection, returning a stream of only those matching one of the desired config types.