-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Java: Add aliases for CodeQL classes with unintuitive name #14555
-
|
Description of the issue There are CodeQL classes for Java whose name are not that intuitive and which might therefore make it more difficult for users to discover and to understand what they do.
What do you think? This is only a rough suggestion for now, I haven't considered all aspects of this yet such as whether it would make sense to deprecate the existing names eventually, whether the two separate names will increase confusion, or how to deal with subclasses or predicates using the same (unintuitive) name. |
Beta Was this translation helpful? Give feedback.
All reactions
-
❤️ 1
Replies: 1 comment 1 reply
-
We did MethodCall, VarWrite, VarRead and NewClassExpr (which is smaller than ClassInstanceExpr, excluding implicit creation) in #14575
Beta Was this translation helpful? Give feedback.
All reactions
-
❤️ 1
-
Oh wow, thanks a lot! I initially only hoped to get a discussion started and maybe to have these added as additional aliases, but it is great that you apparently liked this suggestion and directly implemented the changes.
For NewClassExpr I think personally it is a bit misleading since it sounds as if it creates a new class. What do you think about NewInstanceExpr instead (though maybe that one has its downsides as well)? But this is probably not a big issue.
Unfortunately it looks like documentation (including screenshots) is also affected by these changes:
Beta Was this translation helpful? Give feedback.