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

Method forBindsMethod

java/dagger/internal/codegen/KeyFactory.java:146–149  ·  view source on GitHub ↗

Returns the key bound by a Binds method.

(ExecutableElement method, TypeElement contributingModule)

Source from the content-addressed store, hash-verified

144
145 /** Returns the key bound by a {@link Binds} method. */
146 Key forBindsMethod(ExecutableElement method, TypeElement contributingModule) {
147 checkArgument(isAnnotationPresent(method, Binds.class));
148 return forBindingMethod(method, contributingModule, Optional.empty());
149 }
150
151 /** Returns the base key bound by a {@link BindsOptionalOf} method. */
152 Key forBindsOptionalOfMethod(ExecutableElement method, TypeElement contributingModule) {

Callers 1

createMethod · 0.80

Calls 3

forBindingMethodMethod · 0.95
isAnnotationPresentMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected