CodeStyleFieldAccessor (@NotNull Object codeStyleObject, @NotNull Field field) { if (codeStyleObject instanceof PropertiesCodeStyleSettings) { if ("KEY_VALUE_DELIMITER_CODE".equals(field.getName())) { return new MagicIntegerConstAccessor( codeStyleObject, field, new int[] {0, 1, 2}, new String[] {"equals", "colon", "space"} ); } } return super.getAccessor(codeStyleObject, field); }