Package | Description |
---|---|
com.sun.tools.javac.code | |
com.sun.tools.javac.comp | |
com.sun.tools.javac.jvm | |
com.sun.tools.javac.model |
Modifier and Type | Class and Description |
---|---|
static class |
Scope.CompoundScope
A class scope adds capabilities to keep track of changes in related
class scopes - this allows client to realize whether a class scope
has changed, either directly (because a new member has been added/removed
to this scope) or indirectly (i.e.
|
static class |
Scope.DelegatedScope
An empty scope, into which you can't place anything.
|
static class |
Scope.ErrorScope
An error scope, for which the owner should be an error symbol.
|
static class |
Scope.ImportScope |
static class |
Scope.StarImportScope |
Modifier and Type | Field and Description |
---|---|
static Scope |
Scope.emptyScope
A value for the empty scope.
|
Scope |
Symbol.ClassSymbol.members_field
a scope for all class members; variables, methods and inner classes
type parameters are not part of this scope
|
Scope |
Symbol.PackageSymbol.members_field |
Scope |
Scope.next
Next enclosing scope (with whom this scope may share a hashtable)
|
Scope |
Scope.Entry.scope
The entry's scope.
|
Modifier and Type | Method and Description |
---|---|
Scope |
Scope.CompoundScope.dup(Symbol newOwner) |
Scope |
Scope.DelegatedScope.dup() |
Scope |
Scope.dup()
Construct a fresh scope within this scope, with same owner,
which shares its table with the outer scope.
|
Scope |
Scope.dup(Symbol newOwner)
Construct a fresh scope within this scope, with new owner,
which shares its table with the outer scope.
|
Scope |
Scope.ErrorScope.dup() |
Scope |
Scope.DelegatedScope.dupUnshared() |
Scope |
Scope.dupUnshared()
Construct a fresh scope within this scope, with same owner,
with a new hash table, whose contents initially are those of
the table of its outer scope.
|
Scope |
Scope.ErrorScope.dupUnshared() |
Scope |
Scope.Entry.getOrigin() |
Scope |
Scope.DelegatedScope.leave() |
Scope |
Scope.leave()
Remove all entries of this scope from its table, if shared
with next.
|
Scope |
Symbol.ClassSymbol.members() |
Scope |
Symbol.DelegatedSymbol.members() |
Scope |
Symbol.members()
If this is a class or package, its members, otherwise null.
|
Scope |
Symbol.PackageSymbol.members() |
Modifier and Type | Method and Description |
---|---|
void |
Scope.CompoundScope.addSubScope(Scope that) |
void |
Scope.CompoundScope.enter(Symbol sym,
Scope s,
Scope origin,
boolean staticallyImported) |
void |
Scope.DelegatedScope.enter(Symbol sym,
Scope s) |
void |
Scope.enter(Symbol sym,
Scope s) |
void |
Scope.enter(Symbol sym,
Scope s,
Scope origin,
boolean staticallyImported)
Enter symbol sym in this scope, but mark that it comes from
given scope `s' accessed through `origin'.
|
void |
Scope.StarImportScope.importAll(Scope fromScope) |
void |
Scope.CompoundScope.symbolAdded(Symbol sym,
Scope s) |
void |
Scope.ScopeListener.symbolAdded(Symbol sym,
Scope s) |
void |
Scope.StarImportScope.symbolAdded(Symbol sym,
Scope s) |
void |
Scope.CompoundScope.symbolRemoved(Symbol sym,
Scope s) |
void |
Scope.ScopeListener.symbolRemoved(Symbol sym,
Scope s) |
void |
Scope.StarImportScope.symbolRemoved(Symbol sym,
Scope s) |
Constructor and Description |
---|
DelegatedScope(Scope outer) |
Entry(Symbol sym,
Scope.Entry shadowed,
Scope.Entry sibling,
Scope scope) |
Modifier and Type | Method and Description |
---|---|
void |
Resolve.printscopes(Scope s)
print all scopes starting with scope s and proceeding outwards.
|
Modifier and Type | Field and Description |
---|---|
protected Scope |
ClassReader.typevars
The current scope where type variables are entered.
|
Constructor and Description |
---|
FilteredMemberList(Scope scope) |
Copyright © 2017 earcam. All rights reserved.