docs: private void fixVar(Variable var) {
          if (getTarget(var) == null && var instanceof VariableExpression && getState() != null && var.getName() != null) {
              for (Variable v: getState().keySet()) {
                  if (var.getName().equals(v.getName())) {
                      ((VariableExpression)var).setAccessedVariable(v);
                      break;
                  }
              }
          }
      }