|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.javac.comp.AttrContext
public class AttrContext
Contains information specific to the attribute and enter passes, to be used in place of the generic field in environments.
This is NOT part of any API supported by Sun Microsystems. 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.
| Field Summary | |
|---|---|
(package private) Symbol |
enclVar
The variable whose initializer is being attributed useful for detecting self-references in variable initializers |
(package private) boolean |
isSelfCall
Is this an environment for a this(...) or super(...) call? |
(package private) Lint |
lint
A record of the lint/SuppressWarnings currently in effect |
(package private) Scope |
scope
The scope of local symbols. |
(package private) boolean |
selectSuper
Are we evaluating the selector of a `super' or type name? |
(package private) int |
staticLevel
The number of enclosing `static' modifiers. |
(package private) List<Type> |
tvars
A list of type variables that are all-quantifed in current context. |
(package private) boolean |
varArgs
Are arguments to current function applications boxed into an array for varargs? |
| Constructor Summary | |
|---|---|
AttrContext()
|
|
| Method Summary | |
|---|---|
(package private) AttrContext |
dup()
Duplicate this context, copying all fields. |
(package private) AttrContext |
dup(Scope scope)
Duplicate this context, replacing scope field and copying all others. |
java.lang.Iterable<Symbol> |
getLocalElements()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
Scope scope
int staticLevel
boolean isSelfCall
boolean selectSuper
boolean varArgs
List<Type> tvars
Lint lint
Symbol enclVar
| Constructor Detail |
|---|
public AttrContext()
| Method Detail |
|---|
AttrContext dup(Scope scope)
AttrContext dup()
public java.lang.Iterable<Symbol> getLocalElements()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||