code: public List<FieldReferenceExpression> getAllInputFields() {
  		return fieldReferences.stream().flatMap(input -> input.values().stream()).collect(toList());
  	}
docs: Gives all fields of underlying inputs in order of those inputs and order of fields within input.
  
  @return concatenated list of fields of all inputs.