langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/MethodBuilder.java
equal
deleted
inserted
replaced
114 /** |
114 /** |
115 * {@inheritDoc} |
115 * {@inheritDoc} |
116 */ |
116 */ |
117 public void invokeMethod( |
117 public void invokeMethod( |
118 String methodName, |
118 String methodName, |
119 Class[] paramClasses, |
119 Class<?>[] paramClasses, |
120 Object[] params) |
120 Object[] params) |
121 throws Exception { |
121 throws Exception { |
122 if (DEBUG) { |
122 if (DEBUG) { |
123 configuration.root.printError( |
123 configuration.root.printError( |
124 "DEBUG: " + this.getClass().getName() + "." + methodName); |
124 "DEBUG: " + this.getClass().getName() + "." + methodName); |
133 * generation. |
133 * generation. |
134 * |
134 * |
135 * @param classDoc the {@link ClassDoc} we want to check. |
135 * @param classDoc the {@link ClassDoc} we want to check. |
136 * @return a list of methods that will be documented. |
136 * @return a list of methods that will be documented. |
137 */ |
137 */ |
138 public List members(ClassDoc classDoc) { |
138 public List<ProgramElementDoc> members(ClassDoc classDoc) { |
139 return visibleMemberMap.getMembersFor(classDoc); |
139 return visibleMemberMap.getMembersFor(classDoc); |
140 } |
140 } |
141 |
141 |
142 /** |
142 /** |
143 * Returns the visible member map for the methods of this class. |
143 * Returns the visible member map for the methods of this class. |
156 } |
156 } |
157 |
157 |
158 /** |
158 /** |
159 * Build the method documentation. |
159 * Build the method documentation. |
160 */ |
160 */ |
161 public void buildMethodDoc(List elements) { |
161 public void buildMethodDoc(List<?> elements) { |
162 if (writer == null) { |
162 if (writer == null) { |
163 return; |
163 return; |
164 } |
164 } |
165 for (currentMethodIndex = 0; |
165 for (currentMethodIndex = 0; |
166 currentMethodIndex < methods.size(); |
166 currentMethodIndex < methods.size(); |