Project: JDT
Bug 5404 Extract method with 'continue' statement not possible
Reported: 2001-11-01 05:13:25 | Status: resolved fixed

1. Open WorkingSetReader (1.1) 2. Select the full for-statement in readXML(): for (int k= 0; k < contents.getLength(); k++) {...} 3. Extract method ==> dialog says, it's not possible to do so because of the 'continue' statement

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/core/refactoring/code/ExtractMethodAnalyzer.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/core/refactoring/code/ExtractMethodRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/core/refactoring/code/StatementAnalyzer.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/core/refactoring/code/flow/FlowContext.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/core/refactoring/code/flow/FlowInfo.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/core/refactoring/code/flow/ForFlowInfo.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/core/refactoring/code/flow/InputFlowAnalyzer.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/core/refactoring/code/flow/WhileFlowInfo.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/core/refactoring/util/SelectionAnalyzer.java