AttrContextEnv.java revision 2571:10fc81ac75b4
11556Srgrimes/*
21556Srgrimes * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
31556Srgrimes * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
41556Srgrimes *
51556Srgrimes * This code is free software; you can redistribute it and/or modify it
61556Srgrimes * under the terms of the GNU General Public License version 2 only, as
71556Srgrimes * published by the Free Software Foundation.  Oracle designates this
81556Srgrimes * particular file as subject to the "Classpath" exception as provided
91556Srgrimes * by Oracle in the LICENSE file that accompanied this code.
101556Srgrimes *
111556Srgrimes * This code is distributed in the hope that it will be useful, but WITHOUT
121556Srgrimes * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
131556Srgrimes * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
141556Srgrimes * version 2 for more details (a copy is included in the LICENSE file that
151556Srgrimes * accompanied this code).
161556Srgrimes *
171556Srgrimes * You should have received a copy of the GNU General Public License version
181556Srgrimes * 2 along with this work; if not, write to the Free Software Foundation,
191556Srgrimes * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
201556Srgrimes *
211556Srgrimes * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
221556Srgrimes * or visit www.oracle.com if you need additional information or have any
231556Srgrimes * questions.
241556Srgrimes */
251556Srgrimes
261556Srgrimespackage com.sun.tools.javac.comp;
271556Srgrimes
281556Srgrimesimport com.sun.tools.javac.tree.JCTree;
291556Srgrimes
301556Srgrimes
311556Srgrimes/** {@code Env<A>} specialized as {@code Env<AttrContext>}
321556Srgrimes *
331556Srgrimes *  <p><b>This is NOT part of any supported API.
341556Srgrimes *  If you write code that depends on this, you do so at your own risk.
351556Srgrimes *  This code and its internal interfaces are subject to change or
361556Srgrimes *  deletion without notice.</b>
371556Srgrimes */
3827967Sstevepublic class AttrContextEnv extends Env<AttrContext> {
3927967Ssteve
4027967Ssteve    /** Create an outermost environment for a given (toplevel)tree,
4127958Ssteve     *  with a given info field.
4250471Speter     */
4327967Ssteve    public AttrContextEnv(JCTree tree, AttrContext info) {
441556Srgrimes        super(tree, info);
451556Srgrimes    }
461556Srgrimes}
471556Srgrimes