langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/AnnotationTypeBuilder.java
changeset 1789 7ac8c0815000
parent 1264 076a3cde30d5
child 5520 86e4b9a9da40
equal deleted inserted replaced
1788:ced0a1a7ec80 1789:7ac8c0815000
    90     }
    90     }
    91 
    91 
    92     /**
    92     /**
    93      * {@inheritDoc}
    93      * {@inheritDoc}
    94      */
    94      */
    95     public void invokeMethod(String methodName, Class[] paramClasses,
    95     public void invokeMethod(String methodName, Class<?>[] paramClasses,
    96             Object[] params)
    96             Object[] params)
    97     throws Exception {
    97     throws Exception {
    98         if (DEBUG) {
    98         if (DEBUG) {
    99             configuration.root.printError("DEBUG: " + this.getClass().getName()
    99             configuration.root.printError("DEBUG: " + this.getClass().getName()
   100                 + "." + methodName);
   100                 + "." + methodName);
   120      /**
   120      /**
   121       * Handles the &lt;AnnotationTypeDoc> tag.
   121       * Handles the &lt;AnnotationTypeDoc> tag.
   122       *
   122       *
   123       * @param elements the XML elements that specify how to document a class.
   123       * @param elements the XML elements that specify how to document a class.
   124       */
   124       */
   125      public void buildAnnotationTypeDoc(List elements) throws Exception {
   125      public void buildAnnotationTypeDoc(List<?> elements) throws Exception {
   126         build(elements);
   126         build(elements);
   127         writer.close();
   127         writer.close();
   128         copyDocFiles();
   128         copyDocFiles();
   129      }
   129      }
   130 
   130 
   195      * Build the contents of the page.
   195      * Build the contents of the page.
   196      *
   196      *
   197      * @param elements the XML elements that specify how a member summary is
   197      * @param elements the XML elements that specify how a member summary is
   198      *                 documented.
   198      *                 documented.
   199      */
   199      */
   200     public void buildMemberSummary(List elements) throws Exception {
   200     public void buildMemberSummary(List<?> elements) throws Exception {
   201         configuration.getBuilderFactory().
   201         configuration.getBuilderFactory().
   202             getMemberSummaryBuilder(writer).build(elements);
   202             getMemberSummaryBuilder(writer).build(elements);
   203         writer.completeMemberSummaryBuild();
   203         writer.completeMemberSummaryBuild();
   204     }
   204     }
   205 
   205 
   207      * Build the annotation type optional member documentation.
   207      * Build the annotation type optional member documentation.
   208      *
   208      *
   209      * @param elements the XML elements that specify how a annotation type
   209      * @param elements the XML elements that specify how a annotation type
   210      *                 members are documented.
   210      *                 members are documented.
   211      */
   211      */
   212     public void buildAnnotationTypeOptionalMemberDetails(List elements)
   212     public void buildAnnotationTypeOptionalMemberDetails(List<?> elements)
   213     throws Exception {
   213     throws Exception {
   214         configuration.getBuilderFactory().
   214         configuration.getBuilderFactory().
   215             getAnnotationTypeOptionalMemberBuilder(writer).build(elements);
   215             getAnnotationTypeOptionalMemberBuilder(writer).build(elements);
   216     }
   216     }
   217 
   217 
   219      * Build the annotation type required member documentation.
   219      * Build the annotation type required member documentation.
   220      *
   220      *
   221      * @param elements the XML elements that specify how a annotation type
   221      * @param elements the XML elements that specify how a annotation type
   222      *                 members are documented.
   222      *                 members are documented.
   223      */
   223      */
   224     public void buildAnnotationTypeRequiredMemberDetails(List elements)
   224     public void buildAnnotationTypeRequiredMemberDetails(List<?> elements)
   225     throws Exception {
   225     throws Exception {
   226         configuration.getBuilderFactory().
   226         configuration.getBuilderFactory().
   227             getAnnotationTypeRequiredMemberBuilder(writer).build(elements);
   227             getAnnotationTypeRequiredMemberBuilder(writer).build(elements);
   228     }
   228     }
   229 
   229