author | rkennke |
Fri, 12 Oct 2018 16:25:24 +0200 | |
changeset 52107 | 0c1e44da019c |
parent 47216 | 71c04702a3d5 |
permissions | -rw-r--r-- |
34567
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
1 |
/* |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
2 |
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
4 |
* |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. Oracle designates this |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
8 |
* particular file as subject to the "Classpath" exception as provided |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
9 |
* by Oracle in the LICENSE file that accompanied this code. |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
10 |
* |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
11 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
12 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
13 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
14 |
* version 2 for more details (a copy is included in the LICENSE file that |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
15 |
* accompanied this code). |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
16 |
* |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
17 |
* You should have received a copy of the GNU General Public License version |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
18 |
* 2 along with this work; if not, write to the Free Software Foundation, |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
19 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
20 |
* |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
21 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
22 |
* or visit www.oracle.com if you need additional information or have any |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
23 |
* questions. |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
24 |
*/ |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
25 |
|
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
26 |
package com.sun.source.doctree; |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
27 |
|
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
28 |
import java.util.List; |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
29 |
|
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
30 |
/** |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
31 |
* A tree node for an @index or @index inline tag. |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
32 |
* |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
33 |
* <p> |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
34 |
* {@index keyword optional description} <br> |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
35 |
* |
34912
954fa9df99c7
8146572: Update "@since 1.9" to "@since 9" to match java.version.specification [langtools]
jjg
parents:
34567
diff
changeset
|
36 |
* @since 9 |
34567
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
37 |
*/ |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
38 |
public interface IndexTree extends InlineTagTree { |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
39 |
/** |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
40 |
* Returns the specified search term. |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
41 |
* @return the search term |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
42 |
*/ |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
43 |
DocTree getSearchTerm(); |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
44 |
|
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
45 |
/** |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
46 |
* Returns the description, if any. |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
47 |
* @return the description |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
48 |
*/ |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
49 |
List<? extends DocTree> getDescription(); |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
diff
changeset
|
50 |
} |