apkfuckery/com.discord/smali_classes2/g0/s$a.smali
2020-11-16 22:05:17 +00:00

90 lines
1.9 KiB
Smali

.class public final Lg0/s$a;
.super Ljava/lang/Object;
.source "OptionalConverterFactory.java"
# interfaces
.implements Lg0/h;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lg0/s;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lg0/h<",
"Lokhttp3/ResponseBody;",
"Ljava/util/Optional<",
"TT;>;>;"
}
.end annotation
.annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement;
.end annotation
# instance fields
.field public final a:Lg0/h;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lg0/h<",
"Lokhttp3/ResponseBody;",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lg0/h;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lg0/h<",
"Lokhttp3/ResponseBody;",
"TT;>;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lg0/s$a;->a:Lg0/h;
return-void
.end method
# virtual methods
.method public convert(Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
check-cast p1, Lokhttp3/ResponseBody;
iget-object v0, p0, Lg0/s$a;->a:Lg0/h;
invoke-interface {v0, p1}, Lg0/h;->convert(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
invoke-static {p1}, Ljava/util/Optional;->ofNullable(Ljava/lang/Object;)Ljava/util/Optional;
move-result-object p1
return-object p1
.end method