public static class ReflectionUtil.MethodAccessor extends Object
| Constructor and Description |
|---|
ReflectionUtil.MethodAccessor(Class<?> clazz,
String methodName,
Class<?>... argTypes)
Check
available() before using instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
available()
Returns true if method is available, otherwise false.
|
Object |
callMethod(Object instance,
Object... args)
Check
available() before calling to avoid throwing a JogampRuntimeException. |
public ReflectionUtil.MethodAccessor(Class<?> clazz, String methodName, Class<?>... argTypes)
available() before using instance.public boolean available()
public Object callMethod(Object instance, Object... args)
available() before calling to avoid throwing a JogampRuntimeException.JogampRuntimeException - if method is not available