Uses of Class
org.junit.platform.commons.support.HierarchyTraversalMode
| Package | Description |
|---|---|
| org.junit.platform.commons.support |
Maintained 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 HierarchyTraversalMode Modifier and Type Method Description static HierarchyTraversalModeHierarchyTraversalMode. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static HierarchyTraversalMode[]HierarchyTraversalMode. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.junit.platform.commons.support with parameters of type HierarchyTraversalMode Modifier and Type Method Description static java.util.List<java.lang.reflect.Field>AnnotationSupport. findAnnotatedFields(java.lang.Class<?> clazz, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, java.util.function.Predicate<java.lang.reflect.Field> predicate, HierarchyTraversalMode traversalMode)Find all 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.static java.util.List<java.lang.reflect.Method>AnnotationSupport. findAnnotatedMethods(java.lang.Class<?> clazz, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, HierarchyTraversalMode traversalMode)Find all methods of the supplied class or interface that are annotated or meta-annotated with the specifiedannotationType.static java.util.List<java.lang.reflect.Field>ReflectionSupport. findFields(java.lang.Class<?> clazz, java.util.function.Predicate<java.lang.reflect.Field> predicate, HierarchyTraversalMode traversalMode)Find all fields of the supplied class or interface that match the specifiedpredicate.static java.util.List<java.lang.reflect.Method>ReflectionSupport. findMethods(java.lang.Class<?> clazz, java.util.function.Predicate<java.lang.reflect.Method> predicate, HierarchyTraversalMode traversalMode)Find all methods of the supplied class or interface that match the specifiedpredicate.