src/share/classes/com/sun/tools/doclets/internal/toolkit/util/VisibleMemberMap.java

changeset 1358
fc123bdeddb8
parent 1357
c75be5bc5283
child 1359
25e14ad23cef
equal deleted inserted replaced
1357:c75be5bc5283 1358:fc123bdeddb8
124 124
125 /** 125 /**
126 * Return the package private members inherited by the class. Only return 126 * Return the package private members inherited by the class. Only return
127 * if parent is package private and not documented. 127 * if parent is package private and not documented.
128 * 128 *
129 * @param configuation the current configuration of the doclet. 129 * @param configuration the current configuration of the doclet.
130 * @return the package private members inherited by the class. 130 * @return the package private members inherited by the class.
131 */ 131 */
132 private List<ProgramElementDoc> getInheritedPackagePrivateMethods(Configuration configuration) { 132 private List<ProgramElementDoc> getInheritedPackagePrivateMethods(Configuration configuration) {
133 List<ProgramElementDoc> results = new ArrayList<ProgramElementDoc>(); 133 List<ProgramElementDoc> results = new ArrayList<ProgramElementDoc>();
134 for (Iterator<ClassDoc> iter = visibleClasses.iterator(); iter.hasNext(); ) { 134 for (Iterator<ClassDoc> iter = visibleClasses.iterator(); iter.hasNext(); ) {
147 /** 147 /**
148 * Return the visible members of the class being mapped. Also append at the 148 * Return the visible members of the class being mapped. Also append at the
149 * end of the list members that are inherited by inaccessible parents. We 149 * end of the list members that are inherited by inaccessible parents. We
150 * document these members in the child because the parent is not documented. 150 * document these members in the child because the parent is not documented.
151 * 151 *
152 * @param configuation the current configuration of the doclet. 152 * @param configuration the current configuration of the doclet.
153 */ 153 */
154 public List<ProgramElementDoc> getLeafClassMembers(Configuration configuration) { 154 public List<ProgramElementDoc> getLeafClassMembers(Configuration configuration) {
155 List<ProgramElementDoc> result = getMembersFor(classdoc); 155 List<ProgramElementDoc> result = getMembersFor(classdoc);
156 result.addAll(getInheritedPackagePrivateMethods(configuration)); 156 result.addAll(getInheritedPackagePrivateMethods(configuration));
157 return result; 157 return result;

mercurial