docs: public static boolean hasSingleCharacterArg(Closure c) {
          if (c.getMaximumNumberOfParameters() != 1) return false;
          String typeName = c.getParameterTypes()[0].getName();
          return typeName.equals("char") || typeName.equals("java.lang.Character");
      }