| Package | Description |
|---|---|
| org.junit.platform.commons.support |
Maintained common support APIs provided by the JUnit Platform.
|
| Modifier and Type | Method | Description |
|---|---|---|
static HierarchyTraversalMode |
HierarchyTraversalMode.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HierarchyTraversalMode[] |
HierarchyTraversalMode.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.List<java.lang.reflect.Method> |
AnnotationSupport.findAnnotatedMethods(java.lang.Class<?> clazz,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType,
HierarchyTraversalMode traversalMode) |
Find all methods of the supplied class or interface
that are annotated or meta-annotated with the specified
annotationType. |
static java.util.List<java.lang.reflect.Method> |
ReflectionSupport.findMethods(java.lang.Class<?> clazz,
java.util.function.Predicate<java.lang.reflect.Method> predicate,
HierarchyTraversalMode traversalMode) |
Find all methods of the supplied class or interface
that match the specified
predicate. |