String placeHolder= StubUtility.getMethodBodyContent(false, getCompilationUnit().getJavaProject(), name, name, bodyStatement);
String placeHolder= StubUtility.getMethodBodyContent(true, getCompilationUnit().getJavaProject(), name, name, bodyStatement);
	private MethodDeclaration createNewMethodDeclaration(AST ast, IMethodBinding binding, ASTRewrite rewrite, CodeGenerationSettings commentSettings) throws CoreException {		String name= fTypeNode.getName().getIdentifier();		MethodDeclaration decl= ast.newMethodDeclaration();		decl.setConstructor(true);		decl.setName(ast.newSimpleName(name));		Block body= ast.newBlock();		decl.setBody(body);					String bodyStatement= ""; //$NON-NLS-1$		if (binding == null) {			decl.setModifiers(Modifier.PUBLIC);		} else {			decl.setModifiers(binding.getModifiers());					List parameters= decl.parameters();			ITypeBinding[] params= binding.getParameterTypes();			String[] paramNames= getArgumentNames(binding);			for (int i= 0; i < params.length; i++) {				ITypeBinding curr= params[i];				addImport(curr);						SingleVariableDeclaration var= ast.newSingleVariableDeclaration();				var.setType(ASTResolving.getTypeFromTypeBinding(ast, curr));				var.setName(ast.newSimpleName(paramNames[i]));				parameters.add(var);			}								List thrownExceptions= decl.thrownExceptions();			ITypeBinding[] excTypes= binding.getExceptionTypes();			for (int i= 0; i < excTypes.length; i++) {				ITypeBinding curr= excTypes[i];				addImport(curr);				thrownExceptions.add(ast.newSimpleName(curr.getName())); // can only be single type, no array			}					SuperConstructorInvocation invocation= ast.newSuperConstructorInvocation();			List arguments= invocation.arguments();			for (int i= 0; i < paramNames.length; i++) {				arguments.add(ast.newSimpleName(paramNames[i]));			}			bodyStatement= ASTNodes.asFormattedString(invocation, 0, String.valueOf('\n'));		}		String placeHolder= StubUtility.getMethodBodyContent(false, getCompilationUnit().getJavaProject(), name, name, bodyStatement); 			if (placeHolder != null) {			ASTNode todoNode= rewrite.createPlaceholder(placeHolder, ASTRewrite.STATEMENT);			body.statements().add(todoNode);		}		if (commentSettings != null) {			String string= StubUtility.getMethodComment(getCompilationUnit(), name, decl, null);			if (string != null) {				Javadoc javadoc= (Javadoc) rewrite.createPlaceholder(string, ASTRewrite.JAVADOC);				decl.setJavadoc(javadoc);			}		}		return decl;	}