code: protected boolean hasWarningSuppressed(Element element, String warningSuppressString) {
      SuppressWarnings suppressWarnings = element.getAnnotation(SuppressWarnings.class);
      if (suppressWarnings != null) {
        for (String value : suppressWarnings.value()) {
          if (value.equalsIgnoreCase(warningSuppressString)) {
            return true;
          }
        }
      }
      return false;
    }
docs: Checks if {@code element} has a @SuppressWarning("{@code warningSuppressString}")
  annotation.
  
  @param element the element to check if the warning is suppressed.
  @param warningSuppressString the value of the SuppressWarning annotation.
  @return true is the injectable warning is suppressed, false otherwise.