langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/ConstructorBuilder.java
author mcimadamore
Tue, 13 Jan 2009 13:27:14 +0000
changeset 1789 7ac8c0815000
parent 1264 076a3cde30d5
child 5520 86e4b9a9da40
permissions -rw-r--r--
6765045: Remove rawtypes warnings from langtools Summary: Removed all occurrences of rawtypes warnings from langtools Reviewed-by: jjg, bpatel
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
/*
1264
076a3cde30d5 6754988: Update copyright year
xdono
parents: 868
diff changeset
     2
 * Copyright 2003-2008 Sun Microsystems, Inc.  All Rights Reserved.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
06bc494ca11e Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Sun designates this
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
06bc494ca11e Initial load
duke
parents:
diff changeset
     9
 * by Sun in the LICENSE file that accompanied this code.
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
06bc494ca11e Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
06bc494ca11e Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
06bc494ca11e Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
06bc494ca11e Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
06bc494ca11e Initial load
duke
parents:
diff changeset
    16
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
06bc494ca11e Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
06bc494ca11e Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
06bc494ca11e Initial load
duke
parents:
diff changeset
    20
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
    21
 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
06bc494ca11e Initial load
duke
parents:
diff changeset
    22
 * CA 95054 USA or visit www.sun.com if you need additional information or
06bc494ca11e Initial load
duke
parents:
diff changeset
    23
 * have any questions.
06bc494ca11e Initial load
duke
parents:
diff changeset
    24
 */
06bc494ca11e Initial load
duke
parents:
diff changeset
    25
06bc494ca11e Initial load
duke
parents:
diff changeset
    26
package com.sun.tools.doclets.internal.toolkit.builders;
06bc494ca11e Initial load
duke
parents:
diff changeset
    27
06bc494ca11e Initial load
duke
parents:
diff changeset
    28
import com.sun.tools.doclets.internal.toolkit.util.*;
06bc494ca11e Initial load
duke
parents:
diff changeset
    29
import com.sun.tools.doclets.internal.toolkit.*;
06bc494ca11e Initial load
duke
parents:
diff changeset
    30
import com.sun.javadoc.*;
06bc494ca11e Initial load
duke
parents:
diff changeset
    31
import java.lang.reflect.*;
06bc494ca11e Initial load
duke
parents:
diff changeset
    32
import java.util.*;
06bc494ca11e Initial load
duke
parents:
diff changeset
    33
06bc494ca11e Initial load
duke
parents:
diff changeset
    34
/**
06bc494ca11e Initial load
duke
parents:
diff changeset
    35
 * Builds documentation for a constructor.
06bc494ca11e Initial load
duke
parents:
diff changeset
    36
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
    37
 * This code is not part of an API.
06bc494ca11e Initial load
duke
parents:
diff changeset
    38
 * It is implementation that is subject to change.
06bc494ca11e Initial load
duke
parents:
diff changeset
    39
 * Do not use it as an API
06bc494ca11e Initial load
duke
parents:
diff changeset
    40
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
    41
 * @author Jamie Ho
06bc494ca11e Initial load
duke
parents:
diff changeset
    42
 * @since 1.5
06bc494ca11e Initial load
duke
parents:
diff changeset
    43
 */
06bc494ca11e Initial load
duke
parents:
diff changeset
    44
public class ConstructorBuilder extends AbstractMemberBuilder {
06bc494ca11e Initial load
duke
parents:
diff changeset
    45
06bc494ca11e Initial load
duke
parents:
diff changeset
    46
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    47
         * The name of this builder.
06bc494ca11e Initial load
duke
parents:
diff changeset
    48
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
    49
        public static final String NAME = "ConstructorDetails";
06bc494ca11e Initial load
duke
parents:
diff changeset
    50
06bc494ca11e Initial load
duke
parents:
diff changeset
    51
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    52
         * The index of the current field that is being documented at this point
06bc494ca11e Initial load
duke
parents:
diff changeset
    53
         * in time.
06bc494ca11e Initial load
duke
parents:
diff changeset
    54
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
    55
        private int currentMethodIndex;
06bc494ca11e Initial load
duke
parents:
diff changeset
    56
06bc494ca11e Initial load
duke
parents:
diff changeset
    57
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    58
         * The class whose constructors are being documented.
06bc494ca11e Initial load
duke
parents:
diff changeset
    59
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
    60
        private ClassDoc classDoc;
06bc494ca11e Initial load
duke
parents:
diff changeset
    61
06bc494ca11e Initial load
duke
parents:
diff changeset
    62
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    63
         * The visible constructors for the given class.
06bc494ca11e Initial load
duke
parents:
diff changeset
    64
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
    65
        private VisibleMemberMap visibleMemberMap;
06bc494ca11e Initial load
duke
parents:
diff changeset
    66
06bc494ca11e Initial load
duke
parents:
diff changeset
    67
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    68
         * The writer to output the constructor documentation.
06bc494ca11e Initial load
duke
parents:
diff changeset
    69
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
    70
        private ConstructorWriter writer;
06bc494ca11e Initial load
duke
parents:
diff changeset
    71
06bc494ca11e Initial load
duke
parents:
diff changeset
    72
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    73
         * The constructors being documented.
06bc494ca11e Initial load
duke
parents:
diff changeset
    74
         */
868
d0f233085cbb 6657907: javadoc has unchecked warnings
jjg
parents: 10
diff changeset
    75
        private List<ProgramElementDoc> constructors;
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    76
06bc494ca11e Initial load
duke
parents:
diff changeset
    77
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    78
         * Construct a new ConstructorBuilder.
06bc494ca11e Initial load
duke
parents:
diff changeset
    79
         *
06bc494ca11e Initial load
duke
parents:
diff changeset
    80
         * @param configuration the current configuration of the
06bc494ca11e Initial load
duke
parents:
diff changeset
    81
         *                      doclet.
06bc494ca11e Initial load
duke
parents:
diff changeset
    82
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
    83
        private ConstructorBuilder(Configuration configuration) {
06bc494ca11e Initial load
duke
parents:
diff changeset
    84
                super(configuration);
06bc494ca11e Initial load
duke
parents:
diff changeset
    85
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
    86
06bc494ca11e Initial load
duke
parents:
diff changeset
    87
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    88
         * Construct a new ConstructorBuilder.
06bc494ca11e Initial load
duke
parents:
diff changeset
    89
         *
06bc494ca11e Initial load
duke
parents:
diff changeset
    90
         * @param configuration the current configuration of the doclet.
06bc494ca11e Initial load
duke
parents:
diff changeset
    91
         * @param classDoc the class whoses members are being documented.
06bc494ca11e Initial load
duke
parents:
diff changeset
    92
         * @param writer the doclet specific writer.
06bc494ca11e Initial load
duke
parents:
diff changeset
    93
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
    94
        public static ConstructorBuilder getInstance(
06bc494ca11e Initial load
duke
parents:
diff changeset
    95
                Configuration configuration,
06bc494ca11e Initial load
duke
parents:
diff changeset
    96
                ClassDoc classDoc,
06bc494ca11e Initial load
duke
parents:
diff changeset
    97
                ConstructorWriter writer) {
06bc494ca11e Initial load
duke
parents:
diff changeset
    98
                ConstructorBuilder builder = new ConstructorBuilder(configuration);
06bc494ca11e Initial load
duke
parents:
diff changeset
    99
                builder.classDoc = classDoc;
06bc494ca11e Initial load
duke
parents:
diff changeset
   100
                builder.writer = writer;
06bc494ca11e Initial load
duke
parents:
diff changeset
   101
                builder.visibleMemberMap =
06bc494ca11e Initial load
duke
parents:
diff changeset
   102
                        new VisibleMemberMap(
06bc494ca11e Initial load
duke
parents:
diff changeset
   103
                                classDoc,
06bc494ca11e Initial load
duke
parents:
diff changeset
   104
                                VisibleMemberMap.CONSTRUCTORS,
06bc494ca11e Initial load
duke
parents:
diff changeset
   105
                                configuration.nodeprecated);
06bc494ca11e Initial load
duke
parents:
diff changeset
   106
                builder.constructors =
868
d0f233085cbb 6657907: javadoc has unchecked warnings
jjg
parents: 10
diff changeset
   107
                        new ArrayList<ProgramElementDoc>(builder.visibleMemberMap.getMembersFor(classDoc));
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   108
                for (int i = 0; i < builder.constructors.size(); i++) {
868
d0f233085cbb 6657907: javadoc has unchecked warnings
jjg
parents: 10
diff changeset
   109
                        if (builder.constructors.get(i).isProtected()
d0f233085cbb 6657907: javadoc has unchecked warnings
jjg
parents: 10
diff changeset
   110
                                || builder.constructors.get(i).isPrivate()) {
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   111
                                writer.setFoundNonPubConstructor(true);
06bc494ca11e Initial load
duke
parents:
diff changeset
   112
                        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   113
                }
06bc494ca11e Initial load
duke
parents:
diff changeset
   114
                if (configuration.getMemberComparator() != null) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   115
                        Collections.sort(
06bc494ca11e Initial load
duke
parents:
diff changeset
   116
                                builder.constructors,
06bc494ca11e Initial load
duke
parents:
diff changeset
   117
                                configuration.getMemberComparator());
06bc494ca11e Initial load
duke
parents:
diff changeset
   118
                }
06bc494ca11e Initial load
duke
parents:
diff changeset
   119
                return builder;
06bc494ca11e Initial load
duke
parents:
diff changeset
   120
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   121
06bc494ca11e Initial load
duke
parents:
diff changeset
   122
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   123
         * {@inheritDoc}
06bc494ca11e Initial load
duke
parents:
diff changeset
   124
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
   125
        public String getName() {
06bc494ca11e Initial load
duke
parents:
diff changeset
   126
                return NAME;
06bc494ca11e Initial load
duke
parents:
diff changeset
   127
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   128
06bc494ca11e Initial load
duke
parents:
diff changeset
   129
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   130
         * {@inheritDoc}
06bc494ca11e Initial load
duke
parents:
diff changeset
   131
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
   132
        public boolean hasMembersToDocument() {
06bc494ca11e Initial load
duke
parents:
diff changeset
   133
                return constructors.size() > 0;
06bc494ca11e Initial load
duke
parents:
diff changeset
   134
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   135
06bc494ca11e Initial load
duke
parents:
diff changeset
   136
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   137
         * {@inheritDoc}
06bc494ca11e Initial load
duke
parents:
diff changeset
   138
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
   139
        public void invokeMethod(
06bc494ca11e Initial load
duke
parents:
diff changeset
   140
                String methodName,
1789
7ac8c0815000 6765045: Remove rawtypes warnings from langtools
mcimadamore
parents: 1264
diff changeset
   141
                Class<?>[] paramClasses,
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   142
                Object[] params)
06bc494ca11e Initial load
duke
parents:
diff changeset
   143
                throws Exception {
06bc494ca11e Initial load
duke
parents:
diff changeset
   144
                if (DEBUG) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   145
                        configuration.root.printError(
06bc494ca11e Initial load
duke
parents:
diff changeset
   146
                                "DEBUG: " + this.getClass().getName() + "." + methodName);
06bc494ca11e Initial load
duke
parents:
diff changeset
   147
                }
06bc494ca11e Initial load
duke
parents:
diff changeset
   148
                Method method = this.getClass().getMethod(methodName, paramClasses);
06bc494ca11e Initial load
duke
parents:
diff changeset
   149
                method.invoke(this, params);
06bc494ca11e Initial load
duke
parents:
diff changeset
   150
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   151
06bc494ca11e Initial load
duke
parents:
diff changeset
   152
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   153
         * Returns a list of constructors that will be documented for the given class.
06bc494ca11e Initial load
duke
parents:
diff changeset
   154
         * This information can be used for doclet specific documentation
06bc494ca11e Initial load
duke
parents:
diff changeset
   155
         * generation.
06bc494ca11e Initial load
duke
parents:
diff changeset
   156
         *
06bc494ca11e Initial load
duke
parents:
diff changeset
   157
         * @return a list of constructors that will be documented.
06bc494ca11e Initial load
duke
parents:
diff changeset
   158
         */
1789
7ac8c0815000 6765045: Remove rawtypes warnings from langtools
mcimadamore
parents: 1264
diff changeset
   159
        public List<ProgramElementDoc> members(ClassDoc classDoc) {
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   160
                return visibleMemberMap.getMembersFor(classDoc);
06bc494ca11e Initial load
duke
parents:
diff changeset
   161
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   162
06bc494ca11e Initial load
duke
parents:
diff changeset
   163
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   164
         * Return the constructor writer for this builder.
06bc494ca11e Initial load
duke
parents:
diff changeset
   165
         *
06bc494ca11e Initial load
duke
parents:
diff changeset
   166
         * @return the constructor writer for this builder.
06bc494ca11e Initial load
duke
parents:
diff changeset
   167
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
   168
        public ConstructorWriter getWriter() {
06bc494ca11e Initial load
duke
parents:
diff changeset
   169
                return writer;
06bc494ca11e Initial load
duke
parents:
diff changeset
   170
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   171
06bc494ca11e Initial load
duke
parents:
diff changeset
   172
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   173
         * Build the constructor documentation.
06bc494ca11e Initial load
duke
parents:
diff changeset
   174
         *
06bc494ca11e Initial load
duke
parents:
diff changeset
   175
         * @param elements the XML elements that specify how to construct this
06bc494ca11e Initial load
duke
parents:
diff changeset
   176
         *                documentation.
06bc494ca11e Initial load
duke
parents:
diff changeset
   177
         */
1789
7ac8c0815000 6765045: Remove rawtypes warnings from langtools
mcimadamore
parents: 1264
diff changeset
   178
        public void buildConstructorDoc(List<?> elements) {
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   179
                if (writer == null) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   180
                        return;
06bc494ca11e Initial load
duke
parents:
diff changeset
   181
                }
06bc494ca11e Initial load
duke
parents:
diff changeset
   182
                for (currentMethodIndex = 0;
06bc494ca11e Initial load
duke
parents:
diff changeset
   183
                        currentMethodIndex < constructors.size();
06bc494ca11e Initial load
duke
parents:
diff changeset
   184
                        currentMethodIndex++) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   185
                        build(elements);
06bc494ca11e Initial load
duke
parents:
diff changeset
   186
                }
06bc494ca11e Initial load
duke
parents:
diff changeset
   187
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   188
06bc494ca11e Initial load
duke
parents:
diff changeset
   189
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   190
         * Build the overall header.
06bc494ca11e Initial load
duke
parents:
diff changeset
   191
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
   192
        public void buildHeader() {
06bc494ca11e Initial load
duke
parents:
diff changeset
   193
                writer.writeHeader(
06bc494ca11e Initial load
duke
parents:
diff changeset
   194
                        classDoc,
06bc494ca11e Initial load
duke
parents:
diff changeset
   195
                        configuration.getText("doclet.Constructor_Detail"));
06bc494ca11e Initial load
duke
parents:
diff changeset
   196
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   197
06bc494ca11e Initial load
duke
parents:
diff changeset
   198
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   199
         * Build the header for the individual constructor.
06bc494ca11e Initial load
duke
parents:
diff changeset
   200
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
   201
        public void buildConstructorHeader() {
06bc494ca11e Initial load
duke
parents:
diff changeset
   202
                writer.writeConstructorHeader(
06bc494ca11e Initial load
duke
parents:
diff changeset
   203
                        (ConstructorDoc) constructors.get(currentMethodIndex),
06bc494ca11e Initial load
duke
parents:
diff changeset
   204
                        currentMethodIndex == 0);
06bc494ca11e Initial load
duke
parents:
diff changeset
   205
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   206
06bc494ca11e Initial load
duke
parents:
diff changeset
   207
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   208
         * Build the signature.
06bc494ca11e Initial load
duke
parents:
diff changeset
   209
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
   210
        public void buildSignature() {
06bc494ca11e Initial load
duke
parents:
diff changeset
   211
                writer.writeSignature(
06bc494ca11e Initial load
duke
parents:
diff changeset
   212
                        (ConstructorDoc) constructors.get(currentMethodIndex));
06bc494ca11e Initial load
duke
parents:
diff changeset
   213
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   214
06bc494ca11e Initial load
duke
parents:
diff changeset
   215
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   216
         * Build the deprecation information.
06bc494ca11e Initial load
duke
parents:
diff changeset
   217
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
   218
        public void buildDeprecationInfo() {
06bc494ca11e Initial load
duke
parents:
diff changeset
   219
                writer.writeDeprecated(
06bc494ca11e Initial load
duke
parents:
diff changeset
   220
                        (ConstructorDoc) constructors.get(currentMethodIndex));
06bc494ca11e Initial load
duke
parents:
diff changeset
   221
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   222
06bc494ca11e Initial load
duke
parents:
diff changeset
   223
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   224
         * Build the comments for the constructor.  Do nothing if
06bc494ca11e Initial load
duke
parents:
diff changeset
   225
         * {@link Configuration#nocomment} is set to true.
06bc494ca11e Initial load
duke
parents:
diff changeset
   226
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
   227
        public void buildConstructorComments() {
06bc494ca11e Initial load
duke
parents:
diff changeset
   228
                if (!configuration.nocomment) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   229
                        writer.writeComments(
06bc494ca11e Initial load
duke
parents:
diff changeset
   230
                                (ConstructorDoc) constructors.get(currentMethodIndex));
06bc494ca11e Initial load
duke
parents:
diff changeset
   231
                }
06bc494ca11e Initial load
duke
parents:
diff changeset
   232
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   233
06bc494ca11e Initial load
duke
parents:
diff changeset
   234
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   235
         * Build the tag information.
06bc494ca11e Initial load
duke
parents:
diff changeset
   236
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
   237
        public void buildTagInfo() {
06bc494ca11e Initial load
duke
parents:
diff changeset
   238
                writer.writeTags((ConstructorDoc) constructors.get(currentMethodIndex));
06bc494ca11e Initial load
duke
parents:
diff changeset
   239
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   240
06bc494ca11e Initial load
duke
parents:
diff changeset
   241
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   242
         * Build the footer for the individual constructor.
06bc494ca11e Initial load
duke
parents:
diff changeset
   243
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
   244
        public void buildConstructorFooter() {
06bc494ca11e Initial load
duke
parents:
diff changeset
   245
                writer.writeConstructorFooter();
06bc494ca11e Initial load
duke
parents:
diff changeset
   246
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   247
06bc494ca11e Initial load
duke
parents:
diff changeset
   248
        /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   249
         * Build the overall footer.
06bc494ca11e Initial load
duke
parents:
diff changeset
   250
         */
06bc494ca11e Initial load
duke
parents:
diff changeset
   251
        public void buildFooter() {
06bc494ca11e Initial load
duke
parents:
diff changeset
   252
                writer.writeFooter(classDoc);
06bc494ca11e Initial load
duke
parents:
diff changeset
   253
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   254
}