code: private void addVariablesToBuffer(final java.util.List<VariableAndValue> usedVariables, final ListBuffer listBuffer) {
          for (VariableAndValue variableAndValue : usedVariables) {
              listBuffer.add(variableAndValue.getValue());
          }
      }
docs: all used variables are added to listbuffer