protected final GinAnnotatedConstantBindingBuilder bindConstant() { return binder.bindConstant(); }
/** * Makes the binding for {@code key} available to other modules and the injector. */ protected final <T> void expose(Key<T> key) { binder.expose(key); }
protected final <T> GinAnnotatedBindingBuilder<T> bind(Class<T> clazz) { return binder.bind(clazz); }
protected void requestStaticInjection(Class<?>... types) { binder.requestStaticInjection(types); } }
protected final void install(GinModule install) { binder.install(install); }
protected final <T> GinLinkedBindingBuilder<T> bind(Key<T> key) { return binder.bind(key); }
/** * Makes a binding for {@code type} available to other modules and the injector. Use {@link * GinAnnotatedElementBuilder#annotatedWith(Class) annotatedWith()} to expose {@code type} * with a binding annotation. */ protected final GinAnnotatedElementBuilder expose(TypeLiteral<?> type) { return binder.expose(type); }
protected final <T> GinAnnotatedBindingBuilder<T> bind(TypeLiteral<T> type) { return binder.bind(type); }
/** * Makes a binding for {@code type} available to other modules and the injector. Use {@link * GinAnnotatedElementBuilder#annotatedWith(Class) annotatedWith()} to expose {@code type} * with a binding annotation. */ protected final GinAnnotatedElementBuilder expose(Class<?> type) { return binder.expose(type); }