public void testMethodInForInit() throws Exception { if (bug_37381) { return; }
public void testMethodInForInit() throws Exception {
	public void testMethodInForInit() throws Exception {		if (bug_37381) {			return; 		}				IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);		StringBuffer buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("public class E {\n");		buf.append("    void foo() {\n");		buf.append("        for (int i= 0, j= goo(3); i < 0; i++) {\n");		buf.append("        }\n");			buf.append("    }\n");		buf.append("}\n");		ICompilationUnit cu= pack1.createCompilationUnit("E.java", buf.toString(), false, null);				CompilationUnit astRoot= AST.parseCompilationUnit(cu, true);		ArrayList proposals= collectCorrections(cu, astRoot);		assertNumberOf("proposals", proposals.size(), 1);		assertCorrectLabels(proposals);		NewMethodCompletionProposal proposal= (NewMethodCompletionProposal) proposals.get(0);		String preview= proposal.getCompilationUnitChange().getPreviewContent();		buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("public class E {\n");		buf.append("    void foo() {\n");		buf.append("        for (int i= 0, j= goo(3); i < 0; i++) {\n");		buf.append("        }\n");			buf.append("    }\n");		buf.append("\n");		buf.append("    private int goo(int i) {\n");		buf.append("        return 0;\n");		buf.append("    }\n");				buf.append("}\n");		assertEqualString(preview, buf.toString());	}	