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