-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Java: Replace MethodAccess, LValue, RValue with more intuitive names. Introduce NewClassExpr. #14575
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
Java: Replace MethodAccess, LValue, RValue with more intuitive names. Introduce NewClassExpr. #14575
Conversation
…and MethodAccess.
Also rename and aliases a couple of uses of Access noted along the way.
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I checked many MethodAccess renames, but not all of them, as there were a lot.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rubber-stamping @aschackmull's approval.
@@ -4,7 +4,7 @@ class StringConcat extends AddExpr { | |||
StringConcat() { getType() instanceof TypeString } | |||
} | |||
|
|||
from MethodAccess ma | |||
from MethodCall ma |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should MethodCall variables named ma
be renamed to mc
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally yes, but it's a harder transformation to script!
Recommend reviewing commit-by-commit, which separates the mass-renames from the substantial changes.