RestMethodInfo$RxSupport.smali
.class final Lretrofit/RestMethodInfo$RxSupport;
.super Ljava/lang/Object;
.source "RestMethodInfo.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lretrofit/RestMethodInfo;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1a
name = "RxSupport"
.end annotation
# direct methods
.method private constructor <init>()V
.registers 1
.line 453
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getObservableType(Ljava/lang/reflect/Type;Ljava/lang/Class;)Ljava/lang/reflect/Type;
.registers 3
.line 459
const-class v0, Lrx/Observable;
invoke-static {p0, p1, v0}, Lretrofit/Types;->getSupertype(Ljava/lang/reflect/Type;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/reflect/Type;
move-result-object p0
return-object p0
.end method
.method public static isObservable(Ljava/lang/Class;)Z
.registers 2
.line 455
const-class v0, Lrx/Observable;
if-ne p0, v0, :cond_6
const/4 p0, 0x1
goto :goto_7
:cond_6
const/4 p0, 0x0
:goto_7
return p0
.end method