public class CommonUtils extends Object
| 构造器和说明 |
|---|
CommonUtils() |
public static boolean isBasicType(Class<?> clazz)
public static boolean isCollectionType(Class<?> clazz)
public static Method findMethod(Class<?> clazz, String methodName, Class<?>... paramTypes)
public static List<Class<?>> getMethodGenericParameterTypes(Method method)
public static void getGenericParameterTypes(Type type, List<Class<?>> genericTypes)
public static <T> void removeRepeat(List<T> list)
public static List<Class<?>> getMethodReturnTypeRelationClasses(Method method)
Copyright © 2016. All rights reserved.