public class ReflectionUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Class<?>[] |
getArgumentTypes(Object[] arguments) |
static <T> T |
invokeConstructor(String className,
Object... arguments) |
static <T> T |
invokeMethod(Object instance,
String methodName,
Class<?>[] argumentTypes,
Object... arguments) |
static <T> T |
invokeMethod(Object instance,
String methodName,
Object... arguments) |
Copyright © 2010–2023. All rights reserved.