8176836: Provide Taglet with context
Reviewed-by: ksrini
This commit is contained in:
parent
9ccff870cb
commit
cb82f31f81
@ -28,6 +28,7 @@ package build.tools.taglet;
|
||||
import java.util.EnumSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import javax.lang.model.element.Element;
|
||||
import com.sun.source.doctree.DocTree;
|
||||
import jdk.javadoc.doclet.Taglet;
|
||||
import static jdk.javadoc.doclet.Taglet.Location.*;
|
||||
@ -59,7 +60,7 @@ public class Incubating implements Taglet {
|
||||
+ " Will be removed in a future release.</b>";
|
||||
|
||||
@Override
|
||||
public String toString(List<? extends DocTree> tags) {
|
||||
public String toString(List<? extends DocTree> tags, Element elem) {
|
||||
return MESSAGE;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user