Backport Doclet fixes from YARN-3426
This commit is contained in:
parent
63711c3960
commit
6cb2e9733d
|
@ -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 {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue