public final class ReflectionUtil extends Object
| Constructor and Description |
|---|
ReflectionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Iterator<com.google.common.reflect.ClassPath.ClassInfo> |
classes(String... packages) |
static List<Method> |
getMethodsAnnotatedWith(Class<?> type,
Class<? extends Annotation> annotation,
boolean withSuperClass) |
static List<javassist.CtMethod> |
getMethodsAnnotatedWith(javassist.CtClass type,
Class<? extends Annotation> annotation,
boolean withSuperClass) |
static boolean |
isSimpleType(Class<?> type) |
static List<String> |
nestedClasses(String clazz) |
static String |
packageName(String clazz) |
static List<String> |
superClasses(String clazz) |
public static boolean isSimpleType(Class<?> type)
public static List<Method> getMethodsAnnotatedWith(Class<?> type, Class<? extends Annotation> annotation, boolean withSuperClass)
public static List<javassist.CtMethod> getMethodsAnnotatedWith(javassist.CtClass type, Class<? extends Annotation> annotation, boolean withSuperClass) throws javassist.NotFoundException
javassist.NotFoundExceptionpublic static Iterator<com.google.common.reflect.ClassPath.ClassInfo> classes(String... packages) throws IOException
IOExceptionpublic static List<String> superClasses(String clazz) throws javassist.NotFoundException
javassist.NotFoundExceptionpublic static List<String> nestedClasses(String clazz) throws javassist.NotFoundException
javassist.NotFoundExceptionCopyright © 2021. All rights reserved.