1 /* |
1 /* |
2 * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2006, 2012, 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 |
23 * questions. |
23 * questions. |
24 */ |
24 */ |
25 |
25 |
26 package com.sun.source.tree; |
26 package com.sun.source.tree; |
27 |
27 |
28 import com.sun.source.tree.Tree; |
|
29 import javax.lang.model.element.Element; |
28 import javax.lang.model.element.Element; |
30 import javax.lang.model.element.ExecutableElement; |
29 import javax.lang.model.element.ExecutableElement; |
31 import javax.lang.model.element.TypeElement; |
30 import javax.lang.model.element.TypeElement; |
32 import javax.lang.model.type.DeclaredType; |
|
33 |
31 |
34 /** |
32 /** |
35 * Interface for determining locally available program elements, such as |
33 * Interface for determining locally available program elements, such as |
36 * local variables and imports. |
34 * local variables and imports. |
37 * Upon creation, a Scope is associated with a given program position; |
35 * Upon creation, a Scope is associated with a given program position; |