public abstract class ComponentDependencies
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ComponentDependencies.Dependencies
Holds a set of component dependencies, e.g.
|
| Constructor and Description |
|---|
ComponentDependencies() |
| Modifier and Type | Method and Description |
|---|---|
abstract ComponentDependencies.Dependencies |
componentEntryPoints()
Returns the component entry point associated with the given a component.
|
abstract ComponentDependencies.Dependencies |
entryPoints()
Returns the entry points associated with the given a component.
|
static ComponentDependencies |
from(com.google.common.collect.ImmutableSet<ComponentDescriptor> descriptors,
javax.lang.model.util.Elements elements)
Pulls the component dependencies from the
packageName. |
abstract ComponentDependencies.Dependencies |
modules()
Returns the modules for a component, without any filtering.
|
public abstract ComponentDependencies.Dependencies modules()
public abstract ComponentDependencies.Dependencies entryPoints()
public abstract ComponentDependencies.Dependencies componentEntryPoints()
public static ComponentDependencies from(com.google.common.collect.ImmutableSet<ComponentDescriptor> descriptors, javax.lang.model.util.Elements elements)
packageName.
Dependency files are generated by the AggregatedDepsProcessor, and have the form:
{@literal @}AggregatedDeps(
components = {
"foo.FooComponent",
"bar.BarComponent"
},
modules = "baz.BazModule"
)