ModifierCorrectionSubProcessor.installLinkedVisibilityProposals(this, rewrite, decl.modifiers());
	private MethodDeclaration getStub(ASTRewrite rewrite, ASTNode targetTypeDecl) throws CoreException {		AST ast= targetTypeDecl.getAST();		MethodDeclaration decl= ast.newMethodDeclaration();		SimpleName newNameNode= getNewName(rewrite);		decl.setConstructor(isConstructor());		decl.modifiers().addAll(ASTNodeFactory.newModifiers(ast, evaluateModifiers(targetTypeDecl)));		ArrayList takenNames= new ArrayList();		addNewTypeParameters(rewrite, takenNames, decl.typeParameters());		decl.setName(newNameNode);		IVariableBinding[] declaredFields= fSenderBinding.getDeclaredFields();		for (int i= 0; i < declaredFields.length; i++) { // avoid to take parameter names that are equal to field names			takenNames.add(declaredFields[i].getName());		}		addNewParameters(rewrite, takenNames, decl.parameters());		addNewExceptions(rewrite, decl.thrownExceptions());		Block body= null;		String bodyStatement= ""; //$NON-NLS-1$		if (!isConstructor()) {			Type returnType= getNewMethodType(rewrite);			if (returnType == null) {				decl.setReturnType2(ast.newPrimitiveType(PrimitiveType.VOID));			} else {				decl.setReturnType2(returnType);			}			if (!fSenderBinding.isInterface() && returnType != null) {				ReturnStatement returnStatement= ast.newReturnStatement();				returnStatement.setExpression(ASTNodeFactory.newDefaultExpression(ast, returnType, 0));				bodyStatement= ASTNodes.asFormattedString(returnStatement, 0, String.valueOf('\n'));			}		}		if (!fSenderBinding.isInterface()) {			body= ast.newBlock();			String placeHolder= CodeGeneration.getMethodBodyContent(getCompilationUnit(), fSenderBinding.getName(), newNameNode.getIdentifier(), isConstructor(), bodyStatement, String.valueOf('\n'));			if (placeHolder != null) {				ASTNode todoNode= rewrite.createStringPlaceholder(placeHolder, ASTNode.RETURN_STATEMENT);				body.statements().add(todoNode);			}		}		decl.setBody(body);		CodeGenerationSettings settings= JavaPreferencesSettings.getCodeGenerationSettings(getCompilationUnit().getJavaProject());		if (settings.createComments && !fSenderBinding.isAnonymous()) {			String string= CodeGeneration.getMethodComment(getCompilationUnit(), fSenderBinding.getName(), decl, null, String.valueOf('\n'));			if (string != null) {				Javadoc javadoc= (Javadoc) rewrite.createStringPlaceholder(string, ASTNode.JAVADOC);				decl.setJavadoc(javadoc);			}		}		return decl;	}