Perhaps also add `continue` ? It can break out of the `switch` to outer block. Is a nested e.g. `while` that contains `break` hadled ? It breaks out of `while` but `case` completes normally. Also consider `break`s from labelled blocks.
After all that is OK I would suggest to make this at least `java.hints` utility, or even `TreeUtilites` API since it is not an easy task. [ Full content available at: https://github.com/apache/incubator-netbeans/pull/822 ] This message was relayed via gitbox.apache.org for [email protected]
