void (PsiJavaFile file, ProblemsHolder holder) { PsiPackage pkg = JavaDirectoryService.getInstance().getPackage(file.getContainingDirectory()); if (pkg == null) return; PsiDocComment docComment = PsiTreeUtil.getChildOfType(file, PsiDocComment.class); if (IGNORE_DEPRECATED_ELEMENTS && isDeprecated(pkg, docComment)) { return; } if (docComment != null) { PsiDocTag[] tags = docComment.getTags(); checkBasics(docComment, tags, pkg, holder); } }