Ejemplo n.º 1
0
 public MethodCallersGoal(Callable callable, SearchService searchService) {
   this.searchService = searchService;
   if (callable instanceof RubyMethod) {
     RubyMethod method = (RubyMethod) callable;
     if (method.name().equals("init"))
       callable = method.runtimeClass().metaClass().findMethod("new");
   }
   this.callable = callable;
 }