private void checkModule(PsiJavaModule module, ProblemsHolder delegate, boolean isOnTheFly) {
    PsiDocComment docComment = module.getDocComment();
    if (IGNORE_DEPRECATED_ELEMENTS && isDeprecated(module, docComment)) {
      return;
    }
    if (!isJavadocRequired(MODULE_SETTINGS, module)) return;

    if (docComment != null) {
      checkRequiredTags(docComment.getTags(), MODULE_SETTINGS, docComment.getFirstChild(), delegate);
    }
    else {
      reportMissingJavadoc(module.getNameIdentifier(), delegate, isOnTheFly);
    }
  }
private void checkModule(PsiJavaModule module, ProblemsHolder delegate, boolean isOnTheFly)