public class ReflectionHelper extends Object
| Constructor and Description |
|---|
ReflectionHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Method[] |
excludingMain(Class<?> clazz) |
static <T extends Annotation> |
findAnnotation(Class<?> typedTestClass,
Class<T> annotation)
A helper method that looks for a given annotation in the current class (or) in any of the super classes
|
static Method[] |
getLocalMethods(Class<?> clazz) |
public static Method[] getLocalMethods(Class<?> clazz)
public static Method[] excludingMain(Class<?> clazz)
main() method alone.public static <T extends Annotation> T findAnnotation(Class<?> typedTestClass, Class<T> annotation)
T - - The annotation typetypedTestClass - - The class to search forannotation - - The annotation to look fornull.Copyright © 2024. All rights reserved.