CodeStyleFieldAccessor (@NotNull Object codeStyleObject, @NotNull Field field) { if (PackageEntryTable.class.isAssignableFrom(field.getType())) { return new JavaPackageEntryTableAccessor(codeStyleObject, field); } if (codeStyleObject instanceof GroovyCodeStyleSettings) { if (field.getName().endsWith("_ORDER_WEIGHT")) { // Ignore all ORDER_WEIGHT_FIELDS for now // TODO: Needs a way to translate several fields to a set of values (single property) return new IntegerAccessor(codeStyleObject, field) { @Override public boolean isIgnorable() { return true; } }; } } return super.getAccessor(codeStyleObject, field); }