equal
deleted
inserted
replaced
22 */ |
22 */ |
23 |
23 |
24 import java.util.EnumSet; |
24 import java.util.EnumSet; |
25 import java.util.List; |
25 import java.util.List; |
26 import java.util.Set; |
26 import java.util.Set; |
|
27 import javax.lang.model.element.Element; |
27 |
28 |
28 import com.sun.source.doctree.DocTree; |
29 import com.sun.source.doctree.DocTree; |
29 import jdk.javadoc.doclet.Taglet; |
30 import jdk.javadoc.doclet.Taglet; |
30 import static jdk.javadoc.doclet.Taglet.Location.*; |
31 import static jdk.javadoc.doclet.Taglet.Location.*; |
31 |
32 |
68 |
69 |
69 /** |
70 /** |
70 * Given the <code>DocTree</code> representation of this custom |
71 * Given the <code>DocTree</code> representation of this custom |
71 * tag, return its string representation. |
72 * tag, return its string representation. |
72 * @param tags the <code>DocTree</code> representation of this custom tag. |
73 * @param tags the <code>DocTree</code> representation of this custom tag. |
|
74 * @param element the declaration to which the enclosing comment belongs |
73 */ |
75 */ |
74 @Override |
76 @Override |
75 public String toString(List<? extends DocTree> tags) { |
77 public String toString(List<? extends DocTree> tags, Element element) { |
76 return "<u>" + ToDoTaglet.getText(tags.get(0)) + "</u>"; |
78 return "<u>" + ToDoTaglet.getText(tags.get(0)) + "</u>"; |
77 } |
79 } |
78 } |
80 } |