ErrorCode$Companion.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*L\n1#1,53:1\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,
0x1,
0x10
}
.end annotation
# direct methods
.method private constructor <init>()V
.registers 1
.line 49
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.registers 2
.line 49
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;
.registers 8
.line 50
invoke-static {}, Lokhttp3/internal/http2/ErrorCode;->values()[Lokhttp3/internal/http2/ErrorCode;
move-result-object v0
array-length v1, v0
const/4 v2, 0x0
const/4 v3, 0x0
:goto_7
if-ge v3, v1, :cond_1a
aget-object v4, v0, v3
invoke-virtual {v4}, Lokhttp3/internal/http2/ErrorCode;->getHttpCode()I
move-result v5
if-ne v5, p1, :cond_13
const/4 v5, 0x1
goto :goto_14
:cond_13
const/4 v5, 0x0
:goto_14
if-eqz v5, :cond_17
goto :goto_1b
:cond_17
add-int/lit8 v3, v3, 0x1
goto :goto_7
:cond_1a
const/4 v4, 0x0
:goto_1b
return-object v4
.end method