public RegexpValidationRule getRegexpValidationRule()

in src/main/java/com/intellij/internal/statistic/eventLog/validator/rules/beans/EventGroupContextData.java [42:52]


  public RegexpValidationRule getRegexpValidationRule(@NotNull String regexpRef) {
    if (myRegexps != null) {
      String regexp = myRegexps.get(regexpRef);
      if (regexp != null) return new RegexpValidationRule(regexp);
    }
    if (myGlobalRulesHolder != null) {
      RegexpValidationRule globalRegexp = myGlobalRulesHolder.getRegexpValidationRules(regexpRef);
      if (globalRegexp != null) return globalRegexp;
    }
    return new RegexpValidationRule(null);
  }