src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/EnumConstantBuilder.java

changeset 184
905e151a185a
parent 117
24a47c3062fe
child 554
9d9f26857129
equal deleted inserted replaced
183:dbe9e82f9d25 184:905e151a185a
118 /** 118 /**
119 * {@inheritDoc} 119 * {@inheritDoc}
120 */ 120 */
121 public void invokeMethod( 121 public void invokeMethod(
122 String methodName, 122 String methodName,
123 Class[] paramClasses, 123 Class<?>[] paramClasses,
124 Object[] params) 124 Object[] params)
125 throws Exception { 125 throws Exception {
126 if (DEBUG) { 126 if (DEBUG) {
127 configuration.root.printError( 127 configuration.root.printError(
128 "DEBUG: " + this.getClass().getName() + "." + methodName); 128 "DEBUG: " + this.getClass().getName() + "." + methodName);
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();

mercurial