private Field resolveField(Field inputField) {
    if (inputField.isList()) {
      return inputField.getListElemField();
    } else if (inputField.isSet()) {
      return inputField.getSetElemField();
    } else {
      return inputField;
    }
  }
private Field resolveField(Field inputField) {
    if (inputField.isList()) {
      return inputField.getListElemField();
    } else if (inputField.isSet()) {
      return inputField.getSetElemField();
    } else {
      return inputField;
    }
  }
private Field resolveField ( Field inputField ) { if ( inputField . isList ( ) ) { return inputField . getListElemField ( ) ; } else if ( inputField . isSet ( ) ) { return inputField . getSetElemField ( ) ; } else { return inputField ; } }
When dealing with a Set/List, we want to retrieve the relevant Field type
When dealing with a Set / List we want to retrieve the relevant Field type