abstract class org.springframework.util.SocketUtils$SocketType extends java.lang.Enum<org.springframework.util.SocketUtils$SocketType>
  minor version: 0
  major version: 59
  flags: flags: (0x4420) ACC_SUPER, ACC_ABSTRACT, ACC_ANNOTATION
  this_class: org.springframework.util.SocketUtils$SocketType
  super_class: java.lang.Enum
{
  public static final org.springframework.util.SocketUtils$SocketType TCP;
    descriptor: Lorg/springframework/util/SocketUtils$SocketType;
    flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION

  public static final org.springframework.util.SocketUtils$SocketType UDP;
    descriptor: Lorg/springframework/util/SocketUtils$SocketType;
    flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION

  private static final org.springframework.util.SocketUtils$SocketType[] ENUM$VALUES;
    descriptor: [Lorg/springframework/util/SocketUtils$SocketType;
    flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 196
            new org.springframework.util.SocketUtils$SocketType$1
            dup
            ldc "TCP"
            iconst_0
            invokespecial org.springframework.util.SocketUtils$SocketType$1.<init>:(Ljava/lang/String;I)V
            putstatic org.springframework.util.SocketUtils$SocketType.TCP:Lorg/springframework/util/SocketUtils$SocketType;
         1: .line 211
            new org.springframework.util.SocketUtils$SocketType$2
            dup
            ldc "UDP"
            iconst_1
            invokespecial org.springframework.util.SocketUtils$SocketType$2.<init>:(Ljava/lang/String;I)V
            putstatic org.springframework.util.SocketUtils$SocketType.UDP:Lorg/springframework/util/SocketUtils$SocketType;
         2: .line 194
            iconst_2
            anewarray org.springframework.util.SocketUtils$SocketType
            dup
            iconst_0
            getstatic org.springframework.util.SocketUtils$SocketType.TCP:Lorg/springframework/util/SocketUtils$SocketType;
            aastore
            dup
            iconst_1
            getstatic org.springframework.util.SocketUtils$SocketType.UDP:Lorg/springframework/util/SocketUtils$SocketType;
            aastore
            putstatic org.springframework.util.SocketUtils$SocketType.ENUM$VALUES:[Lorg/springframework/util/SocketUtils$SocketType;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>(java.lang.String, int);
    descriptor: (Ljava/lang/String;I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.springframework.util.SocketUtils$SocketType this
         0: .line 194
            aload 0 /* this */
            aload 1
            iload 2
            invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
            return
        end local 0 // org.springframework.util.SocketUtils$SocketType this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/springframework/util/SocketUtils$SocketType;
    MethodParameters:
               Name  Flags
      $enum$name     
      $enum$ordinal  

  protected abstract boolean isPortAvailable(int);
    descriptor: (I)Z
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    MethodParameters:
      Name  Flags
      port  

  private int findRandomPort(int, int);
    descriptor: (II)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // org.springframework.util.SocketUtils$SocketType this
        start local 1 // int minPort
        start local 2 // int maxPort
         0: .line 239
            iload 2 /* maxPort */
            iload 1 /* minPort */
            isub
            istore 3 /* portRange */
        start local 3 // int portRange
         1: .line 240
            iload 1 /* minPort */
            getstatic org.springframework.util.SocketUtils.random:Ljava/util/Random;
            iload 3 /* portRange */
            iconst_1
            iadd
            invokevirtual java.util.Random.nextInt:(I)I
            iadd
            ireturn
        end local 3 // int portRange
        end local 2 // int maxPort
        end local 1 // int minPort
        end local 0 // org.springframework.util.SocketUtils$SocketType this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lorg/springframework/util/SocketUtils$SocketType;
            0    2     1    minPort  I
            0    2     2    maxPort  I
            1    2     3  portRange  I
    MethodParameters:
         Name  Flags
      minPort  
      maxPort  

  int findAvailablePort(int, int);
    descriptor: (II)I
    flags: (0x0000) 
    Code:
      stack=7, locals=6, args_size=3
        start local 0 // org.springframework.util.SocketUtils$SocketType this
        start local 1 // int minPort
        start local 2 // int maxPort
         0: .line 252
            iload 1 /* minPort */
            ifle 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ldc "'minPort' must be greater than 0"
            invokestatic org.springframework.util.Assert.isTrue:(ZLjava/lang/String;)V
         3: .line 253
            iload 2 /* maxPort */
            iload 1 /* minPort */
            if_icmplt 4
            iconst_1
            goto 5
      StackMap locals:
      StackMap stack:
         4: iconst_0
      StackMap locals:
      StackMap stack: int
         5: ldc "'maxPort' must be greater than or equal to 'minPort'"
            invokestatic org.springframework.util.Assert.isTrue:(ZLjava/lang/String;)V
         6: .line 254
            iload 2 /* maxPort */
            ldc 65535
            if_icmpgt 7
            iconst_1
            goto 8
      StackMap locals:
      StackMap stack:
         7: iconst_0
      StackMap locals:
      StackMap stack: int
         8: ldc "'maxPort' must be less than or equal to 65535"
            invokestatic org.springframework.util.Assert.isTrue:(ZLjava/lang/String;)V
         9: .line 256
            iload 2 /* maxPort */
            iload 1 /* minPort */
            isub
            istore 3 /* portRange */
        start local 3 // int portRange
        10: .line 258
            iconst_0
            istore 5 /* searchCounter */
        start local 5 // int searchCounter
        11: .line 260
      StackMap locals: org.springframework.util.SocketUtils$SocketType int int int top int
      StackMap stack:
            iload 5 /* searchCounter */
            iload 3 /* portRange */
            if_icmple 16
        12: .line 261
            new java.lang.IllegalStateException
            dup
        13: .line 262
            ldc "Could not find an available %s port in the range [%d, %d] after %d attempts"
            iconst_4
            anewarray java.lang.Object
            dup
            iconst_0
        14: .line 263
            aload 0 /* this */
            invokevirtual org.springframework.util.SocketUtils$SocketType.name:()Ljava/lang/String;
            aastore
            dup
            iconst_1
            iload 1 /* minPort */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            iload 2 /* maxPort */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_3
            iload 5 /* searchCounter */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
        15: .line 261
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
        16: .line 265
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* minPort */
            iload 2 /* maxPort */
            invokevirtual org.springframework.util.SocketUtils$SocketType.findRandomPort:(II)I
            istore 4 /* candidatePort */
        start local 4 // int candidatePort
        17: .line 266
            iinc 5 /* searchCounter */ 1
        18: .line 268
            aload 0 /* this */
            iload 4 /* candidatePort */
            invokevirtual org.springframework.util.SocketUtils$SocketType.isPortAvailable:(I)Z
            ifeq 11
        19: .line 270
            iload 4 /* candidatePort */
            ireturn
        end local 5 // int searchCounter
        end local 4 // int candidatePort
        end local 3 // int portRange
        end local 2 // int maxPort
        end local 1 // int minPort
        end local 0 // org.springframework.util.SocketUtils$SocketType this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   20     0           this  Lorg/springframework/util/SocketUtils$SocketType;
            0   20     1        minPort  I
            0   20     2        maxPort  I
           10   20     3      portRange  I
           17   20     4  candidatePort  I
           11   20     5  searchCounter  I
    MethodParameters:
         Name  Flags
      minPort  
      maxPort  

  java.util.SortedSet<java.lang.Integer> findAvailablePorts(int, int, int);
    descriptor: (III)Ljava/util/SortedSet;
    flags: (0x0000) 
    Code:
      stack=7, locals=6, args_size=4
        start local 0 // org.springframework.util.SocketUtils$SocketType this
        start local 1 // int numRequested
        start local 2 // int minPort
        start local 3 // int maxPort
         0: .line 283
            iload 2 /* minPort */
            ifle 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ldc "'minPort' must be greater than 0"
            invokestatic org.springframework.util.Assert.isTrue:(ZLjava/lang/String;)V
         3: .line 284
            iload 3 /* maxPort */
            iload 2 /* minPort */
            if_icmple 4
            iconst_1
            goto 5
      StackMap locals:
      StackMap stack:
         4: iconst_0
      StackMap locals:
      StackMap stack: int
         5: ldc "'maxPort' must be greater than 'minPort'"
            invokestatic org.springframework.util.Assert.isTrue:(ZLjava/lang/String;)V
         6: .line 285
            iload 3 /* maxPort */
            ldc 65535
            if_icmpgt 7
            iconst_1
            goto 8
      StackMap locals:
      StackMap stack:
         7: iconst_0
      StackMap locals:
      StackMap stack: int
         8: ldc "'maxPort' must be less than or equal to 65535"
            invokestatic org.springframework.util.Assert.isTrue:(ZLjava/lang/String;)V
         9: .line 286
            iload 1 /* numRequested */
            ifle 10
            iconst_1
            goto 11
      StackMap locals:
      StackMap stack:
        10: iconst_0
      StackMap locals:
      StackMap stack: int
        11: ldc "'numRequested' must be greater than 0"
            invokestatic org.springframework.util.Assert.isTrue:(ZLjava/lang/String;)V
        12: .line 287
            iload 3 /* maxPort */
            iload 2 /* minPort */
            isub
            iload 1 /* numRequested */
            if_icmplt 13
            iconst_1
            goto 14
      StackMap locals:
      StackMap stack:
        13: iconst_0
        14: .line 288
      StackMap locals:
      StackMap stack: int
            ldc "'numRequested' must not be greater than 'maxPort' - 'minPort'"
        15: .line 287
            invokestatic org.springframework.util.Assert.isTrue:(ZLjava/lang/String;)V
        16: .line 290
            new java.util.TreeSet
            dup
            invokespecial java.util.TreeSet.<init>:()V
            astore 4 /* availablePorts */
        start local 4 // java.util.SortedSet availablePorts
        17: .line 291
            iconst_0
            istore 5 /* attemptCount */
        start local 5 // int attemptCount
        18: .line 292
            goto 20
        19: .line 293
      StackMap locals: java.util.SortedSet int
      StackMap stack:
            aload 4 /* availablePorts */
            aload 0 /* this */
            iload 2 /* minPort */
            iload 3 /* maxPort */
            invokevirtual org.springframework.util.SocketUtils$SocketType.findAvailablePort:(II)I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.SortedSet.add:(Ljava/lang/Object;)Z
            pop
        20: .line 292
      StackMap locals:
      StackMap stack:
            iinc 5 /* attemptCount */ 1
            iload 5 /* attemptCount */
            iload 1 /* numRequested */
            bipush 100
            iadd
            if_icmpgt 21
            aload 4 /* availablePorts */
            invokeinterface java.util.SortedSet.size:()I
            iload 1 /* numRequested */
            if_icmplt 19
        21: .line 296
      StackMap locals:
      StackMap stack:
            aload 4 /* availablePorts */
            invokeinterface java.util.SortedSet.size:()I
            iload 1 /* numRequested */
            if_icmpeq 26
        22: .line 297
            new java.lang.IllegalStateException
            dup
        23: .line 298
            ldc "Could not find %d available %s ports in the range [%d, %d]"
            iconst_4
            anewarray java.lang.Object
            dup
            iconst_0
        24: .line 299
            iload 1 /* numRequested */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            invokevirtual org.springframework.util.SocketUtils$SocketType.name:()Ljava/lang/String;
            aastore
            dup
            iconst_2
            iload 2 /* minPort */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_3
            iload 3 /* maxPort */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
        25: .line 297
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
        26: .line 302
      StackMap locals:
      StackMap stack:
            aload 4 /* availablePorts */
            areturn
        end local 5 // int attemptCount
        end local 4 // java.util.SortedSet availablePorts
        end local 3 // int maxPort
        end local 2 // int minPort
        end local 1 // int numRequested
        end local 0 // org.springframework.util.SocketUtils$SocketType this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   27     0            this  Lorg/springframework/util/SocketUtils$SocketType;
            0   27     1    numRequested  I
            0   27     2         minPort  I
            0   27     3         maxPort  I
           17   27     4  availablePorts  Ljava/util/SortedSet<Ljava/lang/Integer;>;
           18   27     5    attemptCount  I
    Signature: (III)Ljava/util/SortedSet<Ljava/lang/Integer;>;
    MethodParameters:
              Name  Flags
      numRequested  
      minPort       
      maxPort       

  public static org.springframework.util.SocketUtils$SocketType[] values();
    descriptor: ()[Lorg/springframework/util/SocketUtils$SocketType;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=0
         0: .line 1
            getstatic org.springframework.util.SocketUtils$SocketType.ENUM$VALUES:[Lorg/springframework/util/SocketUtils$SocketType;
            dup
            astore 0
            iconst_0
            aload 0
            arraylength
            dup
            istore 1
            anewarray org.springframework.util.SocketUtils$SocketType
            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 org.springframework.util.SocketUtils$SocketType valueOf(java.lang.String);
    descriptor: (Ljava/lang/String;)Lorg/springframework/util/SocketUtils$SocketType;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
         0: .line 1
            ldc Lorg/springframework/util/SocketUtils$SocketType;
            aload 0
            invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
            checkcast org.springframework.util.SocketUtils$SocketType
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    MethodParameters:
      Name  Flags
      name  
}
Signature: Ljava/lang/Enum<Lorg/springframework/util/SocketUtils$SocketType;>;
SourceFile: "SocketUtils.java"
NestHost: org.springframework.util.SocketUtils
InnerClasses:
  private abstract SocketType = org.springframework.util.SocketUtils$SocketType of org.springframework.util.SocketUtils
  org.springframework.util.SocketUtils$SocketType$1
  org.springframework.util.SocketUtils$SocketType$2