Backport Doclet fixes from YARN-3426

This commit is contained in:
Wangda Tan 2016-07-27 16:25:50 -07:00
parent 63711c3960
commit 6cb2e9733d
1 changed files with 5 additions and 0 deletions

View File

@ -127,6 +127,10 @@ class RootDocProcessor {
return filter(((ClassDoc) target).constructors(true),
ConstructorDoc.class);
}
} else {
if (methodName.equals("methods")) {
return filter(((ClassDoc) target).methods(true), MethodDoc.class);
}
}
} else if (target instanceof PackageDoc) {
if (methodName.equals("allClasses")) {
@ -245,3 +249,4 @@ class RootDocProcessor {
}
}