Uses of Enum Class
org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
Packages that use ReflectionUtils.HierarchyTraversalMode
-
Uses of ReflectionUtils.HierarchyTraversalMode in org.junit.platform.commons.util
Subclasses with type arguments of type ReflectionUtils.HierarchyTraversalMode in org.junit.platform.commons.utilModifier and TypeClassDescriptionstatic enum
Modes in which a hierarchy can be traversed — for example, when searching for methods or fields within a class hierarchy.Methods in org.junit.platform.commons.util that return ReflectionUtils.HierarchyTraversalModeModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.ReflectionUtils.HierarchyTraversalMode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.junit.platform.commons.util with parameters of type ReflectionUtils.HierarchyTraversalModeModifier and TypeMethodDescriptionAnnotationUtils.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 specifiedannotationType
and match the specifiedpredicate
.AnnotationUtils.findAnnotatedMethods
(Class<?> clazz, Class<? extends Annotation> annotationType, ReflectionUtils.HierarchyTraversalMode traversalMode) ReflectionUtils.findFields
(Class<?> clazz, Predicate<Field> predicate, ReflectionUtils.HierarchyTraversalMode traversalMode) ReflectionUtils.findMethods
(Class<?> clazz, Predicate<Method> predicate, ReflectionUtils.HierarchyTraversalMode traversalMode) ReflectionUtils.streamFields
(Class<?> clazz, Predicate<Field> predicate, ReflectionUtils.HierarchyTraversalMode traversalMode) ReflectionUtils.streamMethods
(Class<?> clazz, Predicate<Method> predicate, ReflectionUtils.HierarchyTraversalMode traversalMode)