Uses of Enum Class
org.junit.platform.commons.support.HierarchyTraversalMode
Packages that use HierarchyTraversalMode
Package
Description
Common support APIs provided by the JUnit Platform.
-
Uses of HierarchyTraversalMode in org.junit.platform.commons.support
Methods in org.junit.platform.commons.support that return HierarchyTraversalModeModifier and TypeMethodDescriptionstatic HierarchyTraversalModeReturns 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.Methods in org.junit.platform.commons.support with parameters of type HierarchyTraversalModeModifier and TypeMethodDescriptionAnnotationSupport.findAnnotatedFields(Class<?> clazz, Class<? extends Annotation> annotationType, Predicate<Field> predicate, HierarchyTraversalMode traversalMode) Find all distinct fields of the supplied class or interface that are annotated or meta-annotated with the specifiedannotationTypeand match the specifiedpredicate, using the supplied hierarchy traversal mode.AnnotationSupport.findAnnotatedMethods(Class<?> clazz, Class<? extends Annotation> annotationType, HierarchyTraversalMode traversalMode) Find all distinct 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 distinct fields of the supplied class or interface that match the specifiedpredicate.ReflectionSupport.findMethods(Class<?> clazz, Predicate<Method> predicate, HierarchyTraversalMode traversalMode) Find all distinct methods of the supplied class or interface that match the specifiedpredicate.ReflectionSupport.streamFields(Class<?> clazz, Predicate<Field> predicate, HierarchyTraversalMode traversalMode) Find all distinct fields of the supplied class or interface that match the specifiedpredicate.ReflectionSupport.streamMethods(Class<?> clazz, Predicate<Method> predicate, HierarchyTraversalMode traversalMode) Find all distinct methods of the supplied class or interface that match the specifiedpredicate.