com.groupbyinc.flux.common.inject.internal.Errors.class Maven / Gradle / Ivy
???? 4? 1com/groupbyinc/flux/common/inject/internal/Errors java/lang/Object Errors.java ;com/groupbyinc/flux/common/inject/internal/Errors$Converter Converter 3com/groupbyinc/flux/common/inject/internal/Errors$4 3com/groupbyinc/flux/common/inject/internal/Errors$3 3com/groupbyinc/flux/common/inject/internal/Errors$2
3com/groupbyinc/flux/common/inject/internal/Errors$1 root 3Lcom/groupbyinc/flux/common/inject/internal/Errors; parent source Ljava/lang/Object; errors Ljava/util/List; ALjava/util/List; CONSTRUCTOR_RULES Ljava/lang/String; ?Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
converters Ljava/util/Collection; XLjava/util/Collection;>; ()V !
" $ & 9com/groupbyinc/flux/common/inject/internal/SourceProvider ( UNKNOWN_SOURCE * ) + - this (Ljava/lang/Object;)V H(Lcom/groupbyinc/flux/common/inject/internal/Errors;Ljava/lang/Object;)V
withSource G(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/inject/internal/Errors; 1
4 missingImplementation \(Lcom/groupbyinc/flux/common/inject/Key;)Lcom/groupbyinc/flux/common/inject/internal/Errors; #No implementation for %s was bound. 8
addMessage Z(Ljava/lang/String;[Ljava/lang/Object;)Lcom/groupbyinc/flux/common/inject/internal/Errors; : ;
< key 'Lcom/groupbyinc/flux/common/inject/Key; converterReturnedNull ?(Ljava/lang/String;Ljava/lang/Object;Lcom/groupbyinc/flux/common/inject/TypeLiteral;Lcom/groupbyinc/flux/common/inject/internal/MatcherAndConverter;)Lcom/groupbyinc/flux/common/inject/internal/Errors; =Received null converting '%s' (bound at %s) to %s%n using %s. B convert &(Ljava/lang/Object;)Ljava/lang/Object; D E
F stringValue type 2Lcom/groupbyinc/flux/common/inject/TypeLiteral<*>; /Lcom/groupbyinc/flux/common/inject/TypeLiteral; matchingConverter @Lcom/groupbyinc/flux/common/inject/internal/MatcherAndConverter; conversionTypeError ?(Ljava/lang/String;Ljava/lang/Object;Lcom/groupbyinc/flux/common/inject/TypeLiteral;Lcom/groupbyinc/flux/common/inject/internal/MatcherAndConverter;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/inject/internal/Errors; VType mismatch converting '%s' (bound at %s) to %s%n using %s.%n Converter returned %s. P converted conversionError ?(Ljava/lang/String;Ljava/lang/Object;Lcom/groupbyinc/flux/common/inject/TypeLiteral;Lcom/groupbyinc/flux/common/inject/internal/MatcherAndConverter;Ljava/lang/RuntimeException;)Lcom/groupbyinc/flux/common/inject/internal/Errors; BError converting '%s' (bound at %s) to %s%n using %s.%n Reason: %s U errorInUserCode o(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Lcom/groupbyinc/flux/common/inject/internal/Errors; W X
Y cause Ljava/lang/RuntimeException; ambiguousTypeConversion(Ljava/lang/String;Ljava/lang/Object;Lcom/groupbyinc/flux/common/inject/TypeLiteral;Lcom/groupbyinc/flux/common/inject/internal/MatcherAndConverter;Lcom/groupbyinc/flux/common/inject/internal/MatcherAndConverter;)Lcom/groupbyinc/flux/common/inject/internal/Errors; ?Multiple converters can convert '%s' (bound at %s) to %s:%n %s and%n %s.%n Please adjust your type converter configuration to avoid overlapping matches. _ a b bindingToProvider 5()Lcom/groupbyinc/flux/common/inject/internal/Errors; #Binding to Provider is not allowed. e subtypeNotProvided W(Ljava/lang/Class;Ljava/lang/Class;)Lcom/groupbyinc/flux/common/inject/internal/Errors; #%s doesn't provide instances of %s. i providerType CLjava/lang/Class<+Lcom/groupbyinc/flux/common/inject/Provider<*>;>; Ljava/lang/Class; Ljava/lang/Class<*>; notASubtype %s doesn't extend %s. p implementationType recursiveImplementationType 5@ImplementedBy points to the same class it annotates. t recursiveProviderType 2@ProvidedBy points to the same class it annotates. w missingRuntimeRetention 8Please annotate with @Retention(RUNTIME).%n Bound at %s. z missingScopeAnnotation &Please annotate with @ScopeAnnotation. } optionalConstructor T(Ljava/lang/reflect/Constructor;)Lcom/groupbyinc/flux/common/inject/internal/Errors; L%s is annotated @Inject(optional=true), but constructors cannot be optional. ? constructor Ljava/lang/reflect/Constructor; cannotBindToGuiceType G(Ljava/lang/String;)Lcom/groupbyinc/flux/common/inject/internal/Errors; 8Binding to core guice framework type is not allowed: %s. ?
simpleName
scopeNotFound F(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/inject/internal/Errors; No scope is bound to %s. ? scopeAnnotation 5Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>; scopeAnnotationOnAbstractType i(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/inject/internal/Errors; c%s is annotated with %s, but scope annotations are not supported for abstract types.%n Bound at %s. ? misplacedBindingAnnotation p(Ljava/lang/reflect/Member;Ljava/lang/annotation/Annotation;)Lcom/groupbyinc/flux/common/inject/internal/Errors; ]%s is annotated with %s, but binding annotations should be applied to its parameters instead. ? member Ljava/lang/reflect/Member; bindingAnnotation !Ljava/lang/annotation/Annotation; missingConstructor ?Could not find a suitable constructor in %s. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private. ? implementation tooManyConstructors ?%s has more than one constructor annotated with @Inject. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private. ? duplicateScopes ?(Lcom/groupbyinc/flux/common/inject/Scope;Ljava/lang/Class;Lcom/groupbyinc/flux/common/inject/Scope;)Lcom/groupbyinc/flux/common/inject/internal/Errors; 0Scope %s is already bound to %s. Cannot bind %s. ? existing )Lcom/groupbyinc/flux/common/inject/Scope; annotationType scope voidProviderMethod 9Provider methods must return a value. Do not return void. ? missingConstantValues ,Missing constant value. Please call to(...). ? cannotInjectInnerClass pInjecting into inner classes is not supported. Please use a 'static' class (top-level or nested) instead of %s. ? duplicateBindingAnnotations q(Ljava/lang/reflect/Member;Ljava/lang/Class;Ljava/lang/Class;)Lcom/groupbyinc/flux/common/inject/internal/Errors; L%s has more than one annotation annotated with @BindingAnnotation: %s and %s ? duplicateScopeAnnotations 4More than one scope annotation was found: %s and %s. ? recursiveBinding Binding points to itself. ? bindingAlreadySet n(Lcom/groupbyinc/flux/common/inject/Key;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/inject/internal/Errors; -A binding to %s was already configured at %s. ? *Lcom/groupbyinc/flux/common/inject/Key<*>; childBindingAlreadySet 3A binding to %s already exists on a child injector. ? errorInjectingMethod J(Ljava/lang/Throwable;)Lcom/groupbyinc/flux/common/inject/internal/Errors; Error injecting method, %s ? Ljava/lang/Throwable; errorNotifyingTypeListener ?(Lcom/groupbyinc/flux/common/inject/spi/TypeListenerBinding;Lcom/groupbyinc/flux/common/inject/TypeLiteral;Ljava/lang/Throwable;)Lcom/groupbyinc/flux/common/inject/internal/Errors; AError notifying TypeListener %s (bound at %s) of %s.%n Reason: %s ? 9com/groupbyinc/flux/common/inject/spi/TypeListenerBinding ? getListener 6()Lcom/groupbyinc/flux/common/inject/spi/TypeListener; ? ?
? ? getSource ()Ljava/lang/Object; ? ?
? ? listener ;Lcom/groupbyinc/flux/common/inject/spi/TypeListenerBinding; errorInjectingConstructor Error injecting constructor, %s ? errorInProvider Q(Ljava/lang/RuntimeException;)Lcom/groupbyinc/flux/common/inject/internal/Errors; Error in custom provider, %s ? runtimeException errorInUserInjector ?(Lcom/groupbyinc/flux/common/inject/MembersInjector;Lcom/groupbyinc/flux/common/inject/TypeLiteral;Ljava/lang/RuntimeException;)Lcom/groupbyinc/flux/common/inject/internal/Errors; )Error injecting %s using %s.%n Reason: %s ? 6Lcom/groupbyinc/flux/common/inject/MembersInjector<*>; 3Lcom/groupbyinc/flux/common/inject/MembersInjector; errorNotifyingInjectionListener ?(Lcom/groupbyinc/flux/common/inject/spi/InjectionListener;Lcom/groupbyinc/flux/common/inject/TypeLiteral;Ljava/lang/RuntimeException;)Lcom/groupbyinc/flux/common/inject/internal/Errors; 8Error notifying InjectionListener %s of %s.%n Reason: %s ? ; 9Lcom/groupbyinc/flux/common/inject/spi/InjectionListener; exposedButNotBound *(Lcom/groupbyinc/flux/common/inject/Key;)V 3Could not expose() %s, it must be explicitly bound. ? getMessagesFromThrowable -(Ljava/lang/Throwable;)Ljava/util/Collection; 4com/groupbyinc/flux/common/inject/ProvisionException ? getErrorMessages ()Ljava/util/Collection; ? ?
? ? 8com/groupbyinc/flux/common/inject/ConfigurationException ?
? ? 3com/groupbyinc/flux/common/inject/CreationException ?
? ? java/util/Collections emptySet ()Ljava/util/Set;
throwable ? ?
java/util/Collection
isEmpty ()Z
merge K(Ljava/util/Collection;)Lcom/groupbyinc/flux/common/inject/internal/Errors;
: X
messageFormat arguments [Ljava/lang/Object; messages GLjava/util/Collection; cannotInjectRawProvider 3Cannot inject a Provider that has no type parameter cannotInjectRawMembersInjector :Cannot inject a MembersInjector that has no type parameter cannotInjectTypeLiteralOf M(Ljava/lang/reflect/Type;)Lcom/groupbyinc/flux/common/inject/internal/Errors; !Cannot inject a TypeLiteral of %s# unsupportedType Ljava/lang/reflect/Type; cannotInjectRawTypeLiteral 6Cannot inject a TypeLiteral that has no type parameter( cannotSatisfyCircularDependency OTried proxying %s to support a circular dependency, but it is not an interface.+ expectedType #throwCreationExceptionIfErrorsExist hasErrors/
0 getMessages ()Ljava/util/List;23
4 (Ljava/util/Collection;)V 6
?7 (throwConfigurationExceptionIfErrorsExist (Ljava/lang/Iterable;)V :
?; $throwProvisionExceptionIfErrorsExist
?; `(Lcom/groupbyinc/flux/common/inject/spi/Message;)Lcom/groupbyinc/flux/common/inject/spi/Message; java/util/ArrayList@
A "
getSourcesC3
D java/util/ListF addAll (Ljava/util/Collection;)ZHIGJ -com/groupbyinc/flux/common/inject/spi/MessageL
MD
getMessage ()Ljava/lang/String;OP
MQ getCause ()Ljava/lang/Throwable;ST
MU :(Ljava/util/List;Ljava/lang/String;Ljava/lang/Throwable;)V W
MX message /Lcom/groupbyinc/flux/common/inject/spi/Message; sources $Ljava/util/List; iterator ()Ljava/util/Iterator;^_` java/util/Iteratorb hasNextd
ce nextg ?ch?
j d(Lcom/groupbyinc/flux/common/inject/spi/Message;)Lcom/groupbyinc/flux/common/inject/internal/Errors; :l
m h(Lcom/groupbyinc/flux/common/inject/internal/Errors;)Lcom/groupbyinc/flux/common/inject/internal/Errors; p
moreErrors add (ILjava/lang/Object;)VstGu e throwIfNewErrors (I)V :com/groupbyinc/flux/common/inject/internal/ErrorsExceptionz size ()I|}
~ toException >()Lcom/groupbyinc/flux/common/inject/internal/ErrorsException;??
? expectedSize I 6(Lcom/groupbyinc/flux/common/inject/internal/Errors;)V ?
{? format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;??
? (Ljava/lang/Object;)Zs?G? java/util/Locale? ROOT Ljava/util/Locale;?? ?? java/lang/String? K(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;??
?? i emptyList?3
?
A7
?