equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
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 |
31 |
31 public class Check implements Taglet { |
32 public class Check implements Taglet { |
62 /** |
63 /** |
63 * Given a list of DocTrees representing this custom tag, return its string |
64 * Given a list of DocTrees representing this custom tag, return its string |
64 * representation. |
65 * representation. |
65 * |
66 * |
66 * @param tags the array of tags representing this custom tag. |
67 * @param tags the array of tags representing this custom tag. |
|
68 * @param element the declaration to which the enclosing comment belongs |
67 * @return null to test if the javadoc throws an exception or not. |
69 * @return null to test if the javadoc throws an exception or not. |
68 */ |
70 */ |
69 @Override |
71 @Override |
70 public String toString(List<? extends DocTree> tags) { |
72 public String toString(List<? extends DocTree> tags, Element element) { |
71 return null; |
73 return null; |
72 } |
74 } |
73 } |
75 } |