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

Method binding

java/dagger/internal/codegen/ResolvedBindings.java:100–102  ·  view source on GitHub ↗

Returns the single binding. @throws IllegalStateException if there is not exactly one element in #bindings(), which will never happen for contributions in valid graphs

()

Source from the content-addressed store, hash-verified

98 * which will never happen for contributions in valid graphs
99 */
100 Binding binding() {
101 return getOnlyElement(bindings());
102 }
103
104 /**
105 * {@code true} if there are no {@link #bindings()}, {@link #multibindingDeclarations()},

Calls 1

bindingsMethod · 0.95

Tested by

no test coverage detected