class GermanCommaWhitespaceRule extends CommaWhitespaceRule {

  private static final Pattern DOMAINS = Pattern.compile("[a-z]{2,10}-Domains?");

  public GermanCommaWhitespaceRule(ResourceBundle messages, IncorrectExample incorrectExample, CorrectExample correctExample, URL url) {
    super(messages, incorrectExample, correctExample, url);
  }

  @Override
  protected boolean isException(AnalyzedTokenReadings[] tokens, int tokenIdx) {<FILL_FUNCTION_BODY>}

}

    if (tokenIdx+2 < tokens.length &&
        tokens[tokenIdx].getToken().equals(".") &&
        DOMAINS.matcher(tokens[tokenIdx + 1].getToken()).matches()) {
      return true;
    }
    return false;
  
<methods>public void <init>(java.util.ResourceBundle, org.languagetool.rules.IncorrectExample, org.languagetool.rules.CorrectExample, java.net.URL) ,public void <init>(java.util.ResourceBundle, org.languagetool.rules.IncorrectExample, org.languagetool.rules.CorrectExample) ,public void <init>(java.util.ResourceBundle, boolean) ,public void <init>(java.util.ResourceBundle) ,public java.lang.String getCommaCharacter() ,public final java.lang.String getDescription() ,public java.lang.String getId() ,public final org.languagetool.rules.RuleMatch[] match(org.languagetool.AnalyzedSentence) <variables>private java.util.regex.Pattern FILE_EXTENSION,private boolean quotesWhitespaceCheck