MCPcopy Create free account
hub / github.com/google/guice / binder

Method binder

core/src/com/google/inject/AbstractModule.java:74–77  ·  view source on GitHub ↗

Gets direct access to the underlying Binder.

()

Source from the content-addressed store, hash-verified

72
73 /** Gets direct access to the underlying {@code Binder}. */
74 protected Binder binder() {
75 checkState(binder != null, "The binder can only be used inside configure()");
76 return binder;
77 }
78
79 /** @see Binder#bindScope(Class, Scope) */
80 protected void bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) {

Callers 14

bindScopeMethod · 0.95
bindMethod · 0.95
bindConstantMethod · 0.95
installMethod · 0.95
addErrorMethod · 0.95
requestInjectionMethod · 0.95
bindInterceptorMethod · 0.95
requireBindingMethod · 0.95
getProviderMethod · 0.95
convertToTypesMethod · 0.95
currentStageMethod · 0.95

Calls 1

checkStateMethod · 0.80

Tested by

no test coverage detected