- modify ExtractMethodAnalyzer to recognize when first statement is
break or continue or yield
- also modify branch check to look for a break statement that is
selected but the parent statement (for, while, do/while) is not
- add new tests to ExtractMethodTests
Change-Id: I69d689d02a2a47026e5c6f3f0e61a443fc4445b7
Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/183711
Tested-by: JDT Bot <jdt-bot@eclipse.org>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>