public static interface CodeChunk.RequiresCollector
CodeChunk.collectRequires(RequiresCollector) that can be used to collect
all required namespaces from a code chunk.| Modifier and Type | Interface and Description |
|---|---|
static class |
CodeChunk.RequiresCollector.IntoImmutableSet
Collects requires into an ImmutableSet that can be accessed via
CodeChunk.RequiresCollector.IntoImmutableSet.get() |
| Modifier and Type | Field and Description |
|---|---|
static CodeChunk.RequiresCollector |
NULL
Drops all requires.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(GoogRequire require) |
static final CodeChunk.RequiresCollector NULL
void add(GoogRequire require)