.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 ()V .locals 0 .line 49 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public synthetic constructor (Lkotlin/jvm/internal/DefaultConstructorMarker;)V .locals 0 .line 49 invoke-direct {p0}, Lokhttp3/internal/http2/ErrorCode$Companion;->()V return-void .end method # virtual methods .method public final fromHttp2(I)Lokhttp3/internal/http2/ErrorCode; .locals 4 .line 50 invoke-static {}, Lokhttp3/internal/http2/ErrorCode;->values()[Lokhttp3/internal/http2/ErrorCode; move-result-object p0 array-length v0, p0 const/4 v1, 0x0 :goto_0 if-ge v1, v0, :cond_1 aget-object v2, p0, v1 invoke-virtual {v2}, Lokhttp3/internal/http2/ErrorCode;->getHttpCode()I move-result v3 if-ne v3, p1, :cond_0 goto :goto_1 :cond_0 add-int/lit8 v1, v1, 0x1 goto :goto_0 :cond_1 const/4 v2, 0x0 :goto_1 return-object v2 .end method