- ClassFilter - Class in org.junit.platform.commons.util
-
Class-related predicate holder used by reflection utilities.
- ClassLoaderUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with ClassLoader and associated tasks.
- ClassSupport - Class in org.junit.platform.commons.support
-
Common class support.
- ClassUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with classes.
- clear() - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Clear all existing
log records that have been
submitted to this listener.
- CollectionUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with Collections.
- condition(boolean, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied predicate is true.
- condition(boolean, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied predicate is true.
- config(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the provided Throwable and message from the provided
messageSupplier at config level.
- config(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided messageSupplier at config level.
- containsIsoControlCharacter(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied String contains any ISO control characters.
- containsNoNullElements(T[], String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array contains no null elements.
- containsNoNullElements(T[], Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array contains no null elements.
- containsNoNullElements(T, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied collection contains no null elements.
- containsNoNullElements(T, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied collection contains no null elements.
- containsWhitespace(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied String contains any whitespace characters.
- findAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all classes in the supplied classpath root
that match the specified classFilter and classNameFilter
predicates.
- findAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- findAllClassesInClasspathRoot(URI, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- findAllClassesInModule(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Find all classes for the given module name.
- findAllClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all classes in the supplied basePackageName
that match the specified classFilter and classNameFilter
predicates.
- findAllClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- findAllClassesInPackage(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- findAllNonSystemBootModuleNames() - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Find all non-system boot modules names.
- findAnnotatedFields(Class<?>, Class<? extends Annotation>, Predicate<Field>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
Find all fields of the supplied class or interface
that are annotated or meta-annotated with the specified
annotationType and match the specified predicate, using
top-down search semantics within the type hierarchy.
- findAnnotatedFields(Class<?>, Class<? extends Annotation>, Predicate<Field>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
Find all fields of the supplied class or interface
that are annotated or meta-annotated with the specified
annotationType and match the specified predicate.
- findAnnotatedMethods(Class<?>, Class<? extends Annotation>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find all methods of the supplied class or interface
that are annotated or meta-annotated with the specified
annotationType.
- findAnnotatedMethods(Class<?>, Class<? extends Annotation>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
- findAnnotation(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find the first annotation of annotationType that is either
directly present, meta-present, or indirectly
present on the supplied element.
- findAnnotation(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
- findAnnotation(Optional<? extends AnnotatedElement>, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find the first annotation of annotationType that is either
present or meta-present on the supplied optional
element.
- findAnnotation(Optional<? extends AnnotatedElement>, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
- findConstructors(Class<?>, Predicate<Constructor<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Find all constructors in the supplied class that match the supplied predicate.
- findFields(Class<?>, Predicate<Field>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Find all fields of the supplied class or interface
that match the specified predicate.
- findMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find the first Method of the supplied class or interface that
meets the specified criteria, beginning with the specified class or
interface and traversing up the type hierarchy until such a method is
found or the type hierarchy is exhausted.
- findMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- findMethod(Class<?>, String, String) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find the first Method of the supplied class or interface that
meets the specified criteria, beginning with the specified class or
interface and traversing up the type hierarchy until such a method is
found or the type hierarchy is exhausted.
- findMethod(Class<?>, String, String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- findMethods(Class<?>, Predicate<Method>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Find all methods of the supplied class or interface
that match the specified predicate, using top-down search semantics
within the type hierarchy.
- findMethods(Class<?>, Predicate<Method>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all methods of the supplied class or interface
that match the specified predicate.
- findMethods(Class<?>, Predicate<Method>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- findNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all nested classes within the given class that conform to the given
predicate.
- findNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- findPublicAnnotatedFields(Class<?>, Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find all public fields of the supplied class
or interface that are of the specified fieldType and annotated
or meta-annotated with the specified annotationType.
- findPublicAnnotatedFields(Class<?>, Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
- findRepeatableAnnotations(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find all repeatable annotations of
annotationType that are either present, indirectly
present, or meta-present on the supplied AnnotatedElement.
- findRepeatableAnnotations(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
- FunctionUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with Functions,
Predicates, etc.
- getAllAssignmentCompatibleClasses(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Return all classes and interfaces that can be used as assignment types
for instances of the specified Class, including itself.
- getAllClasspathRootDirectories() - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- getAttribute(Class<?>, String) - Static method in class org.junit.platform.commons.util.PackageUtils
-
Get the value of the specified attribute name, specified as a string,
or an empty Optional if the attribute was not found.
- getAttribute(Class<?>, Function<Package, String>) - Static method in class org.junit.platform.commons.util.PackageUtils
-
Get the package attribute for the supplied type using the
supplied function.
- getDeclaredConstructor(Class<T>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the sole declared Constructor for the supplied class.
- getDefaultClassLoader() - Static method in class org.junit.platform.commons.util.ClassLoaderUtils
-
- getDefaultValue(Annotation, String, Class<T>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
Get the default value of the named attribute from the supplied
Annotation.
- getFullyQualifiedMethodName(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Build the fully qualified method name for the method described by the
supplied class, method name, and parameter types.
- getLocation(Object) - Static method in class org.junit.platform.commons.util.ClassLoaderUtils
-
Get the location from which the supplied object's class was loaded.
- getLogger(Class<?>) - Static method in class org.junit.platform.commons.logging.LoggerFactory
-
Get a
Logger for the specified class.
- getModuleName(Class<?>) - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Return the name of the module that the class or interface is a member of.
- getModuleVersion(Class<?>) - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Return the raw version of the module that the class or interface is a member of.
- getOnlyElement(Collection<T>) - Static method in class org.junit.platform.commons.util.CollectionUtils
-
Read the only element of a collection of size 1.
- getOutermostInstance(Object, Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the outermost instance of the required type, searching recursively
through enclosing instances.
- getWrapperType(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the wrapper type for the supplied primitive type.
- newInstance(Class<T>, Object...) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Create a new instance of the specified Class by invoking
the constructor whose argument list matches the types of the supplied
arguments.
- newInstance(Class<T>, Object...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
- newInstance(Constructor<T>, Object...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Create a new instance of type T by invoking the supplied constructor
with the supplied arguments.
- notBlank(String, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied String is not blank.
- notBlank(String, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied String is not blank.
- notEmpty(T[], String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array is neither null nor empty.
- notEmpty(T[], Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array is neither null nor empty.
- notEmpty(T, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied Collection is neither null nor empty.
- notEmpty(T, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied Collection is neither null nor empty.
- notNull(T, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied Object is not null.
- notNull(T, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied Object is not null.
- nullSafeToString(Class<?>...) - Static method in class org.junit.platform.commons.support.ClassSupport
-
Generate a comma-separated list of fully qualified class names for the
supplied classes.
- nullSafeToString(Class<?>...) - Static method in class org.junit.platform.commons.util.ClassUtils
-
Generate a comma-separated list of fully qualified class names for the
supplied classes.
- nullSafeToString(Object) - Static method in class org.junit.platform.commons.util.StringUtils
-
Convert the supplied Object to a String using the
following algorithm.
- nullSafeToString(Function<? super Class<?>, ? extends String>, Class<?>...) - Static method in class org.junit.platform.commons.support.ClassSupport
-
Generate a comma-separated list of mapped values for the supplied classes.
- nullSafeToString(Function<? super Class<?>, ? extends String>, Class<?>...) - Static method in class org.junit.platform.commons.util.ClassUtils
-
Generate a comma-separated list of mapped values for the supplied classes.