org.incava.doctorj

Class ItemCommentSpellCheck


public class ItemCommentSpellCheck
extends CommentSpellCheck

Field Summary

static int
NUM_CLOSEST_MATCHES

Fields inherited from class org.incava.doctorj.CommentSpellCheck

instance

Method Summary

void
check(ItemDocAnalyzer analyzer, JavadocElement desc)
protected String
makeMessage(String word, Map nearMatches)
protected void
wordMisspelled(String word, int position, Map nearMatches)

Methods inherited from class org.incava.doctorj.CommentSpellCheck

addDictionary, addWord, check, checkCurrentWord, checkWord, consume, consumeTo, getInstance, skipBlanks, skipLink, skipSection, skipThroughWord, skipToWord, wordMisspelled

Field Details

NUM_CLOSEST_MATCHES

public static final int NUM_CLOSEST_MATCHES
Field Value:
6

Method Details

check

public void check(ItemDocAnalyzer analyzer,
                  JavadocElement desc)

makeMessage

protected String makeMessage(String word,
                             Map nearMatches)

wordMisspelled

protected void wordMisspelled(String word,
                              int position,
                              Map nearMatches)
Overrides:
wordMisspelled in interface CommentSpellCheck