private int getNextVariableNumber(int currentVariableNumber) {
    for (int i = currentVariableNumber + 1; i < getTemplate().getVariableCount(); i++) {
      if (checkIfTabStop(i)) {
        return i;
      }
    }
    return -1;
  }
private int getNextVariableNumber(int currentVariableNumber)