public static @Nullable String readField(@NotNull Element parent, @NonNls @NotNull String fieldName) {
    for (Element element : parent.getChildren(Constants.OPTION)) {
      if (fieldName.equals(element.getAttributeValue(Constants.NAME))) {
        return element.getAttributeValue(Constants.VALUE);
      }
    }
    return null;
  }
public static @Nullable String readField(@NotNull Element parent, @NonNls @NotNull String fieldName)