-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add functionality for inserting case #83
Conversation
@slarse Marked it ready for review as the feature is working. I shall remove the workaround once INRIA/spoon#4015 is merged. |
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. But I suggest we wait with merging this Monday so we can use the new version of Spoon with the new method.
@algomaster99 is this done? |
@slarse yes, we can merge this. |
Changes add functionality to insert a case in
CtAbstractSwitch
which includesCtSwitch
andCtSwitchExpression
. However, the latter has not been tested because this language feature came about in Java 12 (standardised in v14) and we currently compile to Java SE 11.To be merged after: