ASTNode type= ast.apiLevel() == AST.JLS2 ? methodDecl.getReturnType() : methodDecl.getReturnType2();
ASTNode type= methodDecl.getReturnType2();
	public static Type newType(AST ast, String content) {		StringBuffer buffer= new StringBuffer(TYPE_HEADER);		buffer.append(content);		buffer.append(TYPE_FOOTER);		ASTParser p= ASTParser.newParser(ast.apiLevel());		p.setSource(buffer.toString().toCharArray());		CompilationUnit root= (CompilationUnit) p.createAST(null);		List list= root.types();		TypeDeclaration typeDecl= (TypeDeclaration) list.get(0);		MethodDeclaration methodDecl= typeDecl.getMethods()[0];		ASTNode type= ast.apiLevel() == AST.JLS2 ? methodDecl.getReturnType() : methodDecl.getReturnType2();		ASTNode result= ASTNode.copySubtree(ast, type);		result.accept(new PositionClearer());		return (Type)result;	}