public final class ReflectionUtil extends Object
| 构造器和说明 |
|---|
ReflectionUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
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> |
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
IOExceptionCopyright © 2019. All rights reserved.