if (workingCopyGetterFields != null && workingCopySetterFields != null) run(workingCopyGetterFields, workingCopySetterFields, editor);
IField[] workingCopyGetterSetterFields= getWorkingCopyFields(getterSetterFields); IJavaElement workingCopyElementPosition= getWorkingCopy(elementPosition);  if (workingCopyGetterFields != null && workingCopySetterFields != null && workingCopyGetterSetterFields != null) run(workingCopyGetterFields, workingCopySetterFields, workingCopyGetterSetterFields, editor, workingCopyElementPosition);
	private void generate(IField[] getterFields, IField[] setterFields) throws CoreException{		if (getterFields.length == 0 && setterFields.length == 0)			return;				ICompilationUnit cu= null;		if (getterFields.length != 0)			cu= getterFields[0].getCompilationUnit();		else			cu= setterFields[0].getCompilationUnit();		//open the editor, forces the creation of a working copy		IEditorPart editor= EditorUtility.openInEditor(cu);				IField[] workingCopyGetterFields= getWorkingCopyFields(getterFields);		IField[] workingCopySetterFields= getWorkingCopyFields(setterFields);		if (workingCopyGetterFields != null && workingCopySetterFields != null)			run(workingCopyGetterFields, workingCopySetterFields, editor);	}