docs: @SuppressWarnings("unchecked")
      public static <T> T asType(File f, Class<T> c) {
          if (c == Writable.class) {
              return (T) asWritable(f);
          }
          return DefaultGroovyMethods.asType((Object) f, c);
      }