8000 Java: Replace MethodAccess, LValue, RValue with more intuitive names. Introduce NewClassExpr. by smowton · Pull Request #14575 · github/codeql · GitHub
[go: up one dir, main page]

Skip to content

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

Merged
merged 16 commits into from
Oct 24, 2023

Conversation

smowton
Copy link
Contributor
@smowton smowton commented Oct 24, 2023

Recommend reviewing commit-by-commit, which separates the mass-renames from the substantial changes.

smowton and others added 4 commits October 24, 2023 12:51
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
aschackmull
aschackmull previously approved these changes Oct 24, 2023
Copy link
Contributor
@aschackmull aschackmull left a 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.

aschackmull
aschackmull previously approved these changes Oct 24, 2023
aschackmull
aschackmull previously approved these changes Oct 24, 2023
Copy link
Contributor
@atorralba atorralba left a 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
Copy link
Contributor

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?

Copy link
Contributor Author

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!

@smowton smowton merged commit 12d0f1a into main Oct 24, 2023
@smowton smowton deleted the smowton/feature/more-intuitive-java-class-names branch October 24, 2023 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0