@SuppressWarnings("unchecked")
public T invoke(Object target, Object... parameters) throws IllegalArgumentException, NoSuchMethodException, InvocationTargetException,
IllegalAccessException {
_NSMethod method = methodOnObject(target);
return (T) method.invoke(target, parameters != null ? parameters : new Object[0]);
}
public T invoke(Object target) throws IllegalArgumentException, NoSuchMethodException, InvocationTargetException, IllegalAccessException {
return invoke(target, _NoObjectArray);
}