1 34 package org.codehaus.groovy.runtime; 35 36 import groovy.lang.MetaMethod; 37 import groovy.lang.MissingMethodException; 38 39 40 41 47 public class Reflector { 48 49 public Object invoke(MetaMethod method, Object object, Object [] arguments) { 50 return noSuchMethod(method, object, arguments); 51 } 52 53 protected Object noSuchMethod(MetaMethod method, Object object, Object [] arguments) { 54 throw new MissingMethodException(method.getName(), method.getDeclaringClass(), arguments); 55 } 56 } 57 | Popular Tags |