public class JavacScope extends Object implements Scope
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 |
---|---|
protected Env<AttrContext> |
env |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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() |
Iterable<? extends Element> |
getLocalElements()
Returns the elements directly contained in this scope.
|
int |
hashCode() |
boolean |
isStarImportScope() |
String |
toString() |
protected final Env<AttrContext> env
public JavacScope getEnclosingScope()
Scope
getEnclosingScope
in interface Scope
public TypeElement getEnclosingClass()
Scope
getEnclosingClass
in interface Scope
public ExecutableElement getEnclosingMethod()
Scope
getEnclosingMethod
in interface Scope
public Iterable<? extends Element> getLocalElements()
Scope
getLocalElements
in interface Scope
public Env<AttrContext> getEnv()
public boolean isStarImportScope()
Copyright © 2016. All rights reserved.