public boolean visit(Javadoc doc){
AST ast = doc.getAST();
TagElement tag = ast.newTagElement();
tag.setTagName(TagElement.TAG_SEE);
doc.tags().add(tag);
MethodRef method = ast.newMethodRef();
tag.fragments().add(method);
SimpleName name = ast.newSimpleName("Test");
method.setQualifier(ast.newQualifiedName(ast.newQualifiedName(ast.newName("org"), ast.newSimpleName("junit")), name));
name = ast.newSimpleName("test");
method.setName(name);
return super.visit(doc);
}
};
node.accept(visitor);
System.out.println(node);