code: @SuppressWarnings("AmbiguousMethodReference")
    public static FunctionType toMaybeFunctionType(JSType type) {
      return type == null ? null : type.toMaybeFunctionType();
    }
docs: Null-safe version of toMaybeFunctionType().