code: private void addToUsedVariables(final java.util.List<VariableAndValue> usedVariables, final MethodAndParameter top, final Variable variable) {
          VariableAndValue variableAndValue = new VariableAndValue(variable, top.getParameter());
          if (!usedVariables.contains(variableAndValue)) {
              usedVariables.add(variableAndValue);
          } else {
              int i = 0;
              do {
                  i++;
                  variableAndValue = new VariableAndValue(
                          new Variable(
                                  elementUtils.getName(variable.getName().toString() + i),
                                  variable.getType()
                          ),
                          top.getParameter()
                  );
              } while (usedVariables.contains(variableAndValue));
              usedVariables.add(variableAndValue);
          }
      }
docs: with incremented name, e.g. if used variables are A,B and we want to add A, it is added as A1