void (PsiMethod method, ProblemsHolder delegate, boolean isOnTheFly) { if (method instanceof SyntheticElement) { return; } if (IGNORE_DEPRECATED_ELEMENTS && isDeprecated(method)) { return; } if (IGNORE_ACCESSORS && PropertyUtilBase.isSimplePropertyAccessor(method)) { return; } if (!isJavadocRequired(METHOD_SETTINGS, method) || method.findSuperMethods().length > 0) return; PsiDocComment docComment = method.getDocComment(); if (docComment != null) { if (!isInherited(docComment, method)) { PsiDocTag[] tags = docComment.getTags(); if (METHOD_SETTINGS.isTagRequired("return")) { checkMissingReturnTag(tags, method, docComment.getFirstChild(), delegate); } if (METHOD_SETTINGS.isTagRequired("param")) { checkMissingParamTags(tags, method, docComment.getFirstChild(), delegate); checkMissingTypeParamTags(method, tags, docComment.getFirstChild(), delegate); } if (METHOD_SETTINGS.isTagRequired("throws")) { checkMissingThrowsTags(tags, method, docComment.getFirstChild(), delegate); } } } else { PsiIdentifier nameIdentifier = method.getNameIdentifier(); if (nameIdentifier != null && isJavadocRequired(method)) { reportMissingJavadoc(nameIdentifier, delegate, isOnTheFly); } } }