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

Method isEmpty

java/dagger/internal/codegen/ResolvedBindings.java:108–113  ·  view source on GitHub ↗

true if there are no #bindings(), #multibindingDeclarations(), #optionalBindingDeclarations(), or #subcomponentDeclarations().

()

Source from the content-addressed store, hash-verified

106 * {@link #optionalBindingDeclarations()}, or {@link #subcomponentDeclarations()}.
107 */
108 boolean isEmpty() {
109 return bindings().isEmpty()
110 && multibindingDeclarations().isEmpty()
111 && optionalBindingDeclarations().isEmpty()
112 && subcomponentDeclarations().isEmpty();
113 }
114
115 /** All bindings for {@link #key()} that were resolved in {@link #owningComponent()}. */
116 ImmutableSet<? extends Binding> ownedBindings() {

Callers 15

bindingTypeMethod · 0.95
JavaFileBuilderMethod · 0.80
delegateNpeMethod · 0.80
delegateSetNpeMethod · 0.80
delegateElementNpeMethod · 0.80
emptySetMethod · 0.80
emptyQualifiedSetMethod · 0.80
emptyMapMethod · 0.80
emptyQualifiedMapMethod · 0.80
optionalMethod · 0.80

Calls 4

bindingsMethod · 0.95

Tested by 15

JavaFileBuilderMethod · 0.64
delegateNpeMethod · 0.64
delegateSetNpeMethod · 0.64
delegateElementNpeMethod · 0.64
emptySetMethod · 0.64
emptyQualifiedSetMethod · 0.64
emptyMapMethod · 0.64
emptyQualifiedMapMethod · 0.64
optionalMethod · 0.64
optionalProviderMethod · 0.64