137 * generation. |
137 * generation. |
138 * |
138 * |
139 * @param classDoc the {@link ClassDoc} we want to check. |
139 * @param classDoc the {@link ClassDoc} we want to check. |
140 * @return a list of enum constants that will be documented. |
140 * @return a list of enum constants that will be documented. |
141 */ |
141 */ |
142 public List members(ClassDoc classDoc) { |
142 public List<ProgramElementDoc> members(ClassDoc classDoc) { |
143 return visibleMemberMap.getMembersFor(classDoc); |
143 return visibleMemberMap.getMembersFor(classDoc); |
144 } |
144 } |
145 |
145 |
146 /** |
146 /** |
147 * Returns the visible member map for the enum constants of this class. |
147 * Returns the visible member map for the enum constants of this class. |
163 * Build the enum constant documentation. |
163 * Build the enum constant documentation. |
164 * |
164 * |
165 * @param elements the XML elements that specify how to construct this |
165 * @param elements the XML elements that specify how to construct this |
166 * documentation. |
166 * documentation. |
167 */ |
167 */ |
168 public void buildEnumConstant(List elements) { |
168 public void buildEnumConstant(List<?> elements) { |
169 if (writer == null) { |
169 if (writer == null) { |
170 return; |
170 return; |
171 } |
171 } |
172 for (currentEnumConstantsIndex = 0; |
172 for (currentEnumConstantsIndex = 0; |
173 currentEnumConstantsIndex < enumConstants.size(); |
173 currentEnumConstantsIndex < enumConstants.size(); |