public final class okhttp3.TlsVersion extends java.lang.Enum<okhttp3.TlsVersion>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: okhttp3.TlsVersion
super_class: java.lang.Enum
{
public static final okhttp3.TlsVersion TLS_1_3;
descriptor: Lokhttp3/TlsVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final okhttp3.TlsVersion TLS_1_2;
descriptor: Lokhttp3/TlsVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final okhttp3.TlsVersion TLS_1_1;
descriptor: Lokhttp3/TlsVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final okhttp3.TlsVersion TLS_1_0;
descriptor: Lokhttp3/TlsVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final okhttp3.TlsVersion SSL_3_0;
descriptor: Lokhttp3/TlsVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
final java.lang.String javaName;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
private static final okhttp3.TlsVersion[] ENUM$VALUES;
descriptor: [Lokhttp3/TlsVersion;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new okhttp3.TlsVersion
dup
ldc "TLS_1_3"
iconst_0
ldc "TLSv1.3"
invokespecial okhttp3.TlsVersion.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic okhttp3.TlsVersion.TLS_1_3:Lokhttp3/TlsVersion;
1: new okhttp3.TlsVersion
dup
ldc "TLS_1_2"
iconst_1
ldc "TLSv1.2"
invokespecial okhttp3.TlsVersion.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic okhttp3.TlsVersion.TLS_1_2:Lokhttp3/TlsVersion;
2: new okhttp3.TlsVersion
dup
ldc "TLS_1_1"
iconst_2
ldc "TLSv1.1"
invokespecial okhttp3.TlsVersion.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic okhttp3.TlsVersion.TLS_1_1:Lokhttp3/TlsVersion;
3: new okhttp3.TlsVersion
dup
ldc "TLS_1_0"
iconst_3
ldc "TLSv1"
invokespecial okhttp3.TlsVersion.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic okhttp3.TlsVersion.TLS_1_0:Lokhttp3/TlsVersion;
4: new okhttp3.TlsVersion
dup
ldc "SSL_3_0"
iconst_4
ldc "SSLv3"
invokespecial okhttp3.TlsVersion.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic okhttp3.TlsVersion.SSL_3_0:Lokhttp3/TlsVersion;
5: iconst_5
anewarray okhttp3.TlsVersion
dup
iconst_0
getstatic okhttp3.TlsVersion.TLS_1_3:Lokhttp3/TlsVersion;
aastore
dup
iconst_1
getstatic okhttp3.TlsVersion.TLS_1_2:Lokhttp3/TlsVersion;
aastore
dup
iconst_2
getstatic okhttp3.TlsVersion.TLS_1_1:Lokhttp3/TlsVersion;
aastore
dup
iconst_3
getstatic okhttp3.TlsVersion.TLS_1_0:Lokhttp3/TlsVersion;
aastore
dup
iconst_4
getstatic okhttp3.TlsVersion.SSL_3_0:Lokhttp3/TlsVersion;
aastore
putstatic okhttp3.TlsVersion.ENUM$VALUES:[Lokhttp3/TlsVersion;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int, java.lang.String);
descriptor: (Ljava/lang/String;ILjava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 3 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
1: aload 0
aload 3
putfield okhttp3.TlsVersion.javaName:Ljava/lang/String;
2: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lokhttp3/TlsVersion;
0 3 3 javaName Ljava/lang/String;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
javaName
public static okhttp3.TlsVersion forJavaName(java.lang.String);
descriptor: (Ljava/lang/String;)Lokhttp3/TlsVersion;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 5
-503070503: 1
-503070502: 2
-503070501: 3
79201641: 4
79923350: 5
default: 11
}
StackMap locals: java.lang.String
StackMap stack:
1: aload 1
ldc "TLSv1.1"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 11
StackMap locals:
StackMap stack:
2: aload 1
ldc "TLSv1.2"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
goto 11
StackMap locals:
StackMap stack:
3: aload 1
ldc "TLSv1.3"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
goto 11
StackMap locals:
StackMap stack:
4: aload 1
ldc "SSLv3"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
goto 11
StackMap locals:
StackMap stack:
5: aload 1
ldc "TLSv1"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
goto 11
6: StackMap locals:
StackMap stack:
getstatic okhttp3.TlsVersion.TLS_1_3:Lokhttp3/TlsVersion;
areturn
7: StackMap locals:
StackMap stack:
getstatic okhttp3.TlsVersion.TLS_1_2:Lokhttp3/TlsVersion;
areturn
8: StackMap locals:
StackMap stack:
getstatic okhttp3.TlsVersion.TLS_1_1:Lokhttp3/TlsVersion;
areturn
9: StackMap locals:
StackMap stack:
getstatic okhttp3.TlsVersion.TLS_1_0:Lokhttp3/TlsVersion;
areturn
10: StackMap locals:
StackMap stack:
getstatic okhttp3.TlsVersion.SSL_3_0:Lokhttp3/TlsVersion;
areturn
11: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unexpected TLS version: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 javaName Ljava/lang/String;
MethodParameters:
Name Flags
javaName
static java.util.List<okhttp3.TlsVersion> forJavaNames(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/util/List;
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=6, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: java.lang.String[] java.util.List top int int java.lang.String[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 1
aload 2
invokestatic okhttp3.TlsVersion.forJavaName:(Ljava/lang/String;)Lokhttp3/TlsVersion;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 2
6: aload 1
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 tlsVersions [Ljava/lang/String;
1 7 1 result Ljava/util/List<Lokhttp3/TlsVersion;>;
3 4 2 tlsVersion Ljava/lang/String;
Signature: ([Ljava/lang/String;)Ljava/util/List<Lokhttp3/TlsVersion;>;
MethodParameters:
Name Flags
tlsVersions
public java.lang.String javaName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield okhttp3.TlsVersion.javaName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lokhttp3/TlsVersion;
public static okhttp3.TlsVersion[] values();
descriptor: ()[Lokhttp3/TlsVersion;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic okhttp3.TlsVersion.ENUM$VALUES:[Lokhttp3/TlsVersion;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray okhttp3.TlsVersion
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static okhttp3.TlsVersion valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lokhttp3/TlsVersion;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lokhttp3/TlsVersion;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast okhttp3.TlsVersion
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lokhttp3/TlsVersion;>;
SourceFile: "TlsVersion.java"