rewrite.markAsRemoved((ASTNode) tags.get(1));
rewrite.markAsRemoved((ASTNode) tags.get(1), null);
	public void testTagRemove3() throws Exception {		IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);		StringBuffer buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("public class E {\n");		buf.append("\n");		buf.append("    /**\n");					buf.append("     * @param name1 The first name.\n");		buf.append("     * @param name2 The second name.\n");		buf.append("     */\n");		buf.append("    public void gee(String name) {\n");		buf.append("    }\n");		buf.append("}\n");		ICompilationUnit cu= pack1.createCompilationUnit("E.java", buf.toString(), false, null);					CompilationUnit astRoot= createAST(cu);		NewASTRewrite rewrite= new NewASTRewrite(astRoot.getAST());			{  // insert method at first position			TypeDeclaration type= findTypeDeclaration(astRoot, "E");			MethodDeclaration methodDecl= findMethodDeclaration(type, "gee");						Javadoc javadoc= methodDecl.getJavadoc();			List tags= javadoc.tags();			assertTrue("Has one tag", tags.size() == 2);						rewrite.markAsRemoved((ASTNode) tags.get(1));		}		String preview= evaluateRewrite(cu, rewrite);				buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("public class E {\n");		buf.append("\n");		buf.append("    /**\n");					buf.append("     * @param name1 The first name.\n");		buf.append("     */\n");		buf.append("    public void gee(String name) {\n");		buf.append("    }\n");		buf.append("}\n");		assertEqualString(preview, buf.toString());	}