IndentationRules (@NotNull Plist plist) { final PListValue rulesValue = plist.getPlistValue(Constants.INDENTATION_RULES); if (rulesValue == null) return IndentationRules.empty(); final Plist rules = rulesValue.getPlist(); return new IndentationRules( getPattern(Constants.INCREASE_INDENT_PATTERN, rules), getPattern(Constants.DECREASE_INDENT_PATTERN, rules), getPattern(Constants.INDENT_NEXT_LINE_PATTERN, rules), getPattern(Constants.UNINDENTED_LINE_PATTERN, rules) ); }