class BalearicCatalan extends Catalan {

  @Override
  public String getName() {
    return "Catalan (Balearic)";
  }

  @Override
  public String[] getCountries() {
    return new String[]{"ES"};
  }

  @Override
  public String getVariant() {
    // unlike Valencian (ca-ES-valencia) this code is not registered by IANA language subtag registry
    return "balear";
  }

  @Override
  public List<String> getDefaultEnabledRulesForVariant() {
    List<String> rules = Arrays.asList("EXIGEIX_VERBS_BALEARS");
    return Collections.unmodifiableList(rules);
  }

  @Override
  public List<String> getDefaultDisabledRulesForVariant() {<FILL_FUNCTION_BODY>}
  
}

    // Important: Java rules are not disabled here
    List<String> rules = Arrays.asList("EXIGEIX_VERBS_CENTRAL","CA_SIMPLE_REPLACE_BALEARIC");
    return Collections.unmodifiableList(rules);
  
<methods>public non-sealed void <init>() ,public java.lang.String adaptSuggestion(java.lang.String) ,public List<org.languagetool.rules.RuleMatch> adaptSuggestions(List<org.languagetool.rules.RuleMatch>, Set<java.lang.String>) ,public org.languagetool.tagging.disambiguation.Disambiguator createDefaultDisambiguator() ,public org.languagetool.tokenizers.SentenceTokenizer createDefaultSentenceTokenizer() ,public org.languagetool.rules.spelling.SpellingCheckRule createDefaultSpellingRule(java.util.ResourceBundle) throws java.io.IOException,public org.languagetool.synthesis.Synthesizer createDefaultSynthesizer() ,public org.languagetool.tagging.Tagger createDefaultTagger() ,public org.languagetool.tokenizers.Tokenizer createDefaultWordTokenizer() ,public java.lang.String getClosingDoubleQuote() ,public java.lang.String getClosingSingleQuote() ,public java.lang.String[] getCountries() ,public org.languagetool.Language getDefaultLanguageVariant() ,public org.languagetool.LanguageMaintainedState getMaintainedState() ,public org.languagetool.language.Contributor[] getMaintainers() ,public org.languagetool.rules.spelling.multitoken.MultitokenSpeller getMultitokenSpeller() ,public java.lang.String getName() ,public java.lang.String getOpeningDoubleQuote() ,public java.lang.String getOpeningSingleQuote() ,public List<org.languagetool.rules.Rule> getRelevantRules(java.util.ResourceBundle, org.languagetool.UserConfig, org.languagetool.Language, List<org.languagetool.Language>) throws java.io.IOException,public java.lang.String getShortCode() ,public boolean hasMinMatchesRules() ,public boolean isAdvancedTypographyEnabled() ,public List<org.languagetool.rules.RuleMatch> mergeSuggestions(List<org.languagetool.rules.RuleMatch>, org.languagetool.markup.AnnotatedText, Set<java.lang.String>) ,public List<java.lang.String> prepareLineForSpeller(java.lang.String) ,public java.lang.String toAdvancedTypography(java.lang.String) <variables>private static final java.util.regex.Pattern CA_APOSTROPHES1,private static final java.util.regex.Pattern CA_APOSTROPHES2,private static final java.util.regex.Pattern CA_APOSTROPHES3,private static final java.util.regex.Pattern CA_APOSTROPHES4,private static final java.util.regex.Pattern CA_APOSTROPHES5,private static final java.util.regex.Pattern CA_APOSTROPHES6,private static final java.util.regex.Pattern CA_CONTRACTIONS,private static final java.util.regex.Pattern CA_OLD_DIACRITICS,private static final java.util.regex.Pattern PATTERN_1,private static final java.util.regex.Pattern PATTERN_2,private static final java.util.regex.Pattern PATTERN_3,private static final java.util.regex.Pattern POSSESSIUS_V,private static final java.util.regex.Pattern POSSESSIUS_v,private final List<java.lang.String> spellerExceptions