final class sun.security.ssl.ServerNameExtension extends sun.security.ssl.HelloExtension
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.ssl.ServerNameExtension
  super_class: sun.security.ssl.HelloExtension
{
  static final int NAME_HOST_NAME;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 0

  private java.util.List<sun.security.ssl.ServerNameExtension$ServerName> names;
    descriptor: Ljava/util/List;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/List<Lsun/security/ssl/ServerNameExtension$ServerName;>;

  private int listLength;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  void <init>(java.util.List<java.lang.String>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // sun.security.ssl.ServerNameExtension this
        start local 1 // java.util.List hostnames
         0: .line 71
            aload 0 /* this */
            getstatic sun.security.ssl.ExtensionType.EXT_SERVER_NAME:Lsun/security/ssl/ExtensionType;
            invokespecial sun.security.ssl.HelloExtension.<init>:(Lsun/security/ssl/ExtensionType;)V
         1: .line 73
            aload 0 /* this */
            iconst_0
            putfield sun.security.ssl.ServerNameExtension.listLength:I
         2: .line 74
            aload 0 /* this */
            new java.util.ArrayList
            dup
            aload 1 /* hostnames */
            invokeinterface java.util.List.size:()I
            invokespecial java.util.ArrayList.<init>:(I)V
            putfield sun.security.ssl.ServerNameExtension.names:Ljava/util/List;
         3: .line 75
            aload 1 /* hostnames */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 10
      StackMap locals: sun.security.ssl.ServerNameExtension java.util.List top java.util.Iterator
      StackMap stack:
         4: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 2 /* hostname */
        start local 2 // java.lang.String hostname
         5: .line 76
            aload 2 /* hostname */
            ifnull 10
            aload 2 /* hostname */
            invokevirtual java.lang.String.length:()I
            ifeq 10
         6: .line 79
            new sun.security.ssl.ServerNameExtension$ServerName
            dup
            iconst_0
            aload 2 /* hostname */
            invokespecial sun.security.ssl.ServerNameExtension$ServerName.<init>:(ILjava/lang/String;)V
         7: .line 78
            astore 4 /* serverName */
        start local 4 // sun.security.ssl.ServerNameExtension$ServerName serverName
         8: .line 80
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension.names:Ljava/util/List;
            aload 4 /* serverName */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         9: .line 81
            aload 0 /* this */
            dup
            getfield sun.security.ssl.ServerNameExtension.listLength:I
            aload 4 /* serverName */
            getfield sun.security.ssl.ServerNameExtension$ServerName.length:I
            iadd
            putfield sun.security.ssl.ServerNameExtension.listLength:I
        end local 4 // sun.security.ssl.ServerNameExtension$ServerName serverName
        end local 2 // java.lang.String hostname
        10: .line 75
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
        11: .line 87
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension.names:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            iconst_1
            if_icmple 15
        12: .line 88
            new javax.net.ssl.SSLProtocolException
            dup
        13: .line 89
            ldc "The ServerNameList MUST NOT contain more than one name of the same name_type"
        14: .line 88
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            athrow
        15: .line 97
      StackMap locals: sun.security.ssl.ServerNameExtension java.util.List
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension.listLength:I
            ifne 19
        16: .line 98
            new javax.net.ssl.SSLProtocolException
            dup
        17: .line 99
            ldc "The ServerNameList cannot be empty"
        18: .line 98
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            athrow
        19: .line 101
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.util.List hostnames
        end local 0 // sun.security.ssl.ServerNameExtension this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   20     0        this  Lsun/security/ssl/ServerNameExtension;
            0   20     1   hostnames  Ljava/util/List<Ljava/lang/String;>;
            5   10     2    hostname  Ljava/lang/String;
            8   10     4  serverName  Lsun/security/ssl/ServerNameExtension$ServerName;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/util/List<Ljava/lang/String;>;)V
    MethodParameters:
           Name  Flags
      hostnames  

  void <init>(sun.security.ssl.HandshakeInStream, int);
    descriptor: (Lsun/security/ssl/HandshakeInStream;I)V
    flags: (0x0000) 
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // sun.security.ssl.ServerNameExtension this
        start local 1 // sun.security.ssl.HandshakeInStream s
        start local 2 // int len
         0: .line 105
            aload 0 /* this */
            getstatic sun.security.ssl.ExtensionType.EXT_SERVER_NAME:Lsun/security/ssl/ExtensionType;
            invokespecial sun.security.ssl.HelloExtension.<init>:(Lsun/security/ssl/ExtensionType;)V
         1: .line 107
            iload 2 /* len */
            istore 3 /* remains */
        start local 3 // int remains
         2: .line 108
            iload 2 /* len */
            iconst_2
            if_icmplt 16
         3: .line 109
            aload 0 /* this */
            aload 1 /* s */
            invokevirtual sun.security.ssl.HandshakeInStream.getInt16:()I
            putfield sun.security.ssl.ServerNameExtension.listLength:I
         4: .line 110
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension.listLength:I
            ifeq 5
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension.listLength:I
            iconst_2
            iadd
            iload 2 /* len */
            if_icmpeq 8
         5: .line 111
      StackMap locals: sun.security.ssl.ServerNameExtension sun.security.ssl.HandshakeInStream int int
      StackMap stack:
            new javax.net.ssl.SSLProtocolException
            dup
         6: .line 112
            new java.lang.StringBuilder
            dup
            ldc "Invalid "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension.type:Lsun/security/ssl/ExtensionType;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " extension"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         7: .line 111
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 115
      StackMap locals:
      StackMap stack:
            iinc 3 /* remains */ -2
         9: .line 116
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield sun.security.ssl.ServerNameExtension.names:Ljava/util/List;
        10: .line 117
            goto 14
        11: .line 118
      StackMap locals:
      StackMap stack:
            new sun.security.ssl.ServerNameExtension$ServerName
            dup
            aload 1 /* s */
            invokespecial sun.security.ssl.ServerNameExtension$ServerName.<init>:(Lsun/security/ssl/HandshakeInStream;)V
            astore 4 /* name */
        start local 4 // sun.security.ssl.ServerNameExtension$ServerName name
        12: .line 119
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension.names:Ljava/util/List;
            aload 4 /* name */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        13: .line 120
            iload 3 /* remains */
            aload 4 /* name */
            getfield sun.security.ssl.ServerNameExtension$ServerName.length:I
            isub
            istore 3 /* remains */
        end local 4 // sun.security.ssl.ServerNameExtension$ServerName name
        14: .line 117
      StackMap locals:
      StackMap stack:
            iload 3 /* remains */
            ifgt 11
        15: .line 124
            goto 19
      StackMap locals:
      StackMap stack:
        16: iload 2 /* len */
            ifne 19
        17: .line 125
            aload 0 /* this */
            iconst_0
            putfield sun.security.ssl.ServerNameExtension.listLength:I
        18: .line 126
            aload 0 /* this */
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            putfield sun.security.ssl.ServerNameExtension.names:Ljava/util/List;
        19: .line 129
      StackMap locals:
      StackMap stack:
            iload 3 /* remains */
            ifeq 21
        20: .line 130
            new javax.net.ssl.SSLProtocolException
            dup
            ldc "Invalid server_name extension"
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            athrow
        21: .line 132
      StackMap locals:
      StackMap stack:
            return
        end local 3 // int remains
        end local 2 // int len
        end local 1 // sun.security.ssl.HandshakeInStream s
        end local 0 // sun.security.ssl.ServerNameExtension this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   22     0     this  Lsun/security/ssl/ServerNameExtension;
            0   22     1        s  Lsun/security/ssl/HandshakeInStream;
            0   22     2      len  I
            2   22     3  remains  I
           12   14     4     name  Lsun/security/ssl/ServerNameExtension$ServerName;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      s     
      len   

  int length();
    descriptor: ()I
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.security.ssl.ServerNameExtension this
         0: .line 170
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension.listLength:I
            ifne 1
            iconst_4
            goto 2
      StackMap locals:
      StackMap stack:
         1: bipush 6
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension.listLength:I
            iadd
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // sun.security.ssl.ServerNameExtension this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/security/ssl/ServerNameExtension;

  void send(sun.security.ssl.HandshakeOutStream);
    descriptor: (Lsun/security/ssl/HandshakeOutStream;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // sun.security.ssl.ServerNameExtension this
        start local 1 // sun.security.ssl.HandshakeOutStream s
         0: .line 174
            aload 1 /* s */
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension.type:Lsun/security/ssl/ExtensionType;
            getfield sun.security.ssl.ExtensionType.id:I
            invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
         1: .line 175
            aload 1 /* s */
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension.listLength:I
            iconst_2
            iadd
            invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
         2: .line 176
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension.listLength:I
            ifeq 9
         3: .line 177
            aload 1 /* s */
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension.listLength:I
            invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
         4: .line 179
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension.names:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 8
      StackMap locals: sun.security.ssl.ServerNameExtension sun.security.ssl.HandshakeOutStream top java.util.Iterator
      StackMap stack:
         5: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast sun.security.ssl.ServerNameExtension$ServerName
            astore 2 /* name */
        start local 2 // sun.security.ssl.ServerNameExtension$ServerName name
         6: .line 180
            aload 1 /* s */
            aload 2 /* name */
            getfield sun.security.ssl.ServerNameExtension$ServerName.type:I
            invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
         7: .line 181
            aload 1 /* s */
            aload 2 /* name */
            getfield sun.security.ssl.ServerNameExtension$ServerName.data:[B
            invokevirtual sun.security.ssl.HandshakeOutStream.putBytes16:([B)V
        end local 2 // sun.security.ssl.ServerNameExtension$ServerName name
         8: .line 179
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 5
         9: .line 184
      StackMap locals: sun.security.ssl.ServerNameExtension sun.security.ssl.HandshakeOutStream
      StackMap stack:
            return
        end local 1 // sun.security.ssl.HandshakeOutStream s
        end local 0 // sun.security.ssl.ServerNameExtension this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lsun/security/ssl/ServerNameExtension;
            0   10     1     s  Lsun/security/ssl/HandshakeOutStream;
            6    8     2  name  Lsun/security/ssl/ServerNameExtension$ServerName;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      s     

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // sun.security.ssl.ServerNameExtension this
         0: .line 187
            new java.lang.StringBuffer
            dup
            invokespecial java.lang.StringBuffer.<init>:()V
            astore 1 /* buffer */
        start local 1 // java.lang.StringBuffer buffer
         1: .line 188
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension.names:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: sun.security.ssl.ServerNameExtension java.lang.StringBuffer top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast sun.security.ssl.ServerNameExtension$ServerName
            astore 2 /* name */
        start local 2 // sun.security.ssl.ServerNameExtension$ServerName name
         3: .line 189
            aload 1 /* buffer */
            new java.lang.StringBuilder
            dup
            ldc "["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* name */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
            pop
        end local 2 // sun.security.ssl.ServerNameExtension$ServerName name
         4: .line 188
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 192
            new java.lang.StringBuilder
            dup
            ldc "Extension "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension.type:Lsun/security/ssl/ExtensionType;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc ", server_name: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* buffer */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // java.lang.StringBuffer buffer
        end local 0 // sun.security.ssl.ServerNameExtension this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    this  Lsun/security/ssl/ServerNameExtension;
            1    6     1  buffer  Ljava/lang/StringBuffer;
            3    4     2    name  Lsun/security/ssl/ServerNameExtension$ServerName;
}
SourceFile: "ServerNameExtension.java"
NestMembers:
  sun.security.ssl.ServerNameExtension$ServerName
InnerClasses:
  ServerName = sun.security.ssl.ServerNameExtension$ServerName of sun.security.ssl.ServerNameExtension