public class ReflectionUtils extends Object
| 构造器和说明 |
|---|
ReflectionUtils() |
public static <T> T invokeStaticMethod(Class clz, String methodName, Object... args) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException
public static <T> T invokeStaticMethod(Method method, Object... args) throws InvocationTargetException, IllegalAccessException
public static Method getMethod(Class<?> clz, String methodName, int argSize) throws NoSuchMethodException
Copyright © 2023 The Apache Software Foundation. All rights reserved.