Top Description Classes
module org.junit.platform.commons

Package org.junit.platform.commons.util

Annotations
@NullMarked
Imports
org.jspecify.annotations.NullMarked

Internal common utilities for JUnit.

DISCLAIMER

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!

Class Summary

Modifier and TypeClass and Description
public class
AnnotationUtils

Collection of utilities for working with annotations.

public class
ClassLoaderUtils

Collection of utilities for working with ClassLoader and associated tasks.

public class
ClassNamePatternFilterUtils

Collection of utilities for creating filters based on class names.

pack-priv class
pack-priv class
pack-priv class
public class
ClassUtils

Collection of utilities for working with classes.

pack-priv class
public class
CollectionUtils

Collection of utilities for working with Collections.

pack-priv class
DefaultClasspathScanner

DISCLAIMER

These utilities are intended solely for usage within the JUnit framework itself.

public class
ExceptionUtils

Collection of utilities for working with exceptions.

public class
FunctionUtils

Collection of utilities for working with Functions, Predicates, etc. DISCLAIMER

These utilities are intended solely for usage within the JUnit framework itself.

public class
KotlinReflectionUtils

Internal Kotlin-specific reflection utilities

pack-priv class
public class
LruCache<
the type of keys maintained by this cache
K
,
the type of values maintained by this cache
V
>

A simple LRU cache with a maximum size.

public class
ModuleUtils

Collection of utilities for working with java.lang.Module and friends.

public class
PackageUtils

Collection of utilities for working with packages.

public class
Preconditions

Collection of utilities for asserting preconditions for method and constructor arguments.

public class
ReflectionUtils

Collection of utilities for working with the Java reflection APIs.

public class
ResourceUtils

Collection of static utility methods for working with resources.

public class
RuntimeUtils

Collection of utilities for working with Runtime, java.lang.management.RuntimeMXBean, etc. DISCLAIMER

These utilities are intended solely for usage within the JUnit framework itself.

public class
ServiceLoaderUtils

Collection of utilities for working with ServiceLoader.

public class
StringUtils

Collection of utilities for working with Strings, CharSequences, etc. DISCLAIMER

These utilities are intended solely for usage within the JUnit framework itself.

public class
ToStringBuilder

Simple builder for generating strings in custom implementations of toString().

public class
UnrecoverableExceptions

Internal utilities for working with unrecoverable exceptions.