class org.springframework.util.SocketUtils$SocketType$2 extends org.springframework.util.SocketUtils$SocketType
minor version: 0
major version: 59
flags: flags: (0x4020) ACC_SUPER, ACC_ANNOTATION
this_class: org.springframework.util.SocketUtils$SocketType$2
super_class: org.springframework.util.SocketUtils$SocketType
{
void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 0: aload 0
aload 1
iload 2
invokespecial org.springframework.util.SocketUtils$SocketType.<init>:(Ljava/lang/String;I)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/util/SocketUtils$SocketType$2;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
protected boolean isPortAvailable(int);
descriptor: (I)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new java.net.DatagramSocket
dup
iload 1
ldc "localhost"
invokestatic java.net.InetAddress.getByName:(Ljava/lang/String;)Ljava/net/InetAddress;
invokespecial java.net.DatagramSocket.<init>:(ILjava/net/InetAddress;)V
astore 2
start local 2 1: aload 2
invokevirtual java.net.DatagramSocket.close:()V
2: iconst_1
ireturn
end local 2 3: StackMap locals:
StackMap stack: java.lang.Exception
pop
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/util/SocketUtils$SocketType$2;
0 5 1 port I
1 3 2 socket Ljava/net/DatagramSocket;
Exception table:
from to target type
0 2 3 Class java.lang.Exception
MethodParameters:
Name Flags
port
}
SourceFile: "SocketUtils.java"
EnclosingMethod: org.springframework.util.SocketUtils$SocketType
NestHost: org.springframework.util.SocketUtils
InnerClasses:
private abstract SocketType = org.springframework.util.SocketUtils$SocketType of org.springframework.util.SocketUtils
org.springframework.util.SocketUtils$SocketType$2