langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/AnnotationTypeRequiredMemberBuilder.java
equal
deleted
inserted
replaced
114 } |
114 } |
115 |
115 |
116 /** |
116 /** |
117 * {@inheritDoc} |
117 * {@inheritDoc} |
118 */ |
118 */ |
119 public void invokeMethod(String methodName, Class[] paramClasses, |
119 public void invokeMethod(String methodName, Class<?>[] paramClasses, |
120 Object[] params) |
120 Object[] params) |
121 throws Exception { |
121 throws Exception { |
122 if (DEBUG) { |
122 if (DEBUG) { |
123 configuration.root.printError("DEBUG: " + this.getClass().getName() |
123 configuration.root.printError("DEBUG: " + this.getClass().getName() |
124 + "." + methodName); |
124 + "." + 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 members that will be documented. |
136 * @return a list of members 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 members of this class. |
143 * Returns the visible member map for the members of this class. |
159 * Build the member documentation. |
159 * Build the member documentation. |
160 * |
160 * |
161 * @param elements the XML elements that specify how to construct this |
161 * @param elements the XML elements that specify how to construct this |
162 * documentation. |
162 * documentation. |
163 */ |
163 */ |
164 public void buildAnnotationTypeRequiredMember(List elements) { |
164 public void buildAnnotationTypeRequiredMember(List<?> elements) { |
165 if (writer == null) { |
165 if (writer == null) { |
166 return; |
166 return; |
167 } |
167 } |
168 for (currentMemberIndex = 0; currentMemberIndex < members.size(); |
168 for (currentMemberIndex = 0; currentMemberIndex < members.size(); |
169 currentMemberIndex++) { |
169 currentMemberIndex++) { |