langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/FieldBuilder.java
changeset 1789 7ac8c0815000
parent 1264 076a3cde30d5
child 5520 86e4b9a9da40
equal deleted inserted replaced
1788:ced0a1a7ec80 1789:7ac8c0815000
   119         /**
   119         /**
   120          * {@inheritDoc}
   120          * {@inheritDoc}
   121          */
   121          */
   122         public void invokeMethod(
   122         public void invokeMethod(
   123                 String methodName,
   123                 String methodName,
   124                 Class[] paramClasses,
   124                 Class<?>[] paramClasses,
   125                 Object[] params)
   125                 Object[] params)
   126                 throws Exception {
   126                 throws Exception {
   127                 if (DEBUG) {
   127                 if (DEBUG) {
   128                         configuration.root.printError(
   128                         configuration.root.printError(
   129                                 "DEBUG: " + this.getClass().getName() + "." + methodName);
   129                                 "DEBUG: " + this.getClass().getName() + "." + methodName);
   138          * generation.
   138          * generation.
   139          *
   139          *
   140          * @param classDoc the {@link ClassDoc} we want to check.
   140          * @param classDoc the {@link ClassDoc} we want to check.
   141          * @return a list of fields that will be documented.
   141          * @return a list of fields that will be documented.
   142          */
   142          */
   143         public List members(ClassDoc classDoc) {
   143         public List<ProgramElementDoc> members(ClassDoc classDoc) {
   144                 return visibleMemberMap.getMembersFor(classDoc);
   144                 return visibleMemberMap.getMembersFor(classDoc);
   145         }
   145         }
   146 
   146 
   147         /**
   147         /**
   148          * Returns the visible member map for the fields of this class.
   148          * Returns the visible member map for the fields of this class.
   164          * Build the field documentation.
   164          * Build the field documentation.
   165          *
   165          *
   166          * @param elements the XML elements that specify how to construct this
   166          * @param elements the XML elements that specify how to construct this
   167          *                documentation.
   167          *                documentation.
   168          */
   168          */
   169         public void buildFieldDoc(List elements) {
   169         public void buildFieldDoc(List<?> elements) {
   170                 if (writer == null) {
   170                 if (writer == null) {
   171                         return;
   171                         return;
   172                 }
   172                 }
   173                 for (currentFieldIndex = 0;
   173                 for (currentFieldIndex = 0;
   174                         currentFieldIndex < fields.size();
   174                         currentFieldIndex < fields.size();