public class RequiredKeySet
extends java.lang.Object
DependencyGraph. A key is considered
required if there exists a path from the dependencies of the origin Ginjector to the key that
only passes through required edges.| Constructor and Description |
|---|
RequiredKeySet(DependencyGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRequired(Key<?> key) |
public RequiredKeySet(DependencyGraph graph)
public boolean isRequired(Key<?> key)