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

Method duplicateScopes

core/src/com/google/inject/internal/Errors.java:367–376  ·  view source on GitHub ↗
(
      ScopeBinding existing, Class<? extends Annotation> annotationType, Scope scope)

Source from the content-addressed store, hash-verified

365 }
366
367 public Errors duplicateScopes(
368 ScopeBinding existing, Class<? extends Annotation> annotationType, Scope scope) {
369 return addMessage(
370 ErrorId.DUPLICATE_SCOPES,
371 "Scope %s is already bound to %s at %s.\n Cannot bind %s.",
372 existing.getScope(),
373 annotationType,
374 existing.getSource(),
375 scope);
376 }
377
378 public Errors voidProviderMethod() {
379 return addMessage(

Callers 1

visitMethod · 0.80

Calls 3

addMessageMethod · 0.95
getScopeMethod · 0.80
getSourceMethod · 0.65

Tested by

no test coverage detected