o.smali

.class public final Lxq/o;
.super Lxq/h$a;
.source "OptionalConverterFactory.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lxq/o$a;
    }
.end annotation

.annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement;
.end annotation


# static fields
.field public static final a:Lxq/h$a;


# direct methods
.method public static constructor <clinit>()V
    .registers 1

    new-instance v0, Lxq/o;

    invoke-direct {v0}, Lxq/o;-><init>()V

    sput-object v0, Lxq/o;->a:Lxq/h$a;

    return-void
.end method

.method public constructor <init>()V
    .registers 1

    invoke-direct {p0}, Lxq/h$a;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Lxq/u;)Lxq/h;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/reflect/Type;",
            "[",
            "Ljava/lang/annotation/Annotation;",
            "Lxq/u;",
            ")",
            "Lxq/h<",
            "Lokhttp3/ResponseBody;",
            "*>;"
        }
    .end annotation

    .annotation runtime Ljavax/annotation/Nullable;
    .end annotation

    invoke-static {p1}, Lxq/h$a;->a(Ljava/lang/reflect/Type;)Ljava/lang/Class;

    move-result-object v0

    const-class v1, Ljava/util/Optional;

    if-eq v0, v1, :cond_a

    const/4 p1, 0x0

    return-object p1

    :cond_a
    const/4 v0, 0x0

    check-cast p1, Ljava/lang/reflect/ParameterizedType;

    invoke-static {v0, p1}, Lxq/h$a;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;

    move-result-object p1

    invoke-virtual {p3, p1, p2}, Lxq/u;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lxq/h;

    move-result-object p1

    new-instance p2, Lxq/o$a;

    invoke-direct {p2, p1}, Lxq/o$a;-><init>(Lxq/h;)V

    return-object p2
.end method