docs: public @Nonnull BugPattern getBugPattern() {
          BugPattern result = DetectorFactoryCollection.instance().lookupBugPattern(getType());
          if (result != null) {
              return result;
          }
          AnalysisContext.logError("Unable to find description of bug pattern " + getType());
          result = DetectorFactoryCollection.instance().lookupBugPattern("UNKNOWN");
          if (result != null) {
              return result;
          }
          return BugPattern.REALLY_UNKNOWN;
      }