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 | Class and Description |
|---|---|
| public static class | Scope.
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. because a new member has been added/removed into a supertype scope) |
| private static class | Scope.
A class for scope entries. |
| public static class | Scope.
An error scope, for which the owner should be an error symbol. |
| private static class | |
| public static interface | |
| public static class | |
| public static enum | |
| public static class | |
| private static class | |
| public static interface | |
| public static class | Scope.
A list of scope listeners; listeners are stored in weak references, to avoid memory leaks. |
| public static class | |
| public abstract static class | Scope.
A scope into which Symbols can be added. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Scope. | listeners
A list of scopes to be notified if items are to be removed from this scope. |
| private static final Predicate | |
| public final Symbol | owner
The scope's owner. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public final Symbol | |
| public Symbol | |
| public abstract Scope | |
| public final Iterable | |
| public final Iterable | |
| public final Iterable | |
| public abstract Iterable | getSymbols(Predicate<Symbol> sf, Scope.
Returns Symbols that match the given filter. |
| public final Iterable | |
| public final Iterable | getSymbolsByName(final Name name, final Predicate<Symbol> sf)
Returns Symbols with the given name that match the given filter. |
| public final Iterable | |
| public abstract Iterable | getSymbolsByName(final Name name, final Predicate<Symbol> sf, final Scope.
Returns Symbols with the given name that match the given filter. |
| public boolean | |
| public boolean | includes(final Symbol sym, Scope.
Returns true iff the given Symbol is in this scope, optionally checking outward scopes. |
| public boolean | |
| public abstract boolean | isStaticallyImported(Symbol byName)
Returns true iff the given Symbol is part of this scope due to a static import. |