summaryrefslogtreecommitdiffstats
path: root/src/com/google/doclava/NavTree.java
diff options
context:
space:
mode:
authorHui Shu <hush@google.com>2014-02-18 14:06:42 -0800
committerHui Shu <hush@google.com>2014-03-10 15:41:34 -0700
commit5118ffe3bf77ec4efa070f36a7a62fd5d1bf16bf (patch)
tree74c4fe2f70c37bf5a0f9f635974ab63db6f3495b /src/com/google/doclava/NavTree.java
parentedf1f7360309748f4192034561c85f80cf46440d (diff)
downloadandroid_external_doclava-5118ffe3bf77ec4efa070f36a7a62fd5d1bf16bf.tar.gz
android_external_doclava-5118ffe3bf77ec4efa070f36a7a62fd5d1bf16bf.tar.bz2
android_external_doclava-5118ffe3bf77ec4efa070f36a7a62fd5d1bf16bf.zip
Add support for @removed tag.
@removed tags can be applied to packages, classes, methods, fields that were once public API, but later removed. Things annotated by @removed cannot be used by outside developers. But applications compiled against the old API where the @removed API were still public should continue to work and we must not delete the @removed APIs from the source. This fix makes sure of that. BUG: b/11293324 Change-Id: Iab3a8bdcaa0cb0742501c33e29b8121bc169bf1b
Diffstat (limited to 'src/com/google/doclava/NavTree.java')
-rw-r--r--src/com/google/doclava/NavTree.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/google/doclava/NavTree.java b/src/com/google/doclava/NavTree.java
index e36babe..cc4f43f 100644
--- a/src/com/google/doclava/NavTree.java
+++ b/src/com/google/doclava/NavTree.java
@@ -64,7 +64,7 @@ public class NavTree {
SortedMap<String, Object> sorted = new TreeMap<String, Object>();
for (ClassInfo cl : classes) {
- if (cl.isHidden()) {
+ if (cl.isHiddenOrRemoved()) {
continue;
}
sorted.put(cl.qualifiedName(), cl);