class org.jruby.ext.socket.SocketUtils$2 implements org.jruby.ext.socket.SocketUtils$AddrinfoCallback
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.ext.socket.SocketUtils$2
super_class: java.lang.Object
{
private final java.util.List val$l;
descriptor: Ljava/util/List;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.jruby.Ruby val$runtime;
descriptor: Lorg/jruby/Ruby;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.List, org.jruby.Ruby);
descriptor: (Ljava/util/List;Lorg/jruby/Ruby;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield org.jruby.ext.socket.SocketUtils$2.val$l:Ljava/util/List;
aload 0
aload 2
putfield org.jruby.ext.socket.SocketUtils$2.val$runtime:Lorg/jruby/Ruby;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SocketUtils$2;
MethodParameters:
Name Flags
val$l final
val$runtime final
public void addrinfo(java.net.InetAddress, int, jnr.constants.platform.Sock, java.lang.Boolean);
descriptor: (Ljava/net/InetAddress;ILjnr/constants/platform/Sock;Ljava/lang/Boolean;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_1
istore 5
start local 5 1: iconst_1
istore 6
start local 6 2: aload 3
ifnull 8
3: aload 3
getstatic jnr.constants.platform.Sock.SOCK_STREAM:Ljnr/constants/platform/Sock;
if_acmpne 6
4: iconst_0
istore 6
5: goto 8
StackMap locals: int int
StackMap stack:
6: aload 3
getstatic jnr.constants.platform.Sock.SOCK_DGRAM:Ljnr/constants/platform/Sock;
if_acmpne 8
7: iconst_0
istore 5
8: StackMap locals:
StackMap stack:
iload 6
ifeq 14
9: aload 0
getfield org.jruby.ext.socket.SocketUtils$2.val$l:Ljava/util/List;
new org.jruby.ext.socket.Addrinfo
dup
aload 0
getfield org.jruby.ext.socket.SocketUtils$2.val$runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ext.socket.SocketUtils$2.val$runtime:Lorg/jruby/Ruby;
ldc "Addrinfo"
invokevirtual org.jruby.Ruby.getClass:(Ljava/lang/String;)Lorg/jruby/RubyClass;
10: new java.net.InetSocketAddress
dup
aload 1
iload 2
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
11: getstatic jnr.constants.platform.Sock.SOCK_DGRAM:Ljnr/constants/platform/Sock;
12: getstatic org.jruby.ext.socket.SocketType.DATAGRAM:Lorg/jruby/ext/socket/SocketType;
invokespecial org.jruby.ext.socket.Addrinfo.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/net/SocketAddress;Ljnr/constants/platform/Sock;Lorg/jruby/ext/socket/SocketType;)V
13: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: StackMap locals:
StackMap stack:
iload 5
ifeq 20
15: aload 0
getfield org.jruby.ext.socket.SocketUtils$2.val$l:Ljava/util/List;
new org.jruby.ext.socket.Addrinfo
dup
aload 0
getfield org.jruby.ext.socket.SocketUtils$2.val$runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ext.socket.SocketUtils$2.val$runtime:Lorg/jruby/Ruby;
ldc "Addrinfo"
invokevirtual org.jruby.Ruby.getClass:(Ljava/lang/String;)Lorg/jruby/RubyClass;
16: new java.net.InetSocketAddress
dup
aload 1
iload 2
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
17: getstatic jnr.constants.platform.Sock.SOCK_STREAM:Ljnr/constants/platform/Sock;
18: getstatic org.jruby.ext.socket.SocketType.SOCKET:Lorg/jruby/ext/socket/SocketType;
invokespecial org.jruby.ext.socket.Addrinfo.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/net/SocketAddress;Ljnr/constants/platform/Sock;Lorg/jruby/ext/socket/SocketType;)V
19: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
20: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/jruby/ext/socket/SocketUtils$2;
0 21 1 address Ljava/net/InetAddress;
0 21 2 port I
0 21 3 sock Ljnr/constants/platform/Sock;
0 21 4 reverse Ljava/lang/Boolean;
1 21 5 sock_stream Z
2 21 6 sock_dgram Z
MethodParameters:
Name Flags
address
port
sock
reverse
}
SourceFile: "SocketUtils.java"
EnclosingMethod: org.jruby.ext.socket.SocketUtils.getaddrinfoList:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/util/List;
NestHost: org.jruby.ext.socket.SocketUtils
InnerClasses:
org.jruby.ext.socket.SocketUtils$2
abstract AddrinfoCallback = org.jruby.ext.socket.SocketUtils$AddrinfoCallback of org.jruby.ext.socket.SocketUtils