@Override
 public void visitJavadocToken(DetailNode ast) {
   String firstSentence = getFirstSentence(ast);
   final int endOfSentence = firstSentence.lastIndexOf(period);
   if (endOfSentence == -1) {
     log(ast.getLineNumber(), MSG_SUMMARY_FIRST_SENTENCE);
   } else {
     firstSentence = firstSentence.substring(0, endOfSentence);
     if (containsForbiddenFragment(firstSentence)) {
       log(ast.getLineNumber(), MSG_SUMMARY_JAVADOC);
     }
   }
 }
 @Override
 public void visitJavadocToken(DetailNode ast) {
   if (isSingleLineJavadoc(getBlockCommentAst())
       && (hasJavadocTags(ast) || !ignoreInlineTags && hasJavadocInlineTags(ast))) {
     log(ast.getLineNumber(), "singleline.javadoc");
   }
 }
 @Override
 public void visitJavadocToken(DetailNode ast) {
   if (isEmptyTag(ast.getParent())) {
     log(ast.getLineNumber(), MSG_KEY, ast.getText());
   }
 }