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 | Description |
|---|---|
| AnnotationUtils |
Collection of utilities for working with annotations.
|
| BlacklistedExceptions |
Internal utilities for working with blacklisted exceptions.
|
| ClassFilter |
Class-related predicate holder used by reflection utilities.
|
| ClassLoaderUtils |
Collection of utilities for working with ClassLoader and associated tasks.
|
| ClassUtils |
Collection of utilities for working with
classes. |
| CollectionUtils |
Collection of utilities for working with
Collections. |
| ExceptionUtils |
Collection of utilities for working with exceptions.
|
| FunctionUtils |
Collection of utilities for working with
Functions,
Predicates, etc. |
| ModuleUtils |
Collection of utilities for working with
java.lang.Module
and friends. |
| PackageUtils |
Collection of utilities for working with packages.
|
| Preconditions |
Collection of utilities for asserting preconditions for method and
constructor arguments.
|
| ReflectionUtils |
Collection of utilities for working with the Java reflection APIs.
|
| StringUtils |
Collection of utilities for working with
Strings,
CharSequences, etc. |
| ToStringBuilder |
Simple builder for generating strings in custom implementations of
toString(). |
| Enum | Description |
|---|---|
| ReflectionUtils.HierarchyTraversalMode |
Modes in which a hierarchy can be traversed — for example, when
searching for methods or fields within a class hierarchy.
|
| Exception | Description |
|---|---|
| ModuleUtils |
Collection of utilities for working with
java.lang.Module
and friends. |
| PreconditionViolationException |
Thrown if a precondition is violated.
|