@Override
    public Object getValue(CodeStyleSettings settings) {
      try {
        int value = field.getInt(getSettings(settings));
        for (int i = 0; i < values.length; i++) {
          if (values[i] == value) return options[i];
        }
        String possibleValues = arrayToString(values);
        LOG.error("Invalid option value " + value + " for " + field.getName() + " (possible values: " + possibleValues + ')');
      }
      catch (IllegalAccessException ignore) {
      }
      return null;
    }
@Override
    public Object getValue(CodeStyleSettings settings)