|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.javac.api.JavacScope
public class JavacScope
Provides an implementation of Scope.
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 | |
|---|---|
protected Env<AttrContext> |
env
|
| Constructor Summary | |
|---|---|
JavacScope(Env<AttrContext> env)
Creates a new instance of JavacScope |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
|
TypeElement |
getEnclosingClass()
Returns the innermost type element containing the position of this scope |
ExecutableElement |
getEnclosingMethod()
Returns the innermost executable element containing the position of this scope. |
JavacScope |
getEnclosingScope()
Returns the enclosing scope. |
Env<AttrContext> |
getEnv()
|
java.lang.Iterable<? extends Element> |
getLocalElements()
Returns the elements directly contained in this scope. |
int |
hashCode()
|
boolean |
isStarImportScope()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final Env<AttrContext> env
| Constructor Detail |
|---|
JavacScope(Env<AttrContext> env)
| Method Detail |
|---|
public JavacScope getEnclosingScope()
Scope
getEnclosingScope in interface Scopepublic TypeElement getEnclosingClass()
Scope
getEnclosingClass in interface Scopepublic ExecutableElement getEnclosingMethod()
Scope
getEnclosingMethod in interface Scopepublic java.lang.Iterable<? extends Element> getLocalElements()
Scope
getLocalElements in interface Scopepublic Env<AttrContext> getEnv()
public boolean isStarImportScope()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic 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 | ||||||||