docs: public boolean displayWarning(BugInstance bugInstance) {
  
          int priority = bugInstance.getPriority();
          if (priority > getMinPriorityAsInt()) {
              return false;
          }
  
          int rank = bugInstance.getBugRank();
          if (rank > getMinRank()) {
              return false;
          }
  
          BugPattern bugPattern = bugInstance.getBugPattern();
  
          // HACK: it is conceivable that the detector plugin which generated
          // this warning is not available any more, in which case we can't
          // find out the category. Let the warning be visible in this case.
          if (!containsCategory(bugPattern.getCategory())) {
              return false;
          }
  
          if (!displayFalseWarnings) {
              boolean isFalseWarning = !Boolean.valueOf(bugInstance.getProperty(BugProperty.IS_BUG, "true")).booleanValue();
              if (isFalseWarning) {
                  return false;
              }
          }
  
          return true;
      }