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

replace field accesses in a given source with function calls #2884

Closed
monperrus opened this issue Feb 18, 2019 · 3 comments
Closed

replace field accesses in a given source with function calls #2884

monperrus opened this issue Feb 18, 2019 · 3 comments

Comments

@monperrus
Copy link
Collaborator

from #2880 (comment)

I want to replace field accesses in a given source with function calls. So for example, int hash = a.b.c.hashCode() should be replaced by something like int hash = getFieldC(getFieldB(a)).hashCode().

monperrus added a commit to monperrus/spoon that referenced this issue Feb 18, 2019
@monperrus
Copy link
Collaborator Author

Here is a solution: #2885

@pratikfegade
Copy link

Thanks! You may close this issue now. I believe non-collaborators cannot close issues.

@monperrus
Copy link
Collaborator Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants