code: boolean setDeprecationReason(String reason) {
      lazyInitInfo();
  
      if (info.deprecated != null) {
        return false;
      }
  
      info.deprecated = reason;
      return true;
    }
docs: Sets the deprecation reason.
  
  @param reason The deprecation reason