MCPcopy Index your code
hub / github.com/google/dagger / atRoot

Method atRoot

java/dagger/model/ComponentPath.java:70–72  ·  view source on GitHub ↗

Returns true if the plain #currentComponent() current component} is the plain #rootComponent() root component}.

()

Source from the content-addressed store, hash-verified

68 * {@linkplain #rootComponent()} root component}.
69 */
70 public final boolean atRoot() {
71 return components().size() == 1;
72 }
73
74 @Override
75 public final String toString() {

Callers 3

parentComponentMethod · 0.95
visitGraphMethod · 0.45
rootComponentNodeMethod · 0.45

Calls 1

componentsMethod · 0.95

Tested by 1

visitGraphMethod · 0.36