.class public final enum Lokhttp3/TlsVersion; .super Ljava/lang/Enum; .source "TlsVersion.kt" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lokhttp3/TlsVersion$Companion; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Enum<", "Lokhttp3/TlsVersion;", ">;" } .end annotation .annotation runtime Lkotlin/Metadata; bv = { 0x1, 0x0, 0x3 } d1 = { "\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\u000e\n\u0002\u0008\n\u0008\u0086\u0001\u0018\u0000 \u000c2\u0008\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\u000cB\u000f\u0008\u0002\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004J\r\u0010\u0002\u001a\u00020\u0003H\u0007\u00a2\u0006\u0002\u0008\u0006R\u0013\u0010\u0002\u001a\u00020\u00038\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0002\u0010\u0005j\u0002\u0008\u0007j\u0002\u0008\u0008j\u0002\u0008\tj\u0002\u0008\nj\u0002\u0008\u000b\u00a8\u0006\r" } d2 = { "Lokhttp3/TlsVersion;", "", "javaName", "", "(Ljava/lang/String;ILjava/lang/String;)V", "()Ljava/lang/String;", "-deprecated_javaName", "TLS_1_3", "TLS_1_2", "TLS_1_1", "TLS_1_0", "SSL_3_0", "Companion", "okhttp" } k = 0x1 mv = { 0x1, 0x4, 0x0 } .end annotation # static fields .field private static final synthetic $VALUES:[Lokhttp3/TlsVersion; .field public static final Companion:Lokhttp3/TlsVersion$Companion; .field public static final enum SSL_3_0:Lokhttp3/TlsVersion; .field public static final enum TLS_1_0:Lokhttp3/TlsVersion; .field public static final enum TLS_1_1:Lokhttp3/TlsVersion; .field public static final enum TLS_1_2:Lokhttp3/TlsVersion; .field public static final enum TLS_1_3:Lokhttp3/TlsVersion; # instance fields .field private final javaName:Ljava/lang/String; # direct methods .method static constructor ()V .locals 8 new-instance v0, Lokhttp3/TlsVersion; const/4 v1, 0x0 const-string v2, "TLSv1.3" const-string v3, "TLS_1_3" .line 25 invoke-direct {v0, v3, v1, v2}, Lokhttp3/TlsVersion;->(Ljava/lang/String;ILjava/lang/String;)V sput-object v0, Lokhttp3/TlsVersion;->TLS_1_3:Lokhttp3/TlsVersion; new-instance v1, Lokhttp3/TlsVersion; const/4 v2, 0x1 const-string v3, "TLSv1.2" const-string v4, "TLS_1_2" .line 26 invoke-direct {v1, v4, v2, v3}, Lokhttp3/TlsVersion;->(Ljava/lang/String;ILjava/lang/String;)V sput-object v1, Lokhttp3/TlsVersion;->TLS_1_2:Lokhttp3/TlsVersion; new-instance v2, Lokhttp3/TlsVersion; const/4 v3, 0x2 const-string v4, "TLSv1.1" const-string v5, "TLS_1_1" .line 27 invoke-direct {v2, v5, v3, v4}, Lokhttp3/TlsVersion;->(Ljava/lang/String;ILjava/lang/String;)V sput-object v2, Lokhttp3/TlsVersion;->TLS_1_1:Lokhttp3/TlsVersion; new-instance v3, Lokhttp3/TlsVersion; const/4 v4, 0x3 const-string v5, "TLSv1" const-string v6, "TLS_1_0" .line 28 invoke-direct {v3, v6, v4, v5}, Lokhttp3/TlsVersion;->(Ljava/lang/String;ILjava/lang/String;)V sput-object v3, Lokhttp3/TlsVersion;->TLS_1_0:Lokhttp3/TlsVersion; new-instance v4, Lokhttp3/TlsVersion; const/4 v5, 0x4 const-string v6, "SSLv3" const-string v7, "SSL_3_0" .line 29 invoke-direct {v4, v7, v5, v6}, Lokhttp3/TlsVersion;->(Ljava/lang/String;ILjava/lang/String;)V sput-object v4, Lokhttp3/TlsVersion;->SSL_3_0:Lokhttp3/TlsVersion; filled-new-array {v0, v1, v2, v3, v4}, [Lokhttp3/TlsVersion; move-result-object v0 sput-object v0, Lokhttp3/TlsVersion;->$VALUES:[Lokhttp3/TlsVersion; new-instance v0, Lokhttp3/TlsVersion$Companion; const/4 v1, 0x0 invoke-direct {v0, v1}, Lokhttp3/TlsVersion$Companion;->(Lkotlin/jvm/internal/DefaultConstructorMarker;)V sput-object v0, Lokhttp3/TlsVersion;->Companion:Lokhttp3/TlsVersion$Companion; return-void .end method .method private constructor (Ljava/lang/String;ILjava/lang/String;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", ")V" } .end annotation .line 22 invoke-direct {p0, p1, p2}, Ljava/lang/Enum;->(Ljava/lang/String;I)V iput-object p3, p0, Lokhttp3/TlsVersion;->javaName:Ljava/lang/String; return-void .end method .method public static final forJavaName(Ljava/lang/String;)Lokhttp3/TlsVersion; .locals 1 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Lokhttp3/TlsVersion;->Companion:Lokhttp3/TlsVersion$Companion; invoke-virtual {v0, p0}, Lokhttp3/TlsVersion$Companion;->forJavaName(Ljava/lang/String;)Lokhttp3/TlsVersion; move-result-object p0 return-object p0 .end method .method public static valueOf(Ljava/lang/String;)Lokhttp3/TlsVersion; .locals 1 const-class v0, Lokhttp3/TlsVersion; invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum; move-result-object p0 check-cast p0, Lokhttp3/TlsVersion; return-object p0 .end method .method public static values()[Lokhttp3/TlsVersion; .locals 1 sget-object v0, Lokhttp3/TlsVersion;->$VALUES:[Lokhttp3/TlsVersion; invoke-virtual {v0}, [Lokhttp3/TlsVersion;->clone()Ljava/lang/Object; move-result-object v0 check-cast v0, [Lokhttp3/TlsVersion; return-object v0 .end method # virtual methods .method public final -deprecated_javaName()Ljava/lang/String; .locals 0 .annotation runtime Lkotlin/Deprecated; level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel; message = "moved to val" replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "javaName" imports = {} .end subannotation .end annotation iget-object p0, p0, Lokhttp3/TlsVersion;->javaName:Ljava/lang/String; return-object p0 .end method .method public final javaName()Ljava/lang/String; .locals 0 iget-object p0, p0, Lokhttp3/TlsVersion;->javaName:Ljava/lang/String; return-object p0 .end method