ServiceLoader.
These utilities are intended solely for usage within the JUnit framework itself. Any usage by external parties is not supported. Use at your own risk!
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < the type of the service T> Stream | Returns: a stream of loaded services that match the predicatethe service loader to be filtered serviceLoader, Predicate<? super Class<? extends T>> the predicate to filter the loaded services providerPredicate)Filters the supplied service loader using the supplied predicate. |
| ServiceLoaderUtils | back to summary |
|---|---|
| private ServiceLoaderUtils() | |
| filter | back to summary |
|---|---|
| public static <T> Stream Filters the supplied service loader using the supplied predicate.
| |