This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Field and Description |
|---|---|
| public boolean | baseClause
Is this an environment for evaluating a base clause? |
| public JCTree. | enclClass
The next enclosing class definition. |
| public JCTree. | enclMethod
The next enclosing method definition. |
| public A | info
A generic field for further information. |
| public Env | next
The next enclosing environment. |
| public Env | outer
The environment enclosing the current class. |
| public JCTree. | toplevel
The enclosing toplevel tree. |
| public JCTree | tree
The tree with which this environment is associated. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Env | |
| public Env | |
| public Env | |
| public Env | |
| public Iterator | |
| public String |
| baseClause | back to summary |
|---|---|
| public boolean baseClause Is this an environment for evaluating a base clause? | |
| enclClass | back to summary |
|---|---|
| public JCTree. The next enclosing class definition. | |
| enclMethod | back to summary |
|---|---|
| public JCTree. The next enclosing method definition. | |
| info | back to summary |
|---|---|
| public A info A generic field for further information. | |
| next | back to summary |
|---|---|
| public Env<A> next The next enclosing environment. | |
| outer | back to summary |
|---|---|
| public Env<A> outer The environment enclosing the current class. | |
| toplevel | back to summary |
|---|---|
| public JCTree. The enclosing toplevel tree. | |
| tree | back to summary |
|---|---|
| public JCTree tree The tree with which this environment is associated. | |
| Env | back to summary |
|---|---|
| public Env(JCTree tree, A info) Create an outermost environment for a given (toplevel)tree, with a given info field. | |
| dup | back to summary |
|---|---|
| public Env Duplicate this environment, updating with given tree and info, and copying all other fields. | |
| dup | back to summary |
|---|---|
| public Env Duplicate this environment, updating with given tree, and copying all other fields. | |
| dupto | back to summary |
|---|---|
| public Env Duplicate this environment into a given Environment, using its tree and info, and copying all other fields. | |
| enclosing | back to summary |
|---|---|
| public Env Return closest enclosing environment which points to a tree with given tag. | |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |