if (argname.equals(fieldName) || (genStubSettings.useKeywordThis && !isStatic)) {
if (argname.equals(fieldName) || (settings.useKeywordThis && !isStatic)) {
	private void generateSetter(IField field) throws CoreException, OperationCanceledException {				String fieldName= field.getElementName();		CodeGenerationSettings settings= JavaPreferencesSettings.getCodeGenerationSettings();		GenStubSettings genStubSettings= new GenStubSettings(settings);		boolean isStatic= Flags.isStatic(field.getFlags());					IJavaProject project= field.getJavaProject();				String returnSig= field.getTypeSignature();				String accessorName = NamingConventions.removePrefixAndSuffixForFieldName(project, fieldName, field.getFlags());		if (accessorName.length() > 0) {			char first= accessorName.charAt(0);			if (Character.isLowerCase(first)) {				accessorName= Character.toUpperCase(first) + accessorName.substring(1);			}		}				String argname= StubUtility.guessArgumentName(project, accessorName, EMPTY);			boolean isFinal= Flags.isFinal(field.getFlags());		String typeName= Signature.toString(returnSig);				IType parentType= field.getDeclaringType();				boolean addComments= fSettings.createComments;		String lineDelim= StubUtility.getLineDelimiterUsed(parentType);		int indent= StubUtility.getIndentUsed(field);		String setterName= GetterSetterUtil.getSetterName(field, null);		String[] args= new String[] { returnSig };				IMethod existingSetter= JavaModelUtil.findMethod(setterName, args, false, parentType);					boolean doCreateSetter= ((!isFinal || !querySkipFinalSetters(field)) && (existingSetter == null || querySkipExistingMethods(existingSetter)));		if (doCreateSetter) {			// create the setter stub			StringBuffer buf= new StringBuffer();			if (addComments) {				String comment= CodeGeneration.getMethodComment(field.getCompilationUnit(), parentType.getTypeQualifiedName('.'), setterName, new String[] { argname }, EMPTY, Signature.SIG_VOID, null, String.valueOf('\n'));				if (comment != null) {					buf.append(comment);					buf.append('\n');				}			}			buf.append(JdtFlags.getVisibilityString(fVisibility));			buf.append(' ');				if (isStatic)				buf.append("static "); //$NON-NLS-1$			if (fSynchronized)				buf.append("synchronized "); //$NON-NLS-1$			if (fFinal)				buf.append("final "); //$NON-NLS-1$											buf.append("void "); //$NON-NLS-1$			buf.append(setterName);			buf.append('('); 			buf.append(typeName); 			buf.append(' '); 			buf.append(argname); 			buf.append(") {\n"); //$NON-NLS-1$			if (argname.equals(fieldName) || (genStubSettings.useKeywordThis && !isStatic)) {				if (isStatic)					fieldName= parentType.getElementName() + '.' + fieldName;				else					fieldName= "this." + fieldName; //$NON-NLS-1$			}			buf.append(CodeGeneration.getSetterMethodBodyContent(field.getCompilationUnit(), parentType.getTypeQualifiedName('.'), setterName, fieldName, argname, String.valueOf('\n')));			buf.append("}\n"); //$NON-NLS-1$									IJavaElement sibling= null;			if (existingSetter != null) {				sibling= StubUtility.findNextSibling(existingSetter);				existingSetter.delete(false, null);			}			else				sibling= getInsertPosition();									String formattedContent= CodeFormatterUtil.format(CodeFormatterUtil.K_CLASS_BODY_DECLARATIONS, buf.toString(), indent, null, lineDelim, null) + lineDelim;			fCreatedAccessors.add(parentType.createMethod(formattedContent, sibling, true, null));		}	}			