docs: protected static boolean checkDiagram(String fileName, String modelFileName, String[] diagramSuffixes, String[] modelSuffixes) {
      for (String modelSuffix : modelSuffixes) {
        if (modelFileName.endsWith(modelSuffix)) {
          String caseFilePrefix = modelFileName.substring(0, modelFileName.length() - modelSuffix.length());
          if (fileName.startsWith(caseFilePrefix)) {
            for (String diagramResourceSuffix : diagramSuffixes) {
              if (fileName.endsWith(diagramResourceSuffix)) {
                return true;
              }
            }
          }
        }
      }
      return false;
    }