String formattedContent= CodeFormatterUtil.format(CodeFormatterUtil.K_CLASS_BODY_DECLARATIONS, toImplement[i], indent, null, lineDelim) + lineDelim;
String formattedContent= CodeFormatterUtil.format(CodeFormatterUtil.K_CLASS_BODY_DECLARATIONS, toImplement[i], indent, null, lineDelim, null) + lineDelim;
	public void run(IProgressMonitor monitor) throws CoreException, OperationCanceledException {		try {			if (monitor == null) {				monitor= new NullProgressMonitor();			}						monitor.setTaskName(CodeGenerationMessages.getString("AddUnimplementedMethodsOperation.description")); //$NON-NLS-1$			monitor.beginTask("", 3); //$NON-NLS-1$						ITypeHierarchy hierarchy= fType.newSupertypeHierarchy(new SubProgressMonitor(monitor, 1));			monitor.worked(1);						ImportsStructure imports= new ImportsStructure(fType.getCompilationUnit(), fSettings.importOrder, fSettings.importThreshold, true);			String[] toImplement= StubUtility.genOverrideStubs(fSelected, fType, hierarchy, fSettings, imports);						int nToImplement= toImplement.length;			ArrayList createdMethods= new ArrayList(nToImplement);						if (nToImplement > 0) {				String lineDelim= StubUtility.getLineDelimiterUsed(fType);				int indent= StubUtility.getIndentUsed(fType) + 1;								for (int i= 0; i < nToImplement; i++) {					String formattedContent= CodeFormatterUtil.format(CodeFormatterUtil.K_CLASS_BODY_DECLARATIONS, toImplement[i], indent, null, lineDelim) + lineDelim;						IMethod curr= fType.createMethod(formattedContent, fInsertPosition, true, null);					createdMethods.add(curr);				}				monitor.worked(1);						imports.create(fDoSave, null);				monitor.worked(1);			} else {				monitor.worked(2);			}			fCreatedMethods= new IMethod[createdMethods.size()];			createdMethods.toArray(fCreatedMethods);		} finally {			monitor.done();		}	}