Package | Description |
---|---|
org.junit.platform.commons.util |
Internal common utilities for JUnit.
|
Modifier and Type | Method | Description |
---|---|---|
static ReflectionUtils.HierarchyTraversalMode |
ReflectionUtils.HierarchyTraversalMode.valueOf(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 List<Field> |
AnnotationUtils.findAnnotatedFields(Class<?> clazz,
Class<? extends Annotation> annotationType,
Predicate<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 List<Method> |
AnnotationUtils.findAnnotatedMethods(Class<?> clazz,
Class<? extends Annotation> annotationType,
ReflectionUtils.HierarchyTraversalMode traversalMode) |
|
static List<Field> |
ReflectionUtils.findFields(Class<?> clazz,
Predicate<Field> predicate,
ReflectionUtils.HierarchyTraversalMode traversalMode) |
|
static List<Method> |
ReflectionUtils.findMethods(Class<?> clazz,
Predicate<Method> predicate,
ReflectionUtils.HierarchyTraversalMode traversalMode) |
Copyright © 2019. All rights reserved.