code: protected Object chooseMethod(String methodName, Object methodOrList, Class[] arguments) {
          Object method = chooseMethodInternal(methodName, methodOrList, arguments);
          if (method instanceof GeneratedMetaMethod.Proxy)
              return ((GeneratedMetaMethod.Proxy)method).proxy ();
          return method;
      }
docs: Chooses the correct method to use from a list of methods which match by
  name.
  
  @param methodOrList   the possible methods to choose from
  @param arguments the arguments