public class ClassUtil extends Object
Constructor and Description |
---|
ClassUtil() |
Modifier and Type | Method and Description |
---|---|
static Object |
dynamicCall(String clzName,
String methodName,
Class[] methodParamTypes,
Object[] methodArgs) |
static String |
getClassname(Class clz) |
static String[] |
getStringArrayClassField(Class clz,
String name) |
static String |
getStringClassField(Class clz,
String name) |
public static Object dynamicCall(String clzName, String methodName, Class[] methodParamTypes, Object[] methodArgs) throws ClassNotFoundException, SecurityException, NoSuchMethodException, IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException
Copyright © 2020. All Rights Reserved.