import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
class DisambiguationPatternRuleReplacer extends AbstractPatternRulePerformer {
<BUG>List<Boolean> elementsMatched;
</BUG>
public DisambiguationPatternRuleReplacer(DisambiguationPatternRule rule) {
super(rule, rule.getLanguage().getDisambiguationUnifier());
elementsMatched = new ArrayList<>(rule.getPatternElements().size());

import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
class DisambiguationPatternRuleReplacer extends AbstractPatternRulePerformer {
private final List<Boolean> elementsMatched;
public DisambiguationPatternRuleReplacer(DisambiguationPatternRule rule) {
super(rule, rule.getLanguage().getDisambiguationUnifier());
elementsMatched = new ArrayList<>(rule.getPatternElements().size());
