Skip navigation links
junit-commons
A C E F G I J L N O P R S T V W 

A

AnnotationUtils - Class in org.junit.gen5.commons.util
Collection of utilities for working with annotations.
API - Annotation Type in org.junit.gen5.commons.meta
Annotates public types within JUnit 5 to indicate their level of stability and how they are intended to be used.
API.Usage - Enum in org.junit.gen5.commons.meta
Indicates the level of stability of an API element.
append(String, Object) - Method in class org.junit.gen5.commons.util.ToStringBuilder
 

C

CollectionUtils - Class in org.junit.gen5.commons.util
Collection of utilities for working with Collections.
condition(boolean, String) - Static method in class org.junit.gen5.commons.util.Preconditions
Assert that the supplied predicate is true.
condition(boolean, Supplier<String>) - Static method in class org.junit.gen5.commons.util.Preconditions
Assert that the supplied predicate is true.

E

ExceptionUtils - Class in org.junit.gen5.commons.util
Collection of utilities for working with exceptions.

F

findAllClassesInClasspathRoot(File, Predicate<Class<?>>) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
findAllClassesInPackage(String, Predicate<Class<?>>) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
findAllMethodsInHierarchy(Class<?>, ReflectionUtils.MethodSortOrder) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
Return all methods in superclass hierarchy except from Object.
findAnnotatedMethods(Class<?>, Class<? extends Annotation>, ReflectionUtils.MethodSortOrder) - Static method in class org.junit.gen5.commons.util.AnnotationUtils
 
findAnnotation(AnnotatedElement, Class<A>) - Static method in class org.junit.gen5.commons.util.AnnotationUtils
Find the first annotation of annotationType that is either present or meta-present on the supplied element.
findMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
findMethods(Class<?>, Predicate<Method>) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
findMethods(Class<?>, Predicate<Method>, ReflectionUtils.MethodSortOrder) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
findNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
findRepeatableAnnotations(AnnotatedElement, Class<A>) - Static method in class org.junit.gen5.commons.util.AnnotationUtils
Find all repeatable annotations of annotationType that are either present, indirectly present, or meta-present on the supplied AnnotatedElement.
FunctionUtils - Class in org.junit.gen5.commons.util
Collection of utilities for working with Functions, Predicates, etc.

G

getAllAssignmentCompatibleClasses(Class<?>) - Static method in class org.junit.gen5.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.gen5.commons.util.ReflectionUtils
 
getDefaultClassLoader() - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
getOnlyElement(Collection<T>) - Static method in class org.junit.gen5.commons.util.CollectionUtils
Read the only element of a collection of size 1.
getOuterInstance(Object) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
getOuterInstance(Object, Class<?>) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 

I

invokeMethod(Method, Object, Object...) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
Invoke the supplied method, making it accessible if necessary and masking any checked exception as an unchecked exception.
isAbstract(Class<?>) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
isAbstract(Member) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
isAnnotated(AnnotatedElement, Class<? extends Annotation>) - Static method in class org.junit.gen5.commons.util.AnnotationUtils
Determine if an annotation of annotationType is either present or meta-present on the supplied element.
isBlank(String) - Static method in class org.junit.gen5.commons.util.StringUtils
Determine if the supplied String is blank (i.e., null or consisting only of whitespace characters).
isEmpty(CharSequence) - Static method in class org.junit.gen5.commons.util.StringUtils
Determine if the supplied CharSequence is empty (i.e., null or zero-length).
isNotBlank(String) - Static method in class org.junit.gen5.commons.util.StringUtils
Determine if the supplied String is not blank.
isNotEmpty(CharSequence) - Static method in class org.junit.gen5.commons.util.StringUtils
Determine if the supplied CharSequence is not empty.
isPackage(String) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
isPrivate(Class<?>) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
isPrivate(Member) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
isPublic(Class<?>) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
isPublic(Member) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
isStatic(Class<?>) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
isStatic(Member) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 

J

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

L

loadClass(String) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
loadClass(String, ClassLoader) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
 
loadMethod(String) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
Try to load a method by its fully qualified name (if such a thing exists for methods).

N

newInstance(Class<T>, Object...) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
Create a new instance of the specified Class by invoking the constructor whose argument list matches the types of the supplied arguments.
notBlank(String, String) - Static method in class org.junit.gen5.commons.util.Preconditions
Assert that the supplied String is not null or blank.
notBlank(String, Supplier<String>) - Static method in class org.junit.gen5.commons.util.Preconditions
Assert that the supplied String is not null or blank.
notEmpty(String, String) - Static method in class org.junit.gen5.commons.util.Preconditions
Assert that the supplied String is not null or empty.
notEmpty(String, Supplier<String>) - Static method in class org.junit.gen5.commons.util.Preconditions
Assert that the supplied String is not null or empty.
notEmpty(T, String) - Static method in class org.junit.gen5.commons.util.Preconditions
Assert that the supplied Collection is not null or empty.
notNull(T, String) - Static method in class org.junit.gen5.commons.util.Preconditions
Assert that the supplied Object is not null.
notNull(Object[], String) - Static method in class org.junit.gen5.commons.util.Preconditions
Assert that none of the supplied Objects are null.
notNull(T, Supplier<String>) - Static method in class org.junit.gen5.commons.util.Preconditions
Assert that the supplied Object is not null.
nullSafeToString(Class<?>...) - Static method in class org.junit.gen5.commons.util.StringUtils
Generate a comma-separated list of class names for the supplied classes.

O

org.junit.gen5.commons - package org.junit.gen5.commons
Internal common library of JUnit.
org.junit.gen5.commons.meta - package org.junit.gen5.commons.meta
Internal meta-annotations.
org.junit.gen5.commons.util - package org.junit.gen5.commons.util
Internal common utilities for JUnit.

P

Preconditions - Class in org.junit.gen5.commons.util
Collection of utilities for asserting preconditions for method and constructor arguments.
PreconditionViolationException - Exception in org.junit.gen5.commons.util
Thrown if a precondition is violated.
PreconditionViolationException(String) - Constructor for exception org.junit.gen5.commons.util.PreconditionViolationException
 
PreconditionViolationException(String, Throwable) - Constructor for exception org.junit.gen5.commons.util.PreconditionViolationException
 

R

readFieldValue(Class<T>, String, T) - Static method in class org.junit.gen5.commons.util.ReflectionUtils
Reads the value of a potentially inaccessible field.
readStackTrace(Throwable) - Static method in class org.junit.gen5.commons.util.ExceptionUtils
Reads the stacktrace of the supplied Throwable into a String.
ReflectionUtils - Class in org.junit.gen5.commons.util
Collection of utilities for working with the Java reflection APIs.
ReflectionUtils.MethodSortOrder - Enum in org.junit.gen5.commons.util
 

S

StringUtils - Class in org.junit.gen5.commons.util
Collection of utilities for working with Strings, CharSequences, etc.

T

throwAsUncheckedException(Throwable) - Static method in class org.junit.gen5.commons.util.ExceptionUtils
Throw the supplied Throwable, masked as an unchecked exception.
toString() - Method in class org.junit.gen5.commons.util.ToStringBuilder
 
ToStringBuilder - Class in org.junit.gen5.commons.util
Simple builder for generating strings in custom implementations of toString().
ToStringBuilder(Object) - Constructor for class org.junit.gen5.commons.util.ToStringBuilder
 
ToStringBuilder(Class<?>) - Constructor for class org.junit.gen5.commons.util.ToStringBuilder
 

V

valueOf(String) - Static method in enum org.junit.gen5.commons.meta.API.Usage
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.gen5.commons.util.ReflectionUtils.MethodSortOrder
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.junit.gen5.commons.meta.API.Usage
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.gen5.commons.util.ReflectionUtils.MethodSortOrder
Returns an array containing the constants of this enum type, in the order they are declared.

W

where(Function<T, V>, Predicate<? super V>) - Static method in class org.junit.gen5.commons.util.FunctionUtils
Returns a predicate that first applies the specified function and then tests the specified predicate against the result of the function.
A C E F G I J L N O P R S T V W 
Skip navigation links
junit-commons