@Override
    public void visitResourceVariable(@NotNull PsiResourceVariable variable) {
      super.visitResourceVariable(variable);
      if (ExpressionUtils.isReferenceTo(variable.getInitializer(), boundVariable)) {
        escaped = true;
      }
    }
@Override
    public void visitResourceVariable(@NotNull PsiResourceVariable variable)