Name: bsC130419 Date: 05/08/2001
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
Running "javadoc -private Test.java" on the file below (named Test.java) will
produce a class documentation page (Test.InnerText.html) for the inner class
Test.InnerText, but the field "myField" and the method "myMethod" will not be
documented. Only the fields (i.e. none) and methods inherited from
java.lang.Object will be there. "myField" and "myMethod" will, however, appear
with correct links in the "index-all.html" page.
class Test {
/** This is a private inner class */
private class InnerText {
/** This is an inner field */
public int myField;
/** This is an inner method */
public void setField(int value) {
myField = value;
}
}
}
(Review ID: 123863)
======================================================================
- duplicates
-
JDK-4343368 javadoc does not document private member classes correctly
-
- Closed
-
-
JDK-4455507 stddoclet?: With -private, private members of private nested classes do not show
-
- Closed
-
-
JDK-4473462 stddoclet: Javadoc fails to document private inner class methods & members
-
- Closed
-
-
JDK-4473642 javadoc does not document fields/methods for private inner classes
-
- Closed
-