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

Method missingConstructor

core/src/com/google/inject/internal/Errors.java:338–344  ·  view source on GitHub ↗
(TypeLiteral<?> type)

Source from the content-addressed store, hash-verified

336 + " or a zero-argument constructor that is not private.";
337
338 public Errors missingConstructor(TypeLiteral<?> type) {
339 return addMessage(
340 new Message(
341 GuiceInternal.GUICE_INTERNAL,
342 ErrorId.MISSING_CONSTRUCTOR,
343 new MissingConstructorError(type, /* atInjectRequired= */ false, getSources())));
344 }
345
346 public Errors tooManyConstructors(Class<?> implementation) {
347 return addMessage(

Callers 1

forConstructorOfMethod · 0.95

Calls 2

addMessageMethod · 0.95
getSourcesMethod · 0.95

Tested by

no test coverage detected