public class ReflectionUtils
extends java.lang.Object
| Constructor and Description |
|---|
ReflectionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
callMethod(java.lang.Object object,
java.lang.String methodName,
java.lang.Object... args)
Call a method using introspection (so ones can call a private or protected method)
|
public static java.lang.Object callMethod(java.lang.Object object,
java.lang.String methodName,
java.lang.Object... args)
object - object on which the method will be calledmethodName - method nameargs - arguments of this method (can be null)