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

Method bindingToProvider

core/src/com/google/inject/internal/Errors.java:260–262  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258 }
259
260 public Errors bindingToProvider() {
261 return addMessage(ErrorId.BINDING_TO_PROVIDER, "Binding to Provider is not allowed.");
262 }
263
264 public Errors notASubtype(Class<?> implementationType, Class<?> type) {
265 return addMessage(ErrorId.NOT_A_SUBTYPE, "%s doesn't extend %s.", implementationType, type);

Callers 1

visitMethod · 0.80

Calls 1

addMessageMethod · 0.95

Tested by

no test coverage detected