retrofit2.Retrofit.class Maven / Gradle / Ivy
???? 4h
java/lang/Object ()V &java/util/concurrent/ConcurrentHashMap
retrofit2/Retrofit serviceMethodCache Ljava/util/Map; callFactory Lokhttp3/Call$Factory; baseUrl Lokhttp3/HttpUrl; converterFactories Ljava/util/List; callAdapterFactories ! " callbackExecutor Ljava/util/concurrent/Executor; $ % & validateEagerly Z
( ) * validateServiceInterface (Ljava/lang/Class;)V
, - . / 0 java/lang/Class getClassLoader ()Ljava/lang/ClassLoader; 2 retrofit2/Retrofit$1
1 4 5 ((Lretrofit2/Retrofit;Ljava/lang/Class;)V
7 8 9 : ; java/lang/reflect/Proxy newProxyInstance b(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
, = > ? isInterface ()Z A "java/lang/IllegalArgumentException C $API declarations must be interfaces.
@ E F (Ljava/lang/String;)V H java/util/ArrayDeque
G J K (I)V M N O P Q java/util/Deque add (Ljava/lang/Object;)Z M S T ? isEmpty M V W X removeFirst ()Ljava/lang/Object;
, Z [ \ getTypeParameters #()[Ljava/lang/reflect/TypeVariable; ^ java/lang/StringBuilder ` #Type parameters are unsupported on
] E
, c d e getName ()Ljava/lang/String;
] g h i append -(Ljava/lang/String;)Ljava/lang/StringBuilder; k which is an interface of
] m n e toString
, p q r
getInterfaces ()[Ljava/lang/Class;
t u v w x java/util/Collections addAll ,(Ljava/util/Collection;[Ljava/lang/Object;)Z
z { | } ~ retrofit2/Platform get ()Lretrofit2/Platform;
, ? ? ? getDeclaredMethods ()[Ljava/lang/reflect/Method;
z ? ? ? isDefaultMethod (Ljava/lang/reflect/Method;)Z
? ? ? ? ? java/lang/reflect/Method getModifiers ()I
? ? ? ? ? java/lang/reflect/Modifier isStatic (I)Z
? ? ? loadServiceMethod 5(Ljava/lang/reflect/Method;)Lretrofit2/ServiceMethod; ? ? ? } ?
java/util/Map &(Ljava/lang/Object;)Ljava/lang/Object; ? retrofit2/ServiceMethod
? ? ? ? parseAnnotations I(Lretrofit2/Retrofit;Ljava/lang/reflect/Method;)Lretrofit2/ServiceMethod; ? ? ? ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
? ? ? nextCallAdapter r(Lretrofit2/CallAdapter$Factory;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lretrofit2/CallAdapter; ? returnType == null
? ? ? ? ? java/util/Objects requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ? annotations == null ? ? ? ? ? java/util/List indexOf (Ljava/lang/Object;)I ? ? ? ? size ? ? } ? (I)Ljava/lang/Object; ? retrofit2/CallAdapter$Factory
? ? } ? g(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Lretrofit2/Retrofit;)Lretrofit2/CallAdapter; ? "Could not locate call adapter for
] ? h ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? .
?
Skipped: ?
*
? ? ? getClass ()Ljava/lang/Class;
] ? h ? (C)Ljava/lang/StringBuilder; ? Tried:
? ? ? nextRequestBodyConverter ?(Lretrofit2/Converter$Factory;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Lretrofit2/Converter; ? type == null ? parameterAnnotations == null ? methodAnnotations == null ? retrofit2/Converter$Factory
? ? ? ? requestBodyConverter ?(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;Lretrofit2/Retrofit;)Lretrofit2/Converter; ? +Could not locate RequestBody converter for
? ? ? nextResponseBodyConverter n(Lretrofit2/Converter$Factory;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lretrofit2/Converter;
? ? ? ? responseBodyConverter e(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Lretrofit2/Retrofit;)Lretrofit2/Converter; ? ,Could not locate ResponseBody converter for
? ? ? ? stringConverter ? ? ? ? ? -retrofit2/BuiltInConverters$ToStringConverter INSTANCE /Lretrofit2/BuiltInConverters$ToStringConverter; ? retrofit2/Retrofit$Builder
? (Lretrofit2/Retrofit;)V Signature GLjava/util/Map;>; /Ljava/util/List; 1Ljava/util/List; RuntimeVisibleAnnotations Ljavax/annotation/Nullable; j(Lokhttp3/Call$Factory;Lokhttp3/HttpUrl;Ljava/util/List;Ljava/util/List;Ljava/util/concurrent/Executor;Z)V Code LineNumberTable LocalVariableTable this Lretrofit2/Retrofit; LocalVariableTypeTable ?(Lokhttp3/Call$Factory;Lokhttp3/HttpUrl;Ljava/util/List;Ljava/util/List;Ljava/util/concurrent/Executor;Z)V "RuntimeVisibleParameterAnnotations create %(Ljava/lang/Class;)Ljava/lang/Object; service Ljava/lang/Class; Ljava/lang/Class; 1(Ljava/lang/Class;)TT; message Ljava/lang/StringBuilder; candidate method Ljava/lang/reflect/Method; platform Lretrofit2/Platform; check Ljava/util/Deque; Ljava/lang/Class<*>; 'Ljava/util/Deque;>;
StackMapTable% [Ljava/lang/reflect/Method; (Ljava/lang/Class<*>;)V result Lretrofit2/ServiceMethod; Lretrofit2/ServiceMethod<*>;+ java/lang/Throwable 8(Ljava/lang/reflect/Method;)Lretrofit2/ServiceMethod<*>; ()Lokhttp3/Call$Factory; ()Lokhttp3/HttpUrl; ()Ljava/util/List; 3()Ljava/util/List; callAdapter S(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lretrofit2/CallAdapter;
returnType Ljava/lang/reflect/Type; annotations "[Ljava/lang/annotation/Annotation; W(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lretrofit2/CallAdapter<**>; adapter Lretrofit2/CallAdapter; i I count skipPast Lretrofit2/CallAdapter$Factory; start builder Lretrofit2/CallAdapter<**>; v(Lretrofit2/CallAdapter$Factory;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lretrofit2/CallAdapter<**>; 1()Ljava/util/List; s(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Lretrofit2/Converter; type parameterAnnotations methodAnnotations ?(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Lretrofit2/Converter; factory Lretrofit2/Converter$Factory; converter Lretrofit2/Converter; -Lretrofit2/Converter<*Lokhttp3/RequestBody;>; ?(Lretrofit2/Converter$Factory;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Lretrofit2/Converter; Q(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lretrofit2/Converter; ?(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lretrofit2/Converter; .Lretrofit2/Converter; ?(Lretrofit2/Converter$Factory;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lretrofit2/Converter; *Lretrofit2/Converter<*Ljava/lang/String;>; ~(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lretrofit2/Converter; !()Ljava/util/concurrent/Executor;
newBuilder ()Lretrofit2/Retrofit$Builder;
SourceFile
Retrofit.java InnerClasses\ okhttp3/Call$Factory^ okhttp3/Call Factorya retrofit2/CallAdapterc retrofit2/Convertere retrofit2/BuiltInConverters ToStringConverter Builder 1 ! " % &