dagger.internal.codegen.InjectAdapterProcessor.class Maven / Gradle / Ivy
???? 2?
?}~
} ?
??
?? ?? ???????
?? Z?
?? Z? V? Z?
????
}?
?
?
? Z?
?????? ?? ???? ???????
??
????? (??? ????? ??
?? (?
?? ?? (? ???
?? ??? ?? (? ?? ??? ??? ???
??
?? ????????? ???
J}???? (? ??
???????????
??
???
Z?
????
i?
??
???
?????????
e???
e?
e?
??
e?
e?
??
e?? ??
???
e?
??
e?
??
??
??
?
?
?
?
?
e
e
?
?
?
?
?
e ??
?-
e??
e
??
e!
e"#$
e%&'
e()*
+,-
e.
/0123456789:;
<=>?@A4BC (DEFGHI?J?KL
?
M
NO ?P?QRST InnerClasses
InjectedClass remainingTypeNames Ljava/util/Set; Signature #Ljava/util/Set; ()V Code LineNumberTable LocalVariableTable this 0Ldagger/internal/codegen/InjectAdapterProcessor; getSupportedSourceVersion "()Ljavax/lang/model/SourceVersion; process @(Ljava/util/Set;Ljavax/annotation/processing/RoundEnvironment;)Z e Ljava/io/IOException;
injectedClass >Ldagger/internal/codegen/InjectAdapterProcessor$InjectedClass; missingDependentClasses Z i Ljava/util/Iterator; types env .Ljavax/annotation/processing/RoundEnvironment; LocalVariableTypeTable (Ljava/util/Iterator; 8Ljava/util/Set<+Ljavax/lang/model/element/TypeElement;>;
StackMapTableU?R2V? i(Ljava/util/Set<+Ljavax/lang/model/element/TypeElement;>;Ljavax/annotation/processing/RoundEnvironment;)Z generateInjectionsForClass A(Ldagger/internal/codegen/InjectAdapterProcessor$InjectedClass;)V
Exceptions
allTypesExist (Ljava/util/Collection;)Z element "Ljavax/lang/model/element/Element; i$ elements Ljava/util/Collection; ;Ljava/util/Collection<+Ljavax/lang/model/element/Element;>; >(Ljava/util/Collection<+Ljavax/lang/model/element/Element;>;)Z findInjectedClassNames ?(Ljavax/annotation/processing/RoundEnvironment;)Ljava/util/Set; injectedTypeNames? S(Ljavax/annotation/processing/RoundEnvironment;)Ljava/util/Set; validateInjectable %(Ljavax/lang/model/element/Element;)Z
injectable injectableType elementKind &Ljavax/lang/model/element/ElementKind; isClassOrInterface isStaticW createInjectedClass R(Ljava/lang/String;)Ldagger/internal/codegen/InjectAdapterProcessor$InjectedClass; member injectedClassName Ljava/lang/String; type &Ljavax/lang/model/element/TypeElement;
isAbstract staticFields Ljava/util/List; constructor ,Ljavax/lang/model/element/ExecutableElement; fields 4Ljava/util/List;?XY? generateInjectAdapter e(Ljavax/lang/model/element/TypeElement;Ljavax/lang/model/element/ExecutableElement;Ljava/util/List;)V packageName strippedTypeName supertype "Ljavax/lang/model/type/TypeMirror; adapterName
sourceFile Ljavax/tools/JavaFileObject; writer $Lcom/squareup/javawriter/JavaWriter;
injectMembers disambiguateFields dependentZ[?\? ?(Ljavax/lang/model/element/TypeElement;Ljavax/lang/model/element/ExecutableElement;Ljava/util/List;)V generateStaticInjection 9(Ljavax/lang/model/element/TypeElement;Ljava/util/List;)V typeName ](Ljavax/lang/model/element/TypeElement;Ljava/util/List;)V writeMemberBindingsFields 8(Lcom/squareup/javawriter/JavaWriter;Ljava/util/List;Z)V field \(Lcom/squareup/javawriter/JavaWriter;Ljava/util/List;Z)V writeParameterBindingsFields T(Lcom/squareup/javawriter/JavaWriter;Ljavax/lang/model/element/ExecutableElement;Z)V parameter *Ljavax/lang/model/element/VariableElement; writeSupertypeInjectorField I(Lcom/squareup/javawriter/JavaWriter;Ljavax/lang/model/type/TypeMirror;)V writeInjectAdapterConstructor ?(Lcom/squareup/javawriter/JavaWriter;Ljavax/lang/model/element/ExecutableElement;Ljavax/lang/model/element/TypeElement;Ljava/lang/String;Ljava/lang/String;)V key
membersKey singleton] writeAttachMethod ?(Lcom/squareup/javawriter/JavaWriter;Ljavax/lang/model/element/ExecutableElement;Ljava/util/List;ZLjava/lang/String;Ljavax/lang/model/type/TypeMirror;Z)V extendsBinding ?(Lcom/squareup/javawriter/JavaWriter;Ljavax/lang/model/element/ExecutableElement;Ljava/util/List;ZLjava/lang/String;Ljavax/lang/model/type/TypeMirror;Z)V writeGetDependenciesMethod ?(Lcom/squareup/javawriter/JavaWriter;Ljavax/lang/model/element/ExecutableElement;Ljava/util/List;ZLjavax/lang/model/type/TypeMirror;Z)V
setOfBindings ?(Lcom/squareup/javawriter/JavaWriter;Ljavax/lang/model/element/ExecutableElement;Ljava/util/List;ZLjavax/lang/model/type/TypeMirror;Z)V writeGetMethod g(Lcom/squareup/javawriter/JavaWriter;Ljavax/lang/model/element/ExecutableElement;ZZLjava/lang/String;)V newInstance Ljava/lang/StringBuilder; first? writeMembersInjectMethod l(Lcom/squareup/javawriter/JavaWriter;Ljava/util/List;ZLjava/lang/String;Ljavax/lang/model/type/TypeMirror;)V ?(Lcom/squareup/javawriter/JavaWriter;Ljava/util/List;ZLjava/lang/String;Ljavax/lang/model/type/TypeMirror;)V writeStaticInjectMethod I(Lcom/squareup/javawriter/JavaWriter;Ljava/util/List;Ljava/lang/String;)V m(Lcom/squareup/javawriter/JavaWriter;Ljava/util/List;Ljava/lang/String;)V findImports (ZZZ)Ljava/util/Set;
isProvider imports ((ZZZ)Ljava/util/Set; implementedInterfaces )(Ljava/lang/String;ZZ)[Ljava/lang/String; hasFields
interfaces $Ljava/util/List; 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; fieldName 7(ZLjavax/lang/model/element/Element;)Ljava/lang/String;
parameterName error 7(Ljava/lang/String;Ljavax/lang/model/element/Element;)V msg
SourceFile InjectAdapterProcessor.java RuntimeVisibleAnnotations 6Ljavax/annotation/processing/SupportedAnnotationTypes; value javax.inject.Inject ? ? java/util/LinkedHashSet ? ?^_ ?
`abUcdef java/lang/String# !"gh ? ? java/io/IOException java/lang/StringBuilder Code gen failed: ijiklmtun ?Vodpdqrstuwyz *Could not find injection type required by {|}Y)*=>~ javax/lang/model/element/Element?Z???y? javax/inject/Inject???????????W? !@Inject is not valid on a class: ??? #Method injection is not supported: ???????? Can't inject a final field: ?? Can't inject a private field: ? $Can't inject a private constructor: ?d?d?? 'Can't inject a non-static inner class: ?????X?? java/util/ArrayList?h?????? $Too many injectable constructors on ?? Abstract class 0 must not have an @Inject-annotated constructor. *javax/lang/model/element/ExecutableElement Cannot inject ????