tmap/smali_classes5/okhttp3/internal/http2/ErrorCode$Companion.smali
2022-06-10 21:38:30 +09:00

119 lines
2.5 KiB
Smali

.class public final Lokhttp3/internal/http2/ErrorCode$Companion;
.super Ljava/lang/Object;
.source "ErrorCode.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/ErrorCode;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nErrorCode.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ErrorCode.kt\nokhttp3/internal/http2/ErrorCode$Companion\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,53:1\n1#2:54\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0000\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u0010\u0010\u0003\u001a\u0004\u0018\u00010\u00042\u0006\u0010\u0005\u001a\u00020\u0006\u00a8\u0006\u0007"
}
d2 = {
"Lokhttp3/internal/http2/ErrorCode$Companion;",
"",
"()V",
"fromHttp2",
"Lokhttp3/internal/http2/ErrorCode;",
"code",
"",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/u;)V
.locals 0
.line 2
invoke-direct {p0}, Lokhttp3/internal/http2/ErrorCode$Companion;-><init>()V
return-void
.end method
# virtual methods
.method public final fromHttp2(I)Lokhttp3/internal/http2/ErrorCode;
.locals 6
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
invoke-static {}, Lokhttp3/internal/http2/ErrorCode;->values()[Lokhttp3/internal/http2/ErrorCode;
move-result-object v0
array-length v1, v0
const/4 v2, 0x0
move v3, v2
:goto_0
if-ge v3, v1, :cond_2
aget-object v4, v0, v3
invoke-virtual {v4}, Lokhttp3/internal/http2/ErrorCode;->getHttpCode()I
move-result v5
if-ne v5, p1, :cond_0
const/4 v5, 0x1
goto :goto_1
:cond_0
move v5, v2
:goto_1
if-eqz v5, :cond_1
goto :goto_2
:cond_1
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_2
const/4 v4, 0x0
:goto_2
return-object v4
.end method