void (Object value, CodeStyleSettings settings) { //noinspection EmptyCatchBlock try { if (value instanceof Integer) { field.setInt(getSettings(settings), ((Integer)value).intValue()); } else { field.setInt(getSettings(settings), myDefaultValue); } } catch (IllegalAccessException e) { } }