langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/AbstractBuilder.java
changeset 25454 376a52c9540c
parent 24221 2376793dd33b
equal deleted inserted replaced
25453:be80cf0463b3 25454:376a52c9540c
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2014, 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
    83     /**
    83     /**
    84      * The configuration used in this run of the doclet.
    84      * The configuration used in this run of the doclet.
    85      */
    85      */
    86     protected final Configuration configuration;
    86     protected final Configuration configuration;
    87 
    87 
       
    88     protected final Utils utils;
       
    89 
    88     /**
    90     /**
    89      * Keep track of which packages we have seen for
    91      * Keep track of which packages we have seen for
    90      * efficiency purposes.  We don't want to copy the
    92      * efficiency purposes.  We don't want to copy the
    91      * doc files multiple times for a single package.
    93      * doc files multiple times for a single package.
    92      */
    94      */
   104      * @param configuration the configuration used in this run
   106      * @param configuration the configuration used in this run
   105      *        of the doclet.
   107      *        of the doclet.
   106      */
   108      */
   107     public AbstractBuilder(Context c) {
   109     public AbstractBuilder(Context c) {
   108         this.configuration = c.configuration;
   110         this.configuration = c.configuration;
       
   111         this.utils = configuration.utils;
   109         this.containingPackagesSeen = c.containingPackagesSeen;
   112         this.containingPackagesSeen = c.containingPackagesSeen;
   110         this.layoutParser = c.layoutParser;
   113         this.layoutParser = c.layoutParser;
   111     }
   114     }
   112 
   115 
   113     /**
   116     /**