public class ReflectionUtil
extends java.lang.Object
| Constructor and Description |
|---|
ReflectionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
invokeMethod(java.lang.Object clazz,
java.lang.String method) |
static boolean |
isInterfaceInInterfaceArray(java.lang.String itf,
java.lang.Class<?>[] interfaces)
check interface is in extended interfaces array
|
public static java.lang.Object invokeMethod(java.lang.Object clazz,
java.lang.String method)
throws java.lang.NoSuchMethodException,
java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
clazz - method - java.lang.NoSuchMethodExceptionjava.lang.reflect.InvocationTargetExceptionjava.lang.IllegalAccessExceptionpublic static boolean isInterfaceInInterfaceArray(java.lang.String itf,
java.lang.Class<?>[] interfaces)
itf - interface class for check, not nullinterfaces - interfaces list, not null