MatchVariableConstraint (@NotNull String varName, @NotNull Configuration configuration) { final MatchOptions options = configuration.getMatchOptions(); final MatchVariableConstraint varInfo = options.getVariableConstraint(varName); if (varInfo != null) { return varInfo; } return configuration.getMatchOptions().addNewVariableConstraint(varName); }