private void checkMethod(PsiMethod method, ProblemsHolder holder) {
    if (method instanceof SyntheticElement) {
      return;
    }
    if (IGNORE_DEPRECATED_ELEMENTS && isDeprecated(method)) {
      return;
    }

    PsiDocComment docComment = method.getDocComment();
    if (docComment != null) {
      if (!MissingJavadocInspection.isInherited(docComment, method)) {
        PsiDocTag[] tags = docComment.getTags();

        if (!myIgnoreEmptyDescriptions) {
          checkEmptyMethodTagsDescription(tags, method, holder);
        }

        checkBasics(docComment, tags, method, holder);
      }
    }
  }
private void checkMethod(PsiMethod method, ProblemsHolder holder)