Package | Description |
---|---|
org.junit.platform.commons.util |
Internal common utilities for JUnit.
|
Modifier and Type | Method | Description |
---|---|---|
static ReflectionUtils.HierarchyTraversalMode |
ReflectionUtils.HierarchyTraversalMode.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ReflectionUtils.HierarchyTraversalMode[] |
ReflectionUtils.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.Field> |
AnnotationUtils.findAnnotatedFields(java.lang.Class<?> clazz,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType,
java.util.function.Predicate<java.lang.reflect.Field> predicate,
ReflectionUtils.HierarchyTraversalMode traversalMode) |
Find all fields of the supplied class or interface
that are annotated or meta-annotated with the specified
annotationType and match the specified predicate . |
static java.util.List<java.lang.reflect.Method> |
AnnotationUtils.findAnnotatedMethods(java.lang.Class<?> clazz,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType,
ReflectionUtils.HierarchyTraversalMode traversalMode) |
|
static java.util.List<java.lang.reflect.Field> |
ReflectionUtils.findFields(java.lang.Class<?> clazz,
java.util.function.Predicate<java.lang.reflect.Field> predicate,
ReflectionUtils.HierarchyTraversalMode traversalMode) |
Find all fields of the supplied class or interface
that match the specified
predicate . |
static java.util.List<java.lang.reflect.Method> |
ReflectionUtils.findMethods(java.lang.Class<?> clazz,
java.util.function.Predicate<java.lang.reflect.Method> predicate,
ReflectionUtils.HierarchyTraversalMode traversalMode) |