src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDoclet.java
changeset 49879 601277b1d582
parent 48756 ce608a09a666
child 49952 a6224ea48b66
equal deleted inserted replaced
49878:2422d4e027b0 49879:601277b1d582
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   105      * first and then can be used in the later generation.
   105      * first and then can be used in the later generation.
   106      *
   106      *
   107      * For new format.
   107      * For new format.
   108      *
   108      *
   109      * @throws DocletException if there is a problem while writing the other files
   109      * @throws DocletException if there is a problem while writing the other files
   110      * @see jdk.doclet.DocletEnvironment
       
   111      */
   110      */
   112     @Override // defined by AbstractDoclet
   111     @Override // defined by AbstractDoclet
   113     protected void generateOtherFiles(DocletEnvironment docEnv, ClassTree classtree)
   112     protected void generateOtherFiles(DocletEnvironment docEnv, ClassTree classtree)
   114             throws DocletException {
   113             throws DocletException {
   115         super.generateOtherFiles(docEnv, classtree);
   114         super.generateOtherFiles(docEnv, classtree);
   240     protected void generateClassFiles(SortedSet<TypeElement> arr, ClassTree classtree)
   239     protected void generateClassFiles(SortedSet<TypeElement> arr, ClassTree classtree)
   241             throws DocletException {
   240             throws DocletException {
   242         List<TypeElement> list = new ArrayList<>(arr);
   241         List<TypeElement> list = new ArrayList<>(arr);
   243         ListIterator<TypeElement> iterator = list.listIterator();
   242         ListIterator<TypeElement> iterator = list.listIterator();
   244         for (TypeElement klass : list) {
   243         for (TypeElement klass : list) {
   245             if (utils.isHidden(klass) ||
   244             if (utils.hasHiddenTag(klass) ||
   246                     !(configuration.isGeneratedDoc(klass) && utils.isIncluded(klass))) {
   245                     !(configuration.isGeneratedDoc(klass) && utils.isIncluded(klass))) {
   247                 continue;
   246                 continue;
   248             }
   247             }
   249             if (utils.isAnnotationType(klass)) {
   248             if (utils.isAnnotationType(klass)) {
   250                 AbstractBuilder annotationTypeBuilder =
   249                 AbstractBuilder annotationTypeBuilder =