code: public List<AssignmentRow> getAssignmentRows(VariableType varType) {
          List<AssignmentRow> rows = new ArrayList<AssignmentRow>();
          List<Variable> handledVariables = new ArrayList<Variable>();
          // Create an AssignmentRow for each Assignment
          for (Assignment assignment : assignments) {
              if (assignment.getVariableType() == varType) {
                  String dataType = getDisplayNameFromDataType(assignment.getDataType());
                  AssignmentRow row = new AssignmentRow(assignment.getName(),
                                                        assignment.getVariableType(),
                                                        dataType,
                                                        assignment.getCustomDataType(),
                                                        assignment.getProcessVarName(),
                                                        assignment.getConstant());
                  rows.add(row);
                  handledVariables.add(assignment.getVariable());
              }
          }
          List<Variable> vars = null;
          if (varType == VariableType.INPUT) {
              vars = inputVariables;
          } else {
              vars = outputVariables;
          }
          // Create an AssignmentRow for each Variable that doesn't have an Assignment
          for (Variable var : vars) {
              if (!handledVariables.contains(var)) {
                  AssignmentRow row = new AssignmentRow(var.getName(),
                                                        var.getVariableType(),
                                                        var.getDataType(),
                                                        var.getCustomDataType(),
                                                        null,
                                                        null);
                  rows.add(row);
              }
          }
  
          return rows;
      }
docs: Gets a list of AssignmentRows based on the current Assignments
  @return