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