code: @Override
    protected void addProhibitedWords(List<String> words) {
      if(words.size() == 1 && words.get(0).endsWith(".*")) {
        wordStartsToBeProhibited.add(words.get(0).substring(0, words.get(0).length()-2));
      } else {
        super.addProhibitedWords(words);
      }
    }
docs: /* (non-Javadoc)
  @see org.languagetool.rules.spelling.SpellingCheckRule#addProhibitedWords(java.util.List)