This maybe the same issue with How can I prevent a package-private interface appearing in Javadoc?. But I thing the situation is a little bit different.
interface Child<P> { // package-private!!! internal-use only!!!
P getParent();
void setParent(P parent);
}
public class John implements Child<Jane> {
}
When I generate the javadoc, I see following definitions on John's page.
getParent
public P getParent()
setParent
public void setParent(P parent)
Is this normal? Is there any way to hide those methods defined in the package-private interface?