Index

A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ABORT_VISIT - Enum constant in enum class org.junit.platform.commons.util.ReflectionUtils.CycleErrorHandling
 
addListener(LogRecordListener) - Static method in class org.junit.platform.commons.logging.LoggerFactory
Add the supplied LogRecordListener to the set of registered listeners.
ALL_PATTERN - Static variable in class org.junit.platform.commons.util.ClassNamePatternFilterUtils
 
andThen(Function<V, Try<U>>) - Method in class org.junit.platform.commons.function.Try
If this Try is a success, apply the supplied function to its value and return the resulting Try; if this Try is a failure, do nothing.
andThenTry(Try.Transformer<V, U>) - Method in class org.junit.platform.commons.function.Try
If this Try is a success, apply the supplied transformer to its value and return a new successful or failed Try depending on the transformer's outcome; if this Try is a failure, do nothing.
AnnotationSupport - Class in org.junit.platform.commons.support
AnnotationSupport provides static utility methods for common tasks regarding annotations — for example, checking if a class, method, or field is annotated with a particular annotation; finding annotations on a given class, method, or field; finding fields or methods annotated with a particular annotation, etc.
AnnotationUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with annotations.
append(String, Object) - Method in class org.junit.platform.commons.util.ToStringBuilder
 
apply(S) - Method in interface org.junit.platform.commons.function.Try.Transformer
Apply this transformer to the supplied value.

B

BLANK - Static variable in class org.junit.platform.commons.util.ClassNamePatternFilterUtils
 
BOTTOM_UP - Enum constant in enum class org.junit.platform.commons.support.HierarchyTraversalMode
Traverse the hierarchy using bottom-up semantics.
BOTTOM_UP - Enum constant in enum class org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
Traverse the hierarchy using bottom-up semantics.

C

call(Callable<V>) - Static method in class org.junit.platform.commons.function.Try
Call the supplied Callable and return a successful Try that contains the returned value or, in case an exception was thrown, a failed Try that contains the exception.
ClassFilter - Class in org.junit.platform.commons.support.scanning
Class-related predicate used by reflection utilities.
ClassLoaderUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with ClassLoader and associated tasks.
ClassNamePatternFilterUtils - Class in org.junit.platform.commons.util
Collection of utilities for creating filters based on class names.
ClasspathScanner - Interface in org.junit.platform.commons.support.scanning
ClasspathScanner allows to scan the classpath for classes and resources.
ClassSupport - Class in org.junit.platform.commons.support
ClassSupport provides static utility methods for common tasks regarding classes — for example, generating a comma-separated list of fully qualified class names for a set of supplied classes.
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 by the current thread.
CollectionUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with Collections.
Common Use Cases - Search tag in annotation interface org.junit.platform.commons.annotation.Testable
Section
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 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.
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.
containsWhitespace(String) - Static method in class org.junit.platform.commons.util.StringUtils
Determine if the supplied String contains any whitespace characters.
Contract - Annotation Interface in org.junit.platform.commons.annotation
Specifies some aspects of the annotated method's behavior to be used by tools for data flow analysis.
ConversionException - Exception Class in org.junit.platform.commons.support.conversion
ConversionException is an exception that can occur when an object is converted to another object.
ConversionException(String) - Constructor for exception class org.junit.platform.commons.support.conversion.ConversionException
 
ConversionException(String, Throwable) - Constructor for exception class org.junit.platform.commons.support.conversion.ConversionException
 
ConversionSupport - Class in org.junit.platform.commons.support.conversion
ConversionSupport provides static utility methods for converting a given object into an instance of a specified type.
convert(String, Class<T>, ClassLoader) - Static method in class org.junit.platform.commons.support.conversion.ConversionSupport
Convert the supplied source String into an instance of the specified target type.
Currently Unrecoverable Exceptions - Search tag in class org.junit.platform.commons.util.UnrecoverableExceptions
Section

D

debug(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the provided Throwable and message from the provided messageSupplier at debug level.
debug(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the message from the provided messageSupplier at debug level.
DEFAULT - Enum constant in enum class org.junit.platform.commons.support.SearchOption
Deprecated.
Search the inheritance hierarchy (i.e., the current class, implemented interfaces, and superclasses), but do not search on enclosing classes.
DEFAULT_PACKAGE_NAME - Static variable in class org.junit.platform.commons.util.PackageUtils
 
DefaultClasspathScanner - Class in org.junit.platform.commons.support.scanning
DISCLAIMER
DefaultClasspathScanner(Supplier<ClassLoader>, BiFunction<String, ClassLoader, Try<Class<?>>>) - Constructor for class org.junit.platform.commons.support.scanning.DefaultClasspathScanner
 
DefaultResource - Record Class in org.junit.platform.commons.support
DISCLAIMER
DefaultResource(String, URI) - Constructor for record class org.junit.platform.commons.support.DefaultResource
Creates an instance of a DefaultResource record class.
defaultToString(Object) - Static method in class org.junit.platform.commons.util.StringUtils
Convert the supplied Object to a default String representation using the following algorithm.
DISCLAIMER - Search tag in class org.junit.platform.commons.support.scanning.DefaultClasspathScanner
Section
DISCLAIMER - Search tag in class org.junit.platform.commons.util.AnnotationUtils
Section
DISCLAIMER - Search tag in class org.junit.platform.commons.util.ClassLoaderUtils
Section
DISCLAIMER - Search tag in class org.junit.platform.commons.util.ClassNamePatternFilterUtils
Section
DISCLAIMER - Search tag in class org.junit.platform.commons.util.ClassUtils
Section
DISCLAIMER - Search tag in class org.junit.platform.commons.util.CollectionUtils
Section
DISCLAIMER - Search tag in class org.junit.platform.commons.util.ExceptionUtils
Section
DISCLAIMER - Search tag in class org.junit.platform.commons.util.FunctionUtils
Section
DISCLAIMER - Search tag in class org.junit.platform.commons.util.ModuleUtils
Section
DISCLAIMER - Search tag in class org.junit.platform.commons.util.PackageUtils
Section
DISCLAIMER - Search tag in class org.junit.platform.commons.util.Preconditions
Section
DISCLAIMER - Search tag in class org.junit.platform.commons.util.ReflectionUtils
Section
DISCLAIMER - Search tag in class org.junit.platform.commons.util.RuntimeUtils
Section
DISCLAIMER - Search tag in class org.junit.platform.commons.util.ServiceLoaderUtils
Section
DISCLAIMER - Search tag in class org.junit.platform.commons.util.StringUtils
Section
DISCLAIMER - Search tag in class org.junit.platform.commons.util.ToStringBuilder
Section
DISCLAIMER - Search tag in class org.junit.platform.commons.util.UnrecoverableExceptions
Section
DISCLAIMER - Search tag in package org.junit.platform.commons
Section
DISCLAIMER - Search tag in package org.junit.platform.commons.logging
Section
DISCLAIMER - Search tag in package org.junit.platform.commons.util
Section
DISCLAIMER - Search tag in record class org.junit.platform.commons.support.DefaultResource
Section
doesNotContainIsoControlCharacter(String) - Static method in class org.junit.platform.commons.util.StringUtils
Determine if the supplied String does not contain any ISO control characters.
doesNotContainWhitespace(String) - Static method in class org.junit.platform.commons.util.StringUtils
Determine if the supplied String does not contain any whitespace characters.

E

equals(Object) - Method in record class org.junit.platform.commons.support.DefaultResource
Indicates whether some other object is "equal to" this one.
error(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the provided Throwable and message from the provided messageSupplier at error level.
error(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the message from the provided messageSupplier at error level.
ExceptionUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with exceptions.
excludeMatchingClasses(String) - Static method in class org.junit.platform.commons.util.ClassNamePatternFilterUtils
Create a Predicate that can be used to exclude (i.e., filter out) objects of type T whose fully qualified class names match any of the supplied patterns.
excludeMatchingClassNames(String) - Static method in class org.junit.platform.commons.util.ClassNamePatternFilterUtils
Create a Predicate that can be used to exclude (i.e., filter out) fully qualified class names matching any of the supplied patterns.

F

failure(Exception) - Static method in class org.junit.platform.commons.function.Try
Convert the supplied exception into a failed Try.
filter(ServiceLoader<T>, Predicate<? super Class<? extends T>>) - Static method in class org.junit.platform.commons.util.ServiceLoaderUtils
Filters the supplied service loader using the supplied predicate.
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, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all classes in the supplied moduleName that match the specified classFilter and classNameFilter predicates.
findAllClassesInModule(String, Predicate<Class<?>>, Predicate<String>) - 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.
findAllClassesInModule(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
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.
findAllResourcesInClasspathRoot(URI, Predicate<Resource>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all resources in the supplied classpath root that match the specified resourceFilter predicate.
findAllResourcesInClasspathRoot(URI, Predicate<Resource>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findAllResourcesInModule(String, Predicate<Resource>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all resources in the supplied moduleName that match the specified resourceFilter predicate.
findAllResourcesInModule(String, Predicate<Resource>) - Static method in class org.junit.platform.commons.util.ModuleUtils
Find all resources for the given module name.
findAllResourcesInModule(String, Predicate<Resource>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findAllResourcesInPackage(String, Predicate<Resource>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all resources in the supplied basePackageName that match the specified resourceFilter predicate.
findAllResourcesInPackage(String, Predicate<Resource>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findAnnotatedFields(Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find all distinct fields of the supplied class or interface that are annotated or meta-annotated with the specified annotationType, using top-down search semantics within the type hierarchy.
findAnnotatedFields(Class<?>, Class<? extends Annotation>, Predicate<Field>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find all distinct 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>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
 
findAnnotatedFields(Class<?>, Class<? extends Annotation>, Predicate<Field>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find all distinct fields of the supplied class or interface that are annotated or meta-annotated with the specified annotationType and match the specified predicate, using the supplied hierarchy traversal mode.
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.
findAnnotatedFieldValues(Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find the values of all static fields of the supplied class or interface that are annotated or meta-annotated with the specified annotationType, using top-down search semantics within the type hierarchy.
findAnnotatedFieldValues(Class<?>, Class<? extends Annotation>, Class<T>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find the values of all static fields of the supplied class or interface that are declared to be of the specified fieldType and are annotated or meta-annotated with the specified annotationType, using top-down search semantics within the type hierarchy.
findAnnotatedFieldValues(Object, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find the values of all non-static fields of the supplied instance that are annotated or meta-annotated with the specified annotationType, using top-down search semantics within the type hierarchy.
findAnnotatedFieldValues(Object, Class<? extends Annotation>, Class<T>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find the values of all non-static fields of the supplied instance that are declared to be of the specified fieldType and are annotated or meta-annotated with the specified annotationType, using top-down search semantics within the type hierarchy.
findAnnotatedMethods(Class<?>, Class<? extends Annotation>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find all distinct 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(Class<?>, Class<A>, boolean) - Static method in class org.junit.platform.commons.util.AnnotationUtils
Find the first annotation of the specified type that is either directly present, meta-present, or indirectly present on the supplied class, optionally searching recursively through the enclosing class hierarchy if not found on the supplied class.
findAnnotation(Class<?>, Class<A>, List<Class<?>>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find the first annotation of the specified type that is either directly present, meta-present, or indirectly present on the supplied class.
findAnnotation(Class<?>, Class<A>, SearchOption) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Deprecated.
Use AnnotationSupport.findAnnotation(AnnotatedElement, Class) (for SearchOption.DEFAULT) or AnnotationSupport.findAnnotation(Class, Class, List) (for SearchOption.INCLUDE_ENCLOSING_CLASSES) instead
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(Parameter, int, 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>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all distinct fields of the supplied class or interface that match the specified predicate.
findFields(Class<?>, Predicate<Field>, ReflectionUtils.HierarchyTraversalMode) - 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
 
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
 
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 distinct 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 supplied class, or inherited by the supplied class, that conform to the supplied predicate.
findNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findNestedClasses(Class<?>, Predicate<Class<?>>, ReflectionUtils.CycleErrorHandling) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
findNestedThrowables(Throwable) - Static method in class org.junit.platform.commons.util.ExceptionUtils
Find all causes and suppressed exceptions in the stack trace of the supplied Throwable.
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 declared to be of the specified fieldType and are 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 the supplied 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
 
findRepeatableAnnotations(Parameter, int, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
 
findRepeatableAnnotations(Optional<? extends AnnotatedElement>, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Find all repeatable annotations of the supplied annotationType that are either present, indirectly present, or meta-present on the supplied optional element.
findRepeatableAnnotations(Optional<? extends AnnotatedElement>, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
 
forEachInReverseOrder(List<T>, Consumer<? super T>) - Static method in class org.junit.platform.commons.util.CollectionUtils
Call the supplied action on each element of the supplied List from last to first element.
FunctionUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with Functions, Predicates, etc.

G

get() - Method in class org.junit.platform.commons.function.Try
If this Try is a success, get the contained value; if this Try is a failure, throw the contained exception.
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.
getClassLoader(Class<?>) - Static method in class org.junit.platform.commons.util.ClassLoaderUtils
Get the ClassLoader for the supplied Class, falling back to the default class loader if the class loader for the supplied class is null.
getDeclaredConstructor(Class<T>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Get the sole declared, non-synthetic Constructor for the supplied class.
getDefaultClassLoader() - Static method in class org.junit.platform.commons.util.ClassLoaderUtils
 
getFirstElement(Collection<T>) - Static method in class org.junit.platform.commons.util.CollectionUtils
Get the first element of the supplied collection unless it's empty.
getFullyQualifiedMethodName(Class<?>, Method) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Build the fully qualified method name for the method described by the supplied class and method.
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.
getFullyQualifiedMethodName(String, String, String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Build the fully qualified method name for the method described by the supplied class name, method name, and parameter types.
getInputStream() - Method in interface org.junit.platform.commons.support.Resource
Get an InputStream for reading this resource.
getInterfaceMethodIfPossible(Method, Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Determine a corresponding interface method for the given method handle, if possible.
getKotlinSuspendingFunctionGenericReturnType(Method) - Static method in class org.junit.platform.commons.util.KotlinReflectionUtils
 
getKotlinSuspendingFunctionParameters(Method) - Static method in class org.junit.platform.commons.util.KotlinReflectionUtils
 
getKotlinSuspendingFunctionParameterTypes(Method) - Static method in class org.junit.platform.commons.util.KotlinReflectionUtils
 
getKotlinSuspendingFunctionReturnType(Method) - Static method in class org.junit.platform.commons.util.KotlinReflectionUtils
 
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
 
getModuleOrImplementationVersion(Class<?>) - Static method in class org.junit.platform.commons.util.PackageUtils
Get the module or implementation version for the supplied type.
getModuleVersion(Class<?>) - Static method in class org.junit.platform.commons.util.ModuleUtils
 
getName() - Method in record class org.junit.platform.commons.support.DefaultResource
 
getName() - Method in interface org.junit.platform.commons.support.Resource
Get the name of this resource.
getNonNull() - Method in class org.junit.platform.commons.function.Try
If this Try is a success, get the contained value; if this Try is a failure, throw the contained exception.
getNonNullOrThrow(Function<Exception, E>) - Method in class org.junit.platform.commons.function.Try
If this Try is a success, get the contained value; if this Try is a failure, call the supplied Function with the contained exception and throw the resulting Exception.
getOnlyElement(Collection<T>) - Static method in class org.junit.platform.commons.util.CollectionUtils
Get the only element of a collection of size 1.
getOrThrow(Function<? super Exception, E>) - Method in class org.junit.platform.commons.function.Try
If this Try is a success, get the contained value; if this Try is a failure, call the supplied Function with the contained exception and throw the resulting Exception.
getRequiredMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
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.
getUri() - Method in record class org.junit.platform.commons.support.DefaultResource
 
getUri() - Method in interface org.junit.platform.commons.support.Resource
Get the URI of this resource.
getWrapperType(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Get the wrapper type for the supplied primitive type.

H

hashCode() - Method in record class org.junit.platform.commons.support.DefaultResource
Returns a hash code value for this object.
HierarchyTraversalMode - Enum Class in org.junit.platform.commons.support
Modes in which a hierarchy can be traversed — for example, when searching for methods or fields within a class hierarchy.

I

ifFailure(Consumer<Exception>) - Method in class org.junit.platform.commons.function.Try
If this Try is a failure, call the supplied Consumer with the contained exception; otherwise, do nothing.
ifSuccess(Consumer<V>) - Method in class org.junit.platform.commons.function.Try
If this Try is a success, call the supplied Consumer with the contained value; otherwise, do nothing.
INCLUDE_ENCLOSING_CLASSES - Enum constant in enum class org.junit.platform.commons.support.SearchOption
Deprecated.
because it is preferable to inspect the runtime enclosing types of a class rather than where they are declared.
includeMatchingClasses(String) - Static method in class org.junit.platform.commons.util.ClassNamePatternFilterUtils
Create a Predicate that can be used to include (i.e., filter in) objects of type T whose fully qualified class names match any of the supplied patterns.
includeMatchingClassNames(String) - Static method in class org.junit.platform.commons.util.ClassNamePatternFilterUtils
Create a Predicate that can be used to include (i.e., filter in) fully qualified class names matching any of the supplied patterns.
info(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the provided Throwable and message from the provided messageSupplier at info level.
info(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the message from the provided messageSupplier at info level.
invokeKotlinSuspendingFunction(Method, Object, Object[]) - Static method in class org.junit.platform.commons.util.KotlinReflectionUtils
 
invokeMethod(Method, Object, Object...) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Invoke the supplied method, making it accessible if necessary and masking any checked exception as an unchecked exception.
invokeMethod(Method, Object, Object...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isAbstract(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied class is abstract.
isAbstract(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isAbstract(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied member is abstract.
isAbstract(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isAnnotated(AnnotatedElement, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Determine if an annotation of annotationType is either present or meta-present on the supplied element.
isAnnotated(AnnotatedElement, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
Determine if an annotation of annotationType is either present or meta-present on the supplied element.
isAnnotated(Parameter, int, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
 
isAnnotated(Optional<? extends AnnotatedElement>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
Determine if an annotation of annotationType is either present or meta-present on the supplied optional element.
isAnnotated(Optional<? extends AnnotatedElement>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
Determine if an annotation of annotationType is either present or meta-present on the supplied optional element.
isArray(Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Determine if the supplied object is an array.
isAssignableTo(Object, Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Determine if the supplied object can be assigned to the supplied target type for the purpose of reflective method invocations.
isAssignableTo(Class<?>, Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Determine if an object of the supplied source type can be assigned to the supplied target type for the purpose of reflective method invocations.
isBlank(String) - Static method in class org.junit.platform.commons.util.StringUtils
Determine if the supplied String is blank (i.e., null or consisting only of whitespace characters).
isConvertibleToStream(Class<?>) - Static method in class org.junit.platform.commons.util.CollectionUtils
Determine if an instance of the supplied type can be converted into a Stream.
isDebugMode() - Static method in class org.junit.platform.commons.util.RuntimeUtils
Try to determine whether the VM was started in debug mode or not.
isFinal(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied class is final.
isFinal(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isFinal(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied member is final.
isFinal(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isInnerClass(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Determine if the supplied class is an inner class (i.e., a non-static member class).
isJavaPlatformModuleSystemAvailable() - Static method in class org.junit.platform.commons.util.ModuleUtils
Java 9+ runtime supports the Java Platform Module System.
isKotlinInterfaceDefaultImplsClass(Class<?>) - Static method in class org.junit.platform.commons.util.KotlinReflectionUtils
Determines whether the supplied class is a DefaultImpls class generated by the Kotlin compiler.
isKotlinSuspendingFunction(Method) - Static method in class org.junit.platform.commons.util.KotlinReflectionUtils
 
isMethodPresent(Class<?>, Predicate<Method>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Determine if a Method matching the supplied Predicate is present within the type hierarchy of the specified class, 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.
isMultidimensionalArray(Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Determine if the supplied object is a multidimensional array.
isNestedClassPresent(Class<?>, Predicate<Class<?>>, ReflectionUtils.CycleErrorHandling) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Determine if a nested class within the supplied class, or inherited by the supplied class, that conforms to the supplied predicate is present.
isNotAbstract(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied class is not abstract.
isNotAbstract(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isNotAbstract(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied member is not abstract.
isNotAbstract(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isNotBlank(String) - Static method in class org.junit.platform.commons.util.StringUtils
Determine if the supplied String is not blank.
isNotFinal(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied class is not final.
isNotFinal(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isNotFinal(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied member is not final.
isNotFinal(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isNotPrivate(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied class is not private.
isNotPrivate(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isNotPrivate(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied member is not private.
isNotPrivate(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isNotStatic(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied class is not static.
isNotStatic(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isNotStatic(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied member is not static.
isNotStatic(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isPrivate(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied class is private.
isPrivate(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isPrivate(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied member is private.
isPrivate(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isPublic(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied class is public.
isPublic(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isPublic(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied member is public.
isPublic(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isRecordClass(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Returns whether the supplied clazz is a record class.
isRecordObject(Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Returns whether the supplied object is an instance of a record class.
isStatic(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied class is static.
isStatic(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
isStatic(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
Determine if the supplied member is static.
isStatic(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 

J

JUnitException - Exception Class in org.junit.platform.commons
Base class for all RuntimeExceptions thrown by JUnit.
JUnitException(String) - Constructor for exception class org.junit.platform.commons.JUnitException
 
JUnitException(String, Throwable) - Constructor for exception class org.junit.platform.commons.JUnitException
 
JUnitException(String, Throwable, boolean, boolean) - Constructor for exception class org.junit.platform.commons.JUnitException
 

K

KotlinReflectionUtils - Class in org.junit.platform.commons.util
Internal Kotlin-specific reflection utilities

L

loadRequiredClass(String, ClassLoader) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Load a class by its primitive name or fully qualified name, using the supplied ClassLoader.
Logger - Interface in org.junit.platform.commons.logging
The Logger API serves as a simple logging facade for java.util.logging (JUL).
LoggerFactory - Class in org.junit.platform.commons.logging
Factory for the Logger facade for JUL.
LogRecordListener - Class in org.junit.platform.commons.logging
LogRecordListener is only intended for testing purposes within JUnit's own test suite.
LogRecordListener() - Constructor for class org.junit.platform.commons.logging.LogRecordListener
 
logRecordSubmitted(LogRecord) - Method in class org.junit.platform.commons.logging.LogRecordListener
Inform the listener of a LogRecord that was submitted to JUL for processing.
LruCache<K,V> - Class in org.junit.platform.commons.util
A simple LRU cache with a maximum size.
LruCache(int) - Constructor for class org.junit.platform.commons.util.LruCache
Create a new LRU cache that maintains at most the supplied number of entries.

M

makeAccessible(Field) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Make the supplied field accessible via reflection.
makeAccessible(Field) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
makeAccessible(T) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
map(Function<String, ? extends T>, BiFunction<String, String, ? extends T>) - Method in interface org.junit.platform.commons.util.StringUtils.TwoPartSplitResult
Map the result of splitting a string into up to two parts.
mapTwo(Supplier<? extends RuntimeException>, BiFunction<String, String, ? extends T>) - Method in interface org.junit.platform.commons.util.StringUtils.TwoPartSplitResult
Map the result of splitting a string into two parts or throw an exception.
match(Class<?>) - Method in class org.junit.platform.commons.support.scanning.ClassFilter
Test the given class using the stored class predicate.
match(String) - Method in class org.junit.platform.commons.support.scanning.ClassFilter
Test the given name using the stored name predicate.
ModifierSupport - Class in org.junit.platform.commons.support
ModifierSupport provides static utility methods for working with class and member modifiers — for example, to determine if a class or member is declared as public, private, abstract, static, etc.
ModuleUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with java.lang.Module and friends.
Motivation for @Testable - Search tag in annotation interface org.junit.platform.commons.annotation.Testable
Section

N

name() - Method in record class org.junit.platform.commons.support.DefaultResource
Returns the value of the name record component.
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(int[], 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.
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.
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.util.ClassUtils
Get the fully qualified name of the supplied class.
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(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(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.
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.

O

of(Predicate<Class<?>>) - Static method in class org.junit.platform.commons.support.scanning.ClassFilter
Create a ClassFilter instance that accepts all names but filters classes.
of(Predicate<String>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.support.scanning.ClassFilter
Create a ClassFilter instance that filters by names and classes.
orElse(Supplier<Try<V>>) - Method in class org.junit.platform.commons.function.Try
If this Try is a failure, call the supplied supplier and return the resulting Try; if this Try is a success, do nothing.
orElseTry(Callable<V>) - Method in class org.junit.platform.commons.function.Try
If this Try is a failure, call the supplied action and return a new successful or failed Try depending on the action's outcome; if this Try is a success, do nothing.
org.junit.platform.commons - module org.junit.platform.commons
Common APIs and support utilities for the JUnit Platform.
org.junit.platform.commons - package org.junit.platform.commons
Common APIs and support utilities for the JUnit Platform.
org.junit.platform.commons.annotation - package org.junit.platform.commons.annotation
Common annotations for the JUnit Platform.
org.junit.platform.commons.function - package org.junit.platform.commons.function
Functional interfaces and support classes.
org.junit.platform.commons.logging - package org.junit.platform.commons.logging
Internal logging package.
org.junit.platform.commons.support - package org.junit.platform.commons.support
Common support APIs provided by the JUnit Platform.
org.junit.platform.commons.support.conversion - package org.junit.platform.commons.support.conversion
Conversion APIs provided by the JUnit Platform.
org.junit.platform.commons.support.scanning - package org.junit.platform.commons.support.scanning
Classpath scanning APIs provided by the JUnit Platform.
org.junit.platform.commons.util - package org.junit.platform.commons.util
Internal common utilities for JUnit.

P

PackageUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with packages.
parseFullyQualifiedFieldName(String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Parse the supplied fully qualified field name into a 2-element String[] with the following content.
parseFullyQualifiedMethodName(String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Parse the supplied fully qualified method name into a 3-element String[] with the following content.
Preconditions - Class in org.junit.platform.commons.util
Collection of utilities for asserting preconditions for method and constructor arguments.
PreconditionViolationException - Exception Class in org.junit.platform.commons
Thrown if a precondition is violated.
PreconditionViolationException(String) - Constructor for exception class org.junit.platform.commons.PreconditionViolationException
 
PreconditionViolationException(String, Throwable) - Constructor for exception class org.junit.platform.commons.PreconditionViolationException
 
pruneStackTrace(Throwable, List<String>) - Static method in class org.junit.platform.commons.util.ExceptionUtils
Prune the stack trace of the supplied Throwable by removing stack trace elements from the org.junit, jdk.internal.reflect, and sun.reflect packages.

R

readFieldValues(List<Field>, Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Read the values of the supplied fields, making each field accessible if necessary and masking any checked exception as an unchecked exception.
readFieldValues(List<Field>, Object, Predicate<Field>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Read the values of the supplied fields, making each field accessible if necessary, masking any checked exception as an unchecked exception, and filtering out fields that do not pass the supplied predicate.
readStackTrace(Throwable) - Static method in class org.junit.platform.commons.util.ExceptionUtils
Read the stacktrace of the supplied Throwable into a String.
ReflectionSupport - Class in org.junit.platform.commons.support
ReflectionSupport provides static utility methods for common reflection tasks — for example, scanning for classes in the class-path or module-path, loading classes, finding methods, invoking methods, etc.
ReflectionUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with the Java reflection APIs.
ReflectionUtils.CycleErrorHandling - Enum Class in org.junit.platform.commons.util
 
ReflectionUtils.HierarchyTraversalMode - Enum Class in org.junit.platform.commons.util
Modes in which a hierarchy can be traversed — for example, when searching for methods or fields within a class hierarchy.
removeEldestEntry(Map.Entry<K, V>) - Method in class org.junit.platform.commons.util.LruCache
 
removeListener(LogRecordListener) - Static method in class org.junit.platform.commons.logging.LoggerFactory
Remove the supplied LogRecordListener from the set of registered listeners.
replaceIsoControlCharacters(String, String) - Static method in class org.junit.platform.commons.util.StringUtils
Replace all ISO control characters in the supplied String.
replaceWhitespaceCharacters(String, String) - Static method in class org.junit.platform.commons.util.StringUtils
Replace all whitespace characters in the supplied String.
Requirements for IDEs and Tooling Vendors - Search tag in annotation interface org.junit.platform.commons.annotation.Testable
Section
resolveParameterTypes(Class<?>, String, String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
Resource - Interface in org.junit.platform.commons.support
Resource represents a resource on the classpath.
ResourceUtils - Class in org.junit.platform.commons.util
Collection of static utility methods for working with resources.
Restrictions for TestEngine Implementations - Search tag in annotation interface org.junit.platform.commons.annotation.Testable
Section
rethrowIfUnrecoverable(Throwable) - Static method in class org.junit.platform.commons.util.UnrecoverableExceptions
Rethrow the supplied exception if it is unrecoverable.
returnsPrimitiveVoid(Method) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Determine if the return type of the supplied method is primitive void.
RuntimeUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with Runtime, RuntimeMXBean, etc.

S

scanForClassesInClasspathRoot(URI, ClassFilter) - Method in interface org.junit.platform.commons.support.scanning.ClasspathScanner
Find all classes in the supplied classpath root that match the specified classFilter filter.
scanForClassesInClasspathRoot(URI, ClassFilter) - Method in class org.junit.platform.commons.support.scanning.DefaultClasspathScanner
 
scanForClassesInPackage(String, ClassFilter) - Method in interface org.junit.platform.commons.support.scanning.ClasspathScanner
Find all classes in the supplied classpath root that match the specified classFilter filter.
scanForClassesInPackage(String, ClassFilter) - Method in class org.junit.platform.commons.support.scanning.DefaultClasspathScanner
 
scanForResourcesInClasspathRoot(URI, Predicate<Resource>) - Method in interface org.junit.platform.commons.support.scanning.ClasspathScanner
Find all resources in the supplied classpath root that match the specified resourceFilter predicate.
scanForResourcesInClasspathRoot(URI, Predicate<Resource>) - Method in class org.junit.platform.commons.support.scanning.DefaultClasspathScanner
 
scanForResourcesInPackage(String, Predicate<Resource>) - Method in interface org.junit.platform.commons.support.scanning.ClasspathScanner
Find all resources in the supplied classpath root that match the specified resourceFilter predicate.
scanForResourcesInPackage(String, Predicate<Resource>) - Method in class org.junit.platform.commons.support.scanning.DefaultClasspathScanner
 
Search Algorithm - Search tag in org.junit.platform.commons.support.conversion.ConversionSupport.convert(String, Class<T>, ClassLoader)
Section
SearchOption - Enum Class in org.junit.platform.commons.support
Deprecated.
because there is only a single non-deprecated search option left
ServiceLoaderUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with ServiceLoader.
splitIntoTwo(char, String) - Static method in class org.junit.platform.commons.util.StringUtils
Split the supplied String into up to two parts using the supplied separator character.
splitIntoTwo(String, String) - Static method in class org.junit.platform.commons.util.StringUtils
Split the supplied String into up to two parts using the supplied separator string.
stream() - Method in class org.junit.platform.commons.logging.LogRecordListener
Get a stream of log records that have been submitted to this listener by the current thread.
stream(Class<?>) - Method in class org.junit.platform.commons.logging.LogRecordListener
Get a stream of log records that have been submitted to this listener by the current thread for the logger name equal to the name of the given class.
stream(Class<?>, Level) - Method in class org.junit.platform.commons.logging.LogRecordListener
Get a stream of log records that have been submitted to this listener by the current thread for the logger name equal to the name of the given class at the given log level.
stream(Level) - Method in class org.junit.platform.commons.logging.LogRecordListener
Get a stream of log records that have been submitted to this listener by the current thread at the given log level.
streamAllClassesInClasspathRoot(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.
streamAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
streamAllClassesInClasspathRoot(URI, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
streamAllClassesInModule(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all classes in the supplied moduleName that match the specified classFilter and classNameFilter predicates.
streamAllClassesInModule(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
streamAllClassesInModule(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
streamAllClassesInPackage(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.
streamAllClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
since 1.10
streamAllClassesInPackage(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
streamAllResourcesInClasspathRoot(URI, Predicate<Resource>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all resources in the supplied classpath root that match the specified resourceFilter predicate.
streamAllResourcesInClasspathRoot(URI, Predicate<Resource>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
streamAllResourcesInModule(String, Predicate<Resource>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all resources in the supplied moduleName that match the specified resourceFilter predicate.
streamAllResourcesInModule(String, Predicate<Resource>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
streamAllResourcesInPackage(String, Predicate<Resource>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all resources in the supplied basePackageName that match the specified resourceFilter predicate.
streamAllResourcesInPackage(String, Predicate<Resource>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
streamFields(Class<?>, Predicate<Field>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all distinct fields of the supplied class or interface that match the specified predicate.
streamFields(Class<?>, Predicate<Field>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
streamMethods(Class<?>, Predicate<Method>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all distinct methods of the supplied class or interface that match the specified predicate.
streamMethods(Class<?>, Predicate<Method>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
streamNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Find all nested classes within the supplied class, or inherited by the supplied class, that conform to the supplied predicate.
streamNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
since 1.10
streamNestedClasses(Class<?>, Predicate<Class<?>>, ReflectionUtils.CycleErrorHandling) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
StringUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with Strings, CharSequences, etc.
StringUtils.TwoPartSplitResult - Interface in org.junit.platform.commons.util
The result of splitting a string into up to two parts.
stripQueryComponent(URI) - Static method in class org.junit.platform.commons.util.ResourceUtils
Strip the query component from the supplied URI.
success(V) - Static method in class org.junit.platform.commons.function.Try
Convert the supplied value into a succeeded Try.
Supported Target Elements - Search tag in annotation interface org.junit.platform.commons.annotation.Testable
Section

T

Testable - Annotation Interface in org.junit.platform.commons.annotation
@Testable is used to signal to IDEs and tooling vendors that the annotated or meta-annotated element is testable.
THROW_EXCEPTION - Enum constant in enum class org.junit.platform.commons.util.ReflectionUtils.CycleErrorHandling
 
throwAsUncheckedException(Throwable) - Static method in class org.junit.platform.commons.util.ExceptionUtils
Throw the supplied Throwable, masked as an unchecked exception.
toOptional() - Method in class org.junit.platform.commons.function.Try
If this Try is a failure, return an empty Optional; if this Try is a success, wrap the contained value using Optional.ofNullable(Object).
TOP_DOWN - Enum constant in enum class org.junit.platform.commons.support.HierarchyTraversalMode
Traverse the hierarchy using top-down semantics.
TOP_DOWN - Enum constant in enum class org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
Traverse the hierarchy using top-down semantics.
toStream(Object) - Static method in class org.junit.platform.commons.util.CollectionUtils
Convert an object of one of the following supported types into a Stream.
toString() - Method in record class org.junit.platform.commons.support.DefaultResource
Returns a string representation of this record class.
toString() - Method in class org.junit.platform.commons.util.ToStringBuilder
 
ToStringBuilder - Class in org.junit.platform.commons.util
Simple builder for generating strings in custom implementations of toString().
ToStringBuilder(Class<?>) - Constructor for class org.junit.platform.commons.util.ToStringBuilder
 
ToStringBuilder(Object) - Constructor for class org.junit.platform.commons.util.ToStringBuilder
 
ToStringBuilder(String) - Constructor for class org.junit.platform.commons.util.ToStringBuilder
 
trace(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the provided Throwable and message from the provided messageSupplier at trace level.
trace(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the message from the provided messageSupplier at trace level.
Try<V> - Class in org.junit.platform.commons.function
A container object which may either contain a nullable value in case of success or an exception in case of failure.
Try.Transformer<S,T> - Interface in org.junit.platform.commons.function
A transformer for values of type S to type T.
tryToGetMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Try to get the Method in the specified class with the specified name and parameter types.
tryToGetResources(String) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Try to get the resources for the supplied classpath resource name.
tryToGetResources(String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Try to get resources by their name, using the ClassLoaderUtils.getDefaultClassLoader().
tryToGetResources(String, ClassLoader) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Try to load the resources for the supplied classpath resource name, using the supplied ClassLoader.
tryToGetResources(String, ClassLoader) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Try to get resources by their name, using the supplied ClassLoader.
tryToLoadClass(String) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Try to load a class by its primitive name or fully qualified name, using the default ClassLoader.
tryToLoadClass(String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 
tryToLoadClass(String, ClassLoader) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Try to load a class by its primitive name or fully qualified name, using the supplied ClassLoader.
tryToLoadClass(String, ClassLoader) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Try to load a class by its primitive name or fully qualified name, using the supplied ClassLoader.
tryToReadFieldValue(Class<T>, String, T) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Try to read the value of a potentially inaccessible or nonexistent field.
tryToReadFieldValue(Field) - Static method in class org.junit.platform.commons.util.ReflectionUtils
Try to read the value of a potentially inaccessible static field.
tryToReadFieldValue(Field, Object) - Static method in class org.junit.platform.commons.support.ReflectionSupport
Try to read the value of a potentially inaccessible field.
tryToReadFieldValue(Field, Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
 

U

UnrecoverableExceptions - Class in org.junit.platform.commons.util
Internal utilities for working with unrecoverable exceptions.
uri() - Method in record class org.junit.platform.commons.support.DefaultResource
Returns the value of the uri record component.

V

value() - Element in annotation interface org.junit.platform.commons.annotation.Contract
Contains the contract clauses describing causal relations between call arguments and the returned value.
valueOf(String) - Static method in enum class org.junit.platform.commons.support.HierarchyTraversalMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.junit.platform.commons.support.SearchOption
Deprecated.
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.junit.platform.commons.util.ReflectionUtils.CycleErrorHandling
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.junit.platform.commons.support.HierarchyTraversalMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.junit.platform.commons.support.SearchOption
Deprecated.
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.junit.platform.commons.util.ReflectionUtils.CycleErrorHandling
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
Returns an array containing the constants of this enum class, in the order they are declared.

W

warn(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the provided Throwable and message from the provided messageSupplier at warning level.
warn(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the message from the provided messageSupplier at warning level.
Warning - Search tag in org.junit.platform.commons.util.ExceptionUtils.throwAsUncheckedException(Throwable)
Section
where(Function<T, V>, Predicate<? super V>) - Static method in class org.junit.platform.commons.util.FunctionUtils
Return a predicate that first applies the specified function and then tests the specified predicate against the result of the function.
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form