docs: public static Object newInstance(String groovySource,
                                       Class<?>[] parameterTypes,
                                       Object[] args) throws GroovyException {
  
          Class<?> groovyClass = parseClass(groovySource);
          try {
              if (parameterTypes == null || parameterTypes.length == 0) {
                  return groovyClass.getConstructor().newInstance();
              }
              return groovyClass.getConstructor(parameterTypes).newInstance(args);
  
          } catch (Throwable t) {
              throw new GroovyException("newInstance error:", t);
          }
      }