Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inner JavaVisitor in findAllValues to track multiple subtrees on left side of assignment #26

Open
aaronist opened this issue Jul 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@aaronist
Copy link
Contributor

As of right now, findAllValues in VarAccess can traverse one layer on the subtree of a VarAccess to track value assignments on a variable like this.i. However, suppose we have the following case (where this.self == this and there exists a method called getSelf that returns self):

this.self.getSelf().self = this;

We would ultimately want to track values for this type of VarAccess with the inner JavaVisitor.

@aaronist aaronist added the bug Something isn't working label Jul 20, 2023
@timtebeek timtebeek moved this to Backlog in OpenRewrite Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant