*/
public class Helper {
public static Object invokeMethod(RuntimeContext context, String name, Object args, MissingMethodException ex) {
if (context instanceof InvocationContext<?>) {
SafeCallable executed = Helper.resolveMethodInvocation((InvocationContext)context, name, args);
if (executed != null) {
return executed.call();
}
}
//
Object o = context.getSession().get(name);