Uses of Enum Class
org.junit.platform.commons.support.HierarchyTraversalMode
Package
Description
Maintained common support APIs provided by the JUnit Platform.
-
Uses of HierarchyTraversalMode in org.junit.platform.commons.support
Modifier and TypeMethodDescriptionstatic HierarchyTraversalMode
Returns the enum constant of this class with the specified name.static HierarchyTraversalMode[]
HierarchyTraversalMode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionAnnotationSupport.findAnnotatedFields(Class<?> clazz, Class<? extends Annotation> annotationType, Predicate<Field> predicate, HierarchyTraversalMode traversalMode)
Find all fields of the supplied class or interface that are annotated or meta-annotated with the specifiedannotationType
and match the specifiedpredicate
, using the supplied hierarchy traversal mode.AnnotationSupport.findAnnotatedMethods(Class<?> clazz, Class<? extends Annotation> annotationType, HierarchyTraversalMode traversalMode)
Find all methods of the supplied class or interface that are annotated or meta-annotated with the specifiedannotationType
.ReflectionSupport.findFields(Class<?> clazz, Predicate<Field> predicate, HierarchyTraversalMode traversalMode)
Find all fields of the supplied class or interface that match the specifiedpredicate
.ReflectionSupport.findMethods(Class<?> clazz, Predicate<Method> predicate, HierarchyTraversalMode traversalMode)
Find all methods of the supplied class or interface that match the specifiedpredicate
.