public class org.jruby.ext.socket.Addrinfo extends org.jruby.RubyObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ext.socket.Addrinfo
super_class: org.jruby.RubyObject
{
final short ARPHRD_ETHER;
descriptor: S
flags: (0x0010) ACC_FINAL
ConstantValue: 1
final short ARPHRD_LOOPBACK;
descriptor: S
flags: (0x0010) ACC_FINAL
ConstantValue: 772
final short AF_PACKET;
descriptor: S
flags: (0x0010) ACC_FINAL
ConstantValue: 17
final byte PACKET_HOST;
descriptor: B
flags: (0x0010) ACC_FINAL
ConstantValue: 0
public static final int AI_PASSIVE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int AI_CANONNAME;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int AI_NUMERICHOST;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int AI_NUMERICSERV;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
public static final int AI_MASK;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 15
public static final int AI_ALL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 256
public static final int AI_V4MAPPED_CFG;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 512
public static final int AI_ADDRCONFIG;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
public static final int AI_V4MAPPED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2048
public static final int AI_DEFAULT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1536
private java.net.SocketAddress socketAddress;
descriptor: Ljava/net/SocketAddress;
flags: (0x0002) ACC_PRIVATE
private jnr.constants.platform.ProtocolFamily pfamily;
descriptor: Ljnr/constants/platform/ProtocolFamily;
flags: (0x0002) ACC_PRIVATE
private jnr.constants.platform.Sock sock;
descriptor: Ljnr/constants/platform/Sock;
flags: (0x0002) ACC_PRIVATE
private org.jruby.ext.socket.SocketType socketType;
descriptor: Lorg/jruby/ext/socket/SocketType;
flags: (0x0002) ACC_PRIVATE
private java.lang.String interfaceName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean interfaceLink;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.net.NetworkInterface networkInterface;
descriptor: Ljava/net/NetworkInterface;
flags: (0x0002) ACC_PRIVATE
private boolean isBroadcast;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private jnr.netdb.Protocol protocol;
descriptor: Ljnr/netdb/Protocol;
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$jnr$constants$platform$AddressFamily;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public static void createAddrinfo(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
1: ldc "Addrinfo"
2: aload 0
invokevirtual org.jruby.Ruby.getData:()Lorg/jruby/RubyClass;
3: new org.jruby.ext.socket.Addrinfo$1
dup
invokespecial org.jruby.ext.socket.Addrinfo$1.<init>:()V
4: invokevirtual org.jruby.Ruby.defineClass:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 1
start local 1 5: aload 1
ldc Lorg/jruby/ext/socket/Addrinfo;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 runtime Lorg/jruby/Ruby;
5 7 1 addrinfo Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
public void <init>(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
iconst_1
putfield org.jruby.ext.socket.Addrinfo.ARPHRD_ETHER:S
2: aload 0
sipush 772
putfield org.jruby.ext.socket.Addrinfo.ARPHRD_LOOPBACK:S
3: aload 0
bipush 17
putfield org.jruby.ext.socket.Addrinfo.AF_PACKET:S
4: aload 0
iconst_0
putfield org.jruby.ext.socket.Addrinfo.PACKET_HOST:B
5: aload 0
getstatic jnr.constants.platform.ProtocolFamily.PF_UNSPEC:Ljnr/constants/platform/ProtocolFamily;
putfield org.jruby.ext.socket.Addrinfo.pfamily:Ljnr/constants/platform/ProtocolFamily;
6: aload 0
iconst_0
invokestatic jnr.netdb.Protocol.getProtocolByNumber:(I)Ljnr/netdb/Protocol;
putfield org.jruby.ext.socket.Addrinfo.protocol:Ljnr/netdb/Protocol;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/ext/socket/Addrinfo;
0 8 1 runtime Lorg/jruby/Ruby;
0 8 2 cls Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
cls
public void <init>(org.jruby.Ruby, org.jruby.RubyClass, java.net.NetworkInterface, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/net/NetworkInterface;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
iconst_1
putfield org.jruby.ext.socket.Addrinfo.ARPHRD_ETHER:S
2: aload 0
sipush 772
putfield org.jruby.ext.socket.Addrinfo.ARPHRD_LOOPBACK:S
3: aload 0
bipush 17
putfield org.jruby.ext.socket.Addrinfo.AF_PACKET:S
4: aload 0
iconst_0
putfield org.jruby.ext.socket.Addrinfo.PACKET_HOST:B
5: aload 0
getstatic jnr.constants.platform.ProtocolFamily.PF_UNSPEC:Ljnr/constants/platform/ProtocolFamily;
putfield org.jruby.ext.socket.Addrinfo.pfamily:Ljnr/constants/platform/ProtocolFamily;
6: aload 0
iconst_0
invokestatic jnr.netdb.Protocol.getProtocolByNumber:(I)Ljnr/netdb/Protocol;
putfield org.jruby.ext.socket.Addrinfo.protocol:Ljnr/netdb/Protocol;
7: aload 0
aload 3
putfield org.jruby.ext.socket.Addrinfo.networkInterface:Ljava/net/NetworkInterface;
8: aload 0
iconst_1
putfield org.jruby.ext.socket.Addrinfo.interfaceLink:Z
9: aload 0
iload 4
putfield org.jruby.ext.socket.Addrinfo.isBroadcast:Z
10: aload 0
aload 3
invokevirtual java.net.NetworkInterface.getName:()Ljava/lang/String;
putfield org.jruby.ext.socket.Addrinfo.interfaceName:Ljava/lang/String;
11: aload 0
getstatic org.jruby.ext.socket.SocketType.SOCKET:Lorg/jruby/ext/socket/SocketType;
putfield org.jruby.ext.socket.Addrinfo.socketType:Lorg/jruby/ext/socket/SocketType;
12: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jruby/ext/socket/Addrinfo;
0 13 1 runtime Lorg/jruby/Ruby;
0 13 2 cls Lorg/jruby/RubyClass;
0 13 3 networkInterface Ljava/net/NetworkInterface;
0 13 4 isBroadcast Z
MethodParameters:
Name Flags
runtime
cls
networkInterface
isBroadcast
public void <init>(org.jruby.Ruby, org.jruby.RubyClass, java.net.InetAddress);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/net/InetAddress;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
iconst_1
putfield org.jruby.ext.socket.Addrinfo.ARPHRD_ETHER:S
2: aload 0
sipush 772
putfield org.jruby.ext.socket.Addrinfo.ARPHRD_LOOPBACK:S
3: aload 0
bipush 17
putfield org.jruby.ext.socket.Addrinfo.AF_PACKET:S
4: aload 0
iconst_0
putfield org.jruby.ext.socket.Addrinfo.PACKET_HOST:B
5: aload 0
getstatic jnr.constants.platform.ProtocolFamily.PF_UNSPEC:Ljnr/constants/platform/ProtocolFamily;
putfield org.jruby.ext.socket.Addrinfo.pfamily:Ljnr/constants/platform/ProtocolFamily;
6: aload 0
iconst_0
invokestatic jnr.netdb.Protocol.getProtocolByNumber:(I)Ljnr/netdb/Protocol;
putfield org.jruby.ext.socket.Addrinfo.protocol:Ljnr/netdb/Protocol;
7: aload 0
new java.net.InetSocketAddress
dup
aload 3
iconst_0
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
putfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
8: aload 0
getstatic org.jruby.ext.socket.SocketType.SOCKET:Lorg/jruby/ext/socket/SocketType;
putfield org.jruby.ext.socket.Addrinfo.socketType:Lorg/jruby/ext/socket/SocketType;
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/ext/socket/Addrinfo;
0 10 1 runtime Lorg/jruby/Ruby;
0 10 2 cls Lorg/jruby/RubyClass;
0 10 3 inetAddress Ljava/net/InetAddress;
MethodParameters:
Name Flags
runtime
cls
inetAddress
public void <init>(org.jruby.Ruby, org.jruby.RubyClass, java.net.InetAddress, int, jnr.constants.platform.Sock);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/net/InetAddress;ILjnr/constants/platform/Sock;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
iconst_1
putfield org.jruby.ext.socket.Addrinfo.ARPHRD_ETHER:S
2: aload 0
sipush 772
putfield org.jruby.ext.socket.Addrinfo.ARPHRD_LOOPBACK:S
3: aload 0
bipush 17
putfield org.jruby.ext.socket.Addrinfo.AF_PACKET:S
4: aload 0
iconst_0
putfield org.jruby.ext.socket.Addrinfo.PACKET_HOST:B
5: aload 0
getstatic jnr.constants.platform.ProtocolFamily.PF_UNSPEC:Ljnr/constants/platform/ProtocolFamily;
putfield org.jruby.ext.socket.Addrinfo.pfamily:Ljnr/constants/platform/ProtocolFamily;
6: aload 0
iconst_0
invokestatic jnr.netdb.Protocol.getProtocolByNumber:(I)Ljnr/netdb/Protocol;
putfield org.jruby.ext.socket.Addrinfo.protocol:Ljnr/netdb/Protocol;
7: aload 0
new java.net.InetSocketAddress
dup
aload 3
iload 4
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
putfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
8: aload 0
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.intValue:()I
i2l
invokestatic jnr.constants.platform.ProtocolFamily.valueOf:(J)Ljnr/constants/platform/ProtocolFamily;
putfield org.jruby.ext.socket.Addrinfo.pfamily:Ljnr/constants/platform/ProtocolFamily;
9: aload 0
getstatic org.jruby.ext.socket.SocketType.SOCKET:Lorg/jruby/ext/socket/SocketType;
putfield org.jruby.ext.socket.Addrinfo.socketType:Lorg/jruby/ext/socket/SocketType;
10: aload 0
aload 5
invokevirtual org.jruby.ext.socket.Addrinfo.setSockAndProtocol:(Ljnr/constants/platform/Sock;)V
11: return
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 12 0 this Lorg/jruby/ext/socket/Addrinfo;
0 12 1 runtime Lorg/jruby/Ruby;
0 12 2 cls Lorg/jruby/RubyClass;
0 12 3 inetAddress Ljava/net/InetAddress;
0 12 4 port I
0 12 5 sock Ljnr/constants/platform/Sock;
MethodParameters:
Name Flags
runtime
cls
inetAddress
port
sock
public void <init>(org.jruby.Ruby, org.jruby.RubyClass, java.net.SocketAddress, jnr.constants.platform.Sock, org.jruby.ext.socket.SocketType);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/net/SocketAddress;Ljnr/constants/platform/Sock;Lorg/jruby/ext/socket/SocketType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
iconst_1
putfield org.jruby.ext.socket.Addrinfo.ARPHRD_ETHER:S
2: aload 0
sipush 772
putfield org.jruby.ext.socket.Addrinfo.ARPHRD_LOOPBACK:S
3: aload 0
bipush 17
putfield org.jruby.ext.socket.Addrinfo.AF_PACKET:S
4: aload 0
iconst_0
putfield org.jruby.ext.socket.Addrinfo.PACKET_HOST:B
5: aload 0
getstatic jnr.constants.platform.ProtocolFamily.PF_UNSPEC:Ljnr/constants/platform/ProtocolFamily;
putfield org.jruby.ext.socket.Addrinfo.pfamily:Ljnr/constants/platform/ProtocolFamily;
6: aload 0
iconst_0
invokestatic jnr.netdb.Protocol.getProtocolByNumber:(I)Ljnr/netdb/Protocol;
putfield org.jruby.ext.socket.Addrinfo.protocol:Ljnr/netdb/Protocol;
7: aload 0
aload 3
putfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
8: aload 0
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.intValue:()I
i2l
invokestatic jnr.constants.platform.ProtocolFamily.valueOf:(J)Ljnr/constants/platform/ProtocolFamily;
putfield org.jruby.ext.socket.Addrinfo.pfamily:Ljnr/constants/platform/ProtocolFamily;
9: aload 0
aload 5
putfield org.jruby.ext.socket.Addrinfo.socketType:Lorg/jruby/ext/socket/SocketType;
10: aload 0
aload 4
invokevirtual org.jruby.ext.socket.Addrinfo.setSockAndProtocol:(Ljnr/constants/platform/Sock;)V
11: return
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 12 0 this Lorg/jruby/ext/socket/Addrinfo;
0 12 1 runtime Lorg/jruby/Ruby;
0 12 2 cls Lorg/jruby/RubyClass;
0 12 3 socketAddress Ljava/net/SocketAddress;
0 12 4 sock Ljnr/constants/platform/Sock;
0 12 5 socketType Lorg/jruby/ext/socket/SocketType;
MethodParameters:
Name Flags
runtime
cls
socketAddress
sock
socketType
public void <init>(org.jruby.Ruby, org.jruby.RubyClass, java.net.InetAddress, int);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/net/InetAddress;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
iconst_1
putfield org.jruby.ext.socket.Addrinfo.ARPHRD_ETHER:S
2: aload 0
sipush 772
putfield org.jruby.ext.socket.Addrinfo.ARPHRD_LOOPBACK:S
3: aload 0
bipush 17
putfield org.jruby.ext.socket.Addrinfo.AF_PACKET:S
4: aload 0
iconst_0
putfield org.jruby.ext.socket.Addrinfo.PACKET_HOST:B
5: aload 0
getstatic jnr.constants.platform.ProtocolFamily.PF_UNSPEC:Ljnr/constants/platform/ProtocolFamily;
putfield org.jruby.ext.socket.Addrinfo.pfamily:Ljnr/constants/platform/ProtocolFamily;
6: aload 0
iconst_0
invokestatic jnr.netdb.Protocol.getProtocolByNumber:(I)Ljnr/netdb/Protocol;
putfield org.jruby.ext.socket.Addrinfo.protocol:Ljnr/netdb/Protocol;
7: aload 0
new java.net.InetSocketAddress
dup
aload 3
iload 4
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
putfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
8: aload 0
getstatic jnr.constants.platform.Sock.SOCK_STREAM:Ljnr/constants/platform/Sock;
invokevirtual org.jruby.ext.socket.Addrinfo.setSockAndProtocol:(Ljnr/constants/platform/Sock;)V
9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/ext/socket/Addrinfo;
0 10 1 runtime Lorg/jruby/Ruby;
0 10 2 cls Lorg/jruby/RubyClass;
0 10 3 inetAddress Ljava/net/InetAddress;
0 10 4 port I
MethodParameters:
Name Flags
runtime
cls
inetAddress
port
public void <init>(org.jruby.Ruby, org.jruby.RubyClass, java.net.SocketAddress);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/net/SocketAddress;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
iconst_1
putfield org.jruby.ext.socket.Addrinfo.ARPHRD_ETHER:S
2: aload 0
sipush 772
putfield org.jruby.ext.socket.Addrinfo.ARPHRD_LOOPBACK:S
3: aload 0
bipush 17
putfield org.jruby.ext.socket.Addrinfo.AF_PACKET:S
4: aload 0
iconst_0
putfield org.jruby.ext.socket.Addrinfo.PACKET_HOST:B
5: aload 0
getstatic jnr.constants.platform.ProtocolFamily.PF_UNSPEC:Ljnr/constants/platform/ProtocolFamily;
putfield org.jruby.ext.socket.Addrinfo.pfamily:Ljnr/constants/platform/ProtocolFamily;
6: aload 0
iconst_0
invokestatic jnr.netdb.Protocol.getProtocolByNumber:(I)Ljnr/netdb/Protocol;
putfield org.jruby.ext.socket.Addrinfo.protocol:Ljnr/netdb/Protocol;
7: aload 0
aload 3
putfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
8: aload 0
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.intValue:()I
i2l
invokestatic jnr.constants.platform.ProtocolFamily.valueOf:(J)Ljnr/constants/platform/ProtocolFamily;
putfield org.jruby.ext.socket.Addrinfo.pfamily:Ljnr/constants/platform/ProtocolFamily;
9: aload 0
getstatic jnr.constants.platform.Sock.SOCK_STREAM:Ljnr/constants/platform/Sock;
invokevirtual org.jruby.ext.socket.Addrinfo.setSockAndProtocol:(Ljnr/constants/platform/Sock;)V
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/ext/socket/Addrinfo;
0 11 1 runtime Lorg/jruby/Ruby;
0 11 2 cls Lorg/jruby/RubyClass;
0 11 3 socketAddress Ljava/net/SocketAddress;
MethodParameters:
Name Flags
runtime
cls
socketAddress
public int getPort();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
instanceof java.net.InetSocketAddress
ifeq 1
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInetSocketAddress:()Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getPort:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_m1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/Addrinfo;
public org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
aconst_null
aconst_null
invokevirtual org.jruby.ext.socket.Addrinfo.initializeCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
1: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/socket/Addrinfo;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 _sockaddr Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
_sockaddr
public org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aconst_null
aconst_null
invokevirtual org.jruby.ext.socket.Addrinfo.initializeCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
1: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/socket/Addrinfo;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 _sockaddr Lorg/jruby/runtime/builtin/IRubyObject;
0 2 3 _family Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
_sockaddr
_family
public org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
aconst_null
invokevirtual org.jruby.ext.socket.Addrinfo.initializeCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
1: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/socket/Addrinfo;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 _sockaddr Lorg/jruby/runtime/builtin/IRubyObject;
0 2 3 _family Lorg/jruby/runtime/builtin/IRubyObject;
0 2 4 _socktype Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
_sockaddr
_family
_socktype
public org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
tableswitch { // 1 - 3
1: 1
2: 2
3: 3
default: 4
}
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iconst_0
aaload
invokevirtual org.jruby.ext.socket.Addrinfo.initialize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iconst_0
aaload
aload 2
iconst_1
aaload
invokevirtual org.jruby.ext.socket.Addrinfo.initialize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iconst_0
aaload
aload 2
iconst_1
aaload
aload 2
iconst_2
aaload
invokevirtual org.jruby.ext.socket.Addrinfo.initialize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 2
iconst_0
aaload
astore 3
start local 3 5: aload 2
iconst_1
aaload
astore 4
start local 4 6: aload 2
iconst_2
aaload
astore 5
start local 5 7: aload 2
iconst_3
aaload
astore 6
start local 6 8: aload 0
aload 1
aload 3
aload 4
aload 5
aload 6
invokevirtual org.jruby.ext.socket.Addrinfo.initializeCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
9: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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 10 0 this Lorg/jruby/ext/socket/Addrinfo;
0 10 1 context Lorg/jruby/runtime/ThreadContext;
0 10 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
5 10 3 _sockaddr Lorg/jruby/runtime/builtin/IRubyObject;
6 10 4 _family Lorg/jruby/runtime/builtin/IRubyObject;
7 10 5 _socktype Lorg/jruby/runtime/builtin/IRubyObject;
8 10 6 _protocol Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1, optional = 4, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
args
private void initializeCommon(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=16, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 6
start local 6 1: aload 1
aload 2
invokestatic org.jruby.util.TypeConverter.checkArrayType:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 7
start local 7 2: aload 7
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpeq 27
3: aload 7
checkcast org.jruby.RubyArray
astore 8
start local 8 4: aload 8
lconst_0
invokevirtual org.jruby.RubyArray.eltOk:(J)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
astore 3
5: aload 3
invokestatic org.jruby.ext.socket.SocketUtils.addressFamilyFromArg:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljnr/constants/platform/AddressFamily;
astore 9
start local 9 6: aload 9
ifnull 7
aconst_null
goto 8
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject org.jruby.RubyArray jnr.constants.platform.AddressFamily
StackMap stack:
7: aload 3
invokestatic org.jruby.ext.socket.SocketUtils.protocolFamilyFromArg:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljnr/constants/platform/ProtocolFamily;
StackMap locals:
StackMap stack: jnr.constants.platform.ProtocolFamily
8: astore 10
start local 10 9: aload 9
getstatic jnr.constants.platform.AddressFamily.AF_UNIX:Ljnr/constants/platform/AddressFamily;
if_acmpeq 10
aload 10
getstatic jnr.constants.platform.ProtocolFamily.PF_UNIX:Ljnr/constants/platform/ProtocolFamily;
if_acmpne 15
10: StackMap locals: jnr.constants.platform.ProtocolFamily
StackMap stack:
aload 8
lconst_1
invokevirtual org.jruby.RubyArray.eltOk:(J)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
astore 11
start local 11 11: aload 0
new jnr.unixsocket.UnixSocketAddress
dup
new java.io.File
dup
aload 11
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokespecial jnr.unixsocket.UnixSocketAddress.<init>:(Ljava/io/File;)V
putfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
12: aload 0
getstatic org.jruby.ext.socket.SocketType.UNIX:Lorg/jruby/ext/socket/SocketType;
putfield org.jruby.ext.socket.Addrinfo.socketType:Lorg/jruby/ext/socket/SocketType;
13: aload 0
getstatic jnr.constants.platform.Sock.SOCK_STREAM:Ljnr/constants/platform/Sock;
putfield org.jruby.ext.socket.Addrinfo.sock:Ljnr/constants/platform/Sock;
14: return
end local 11 15: StackMap locals:
StackMap stack:
aload 9
getstatic jnr.constants.platform.AddressFamily.AF_INET:Ljnr/constants/platform/AddressFamily;
if_acmpeq 17
aload 10
getstatic jnr.constants.platform.ProtocolFamily.PF_INET:Ljnr/constants/platform/ProtocolFamily;
if_acmpeq 17
16: aload 9
getstatic jnr.constants.platform.AddressFamily.AF_INET6:Ljnr/constants/platform/AddressFamily;
if_acmpeq 17
aload 10
getstatic jnr.constants.platform.ProtocolFamily.PF_INET6:Ljnr/constants/platform/ProtocolFamily;
if_acmpne 26
17: StackMap locals:
StackMap stack:
aload 8
lconst_1
invokevirtual org.jruby.RubyArray.eltOk:(J)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToInteger:()Lorg/jruby/RubyInteger;
astore 11
start local 11 18: aload 8
ldc 2
invokevirtual org.jruby.RubyArray.eltOk:(J)Lorg/jruby/runtime/builtin/IRubyObject;
astore 12
start local 12 19: aload 8
ldc 3
invokevirtual org.jruby.RubyArray.eltOk:(J)Lorg/jruby/runtime/builtin/IRubyObject;
astore 13
start local 13 20: aconst_null
astore 14
start local 14 21: aload 11
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToInteger:()Lorg/jruby/RubyInteger;
invokevirtual org.jruby.RubyInteger.getIntValue:()I
istore 15
start local 15 22: aload 12
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 23
aload 12
invokestatic org.jruby.ext.socket.Addrinfo.getRubyInetAddress:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/net/InetAddress;
astore 14
23: StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject org.jruby.RubyArray jnr.constants.platform.AddressFamily jnr.constants.platform.ProtocolFamily org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject java.net.InetAddress int
StackMap stack:
aload 14
ifnonnull 24
aload 13
invokestatic org.jruby.ext.socket.Addrinfo.getRubyInetAddress:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/net/InetAddress;
astore 14
24: StackMap locals:
StackMap stack:
aload 0
new java.net.InetSocketAddress
dup
aload 14
iload 15
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
putfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
end local 15 end local 14 end local 13 end local 12 end local 11 25: goto 39
26: StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject org.jruby.RubyArray jnr.constants.platform.AddressFamily jnr.constants.platform.ProtocolFamily
StackMap stack:
aload 6
aload 6
ldc "SocketError"
invokevirtual org.jruby.Ruby.getClass:(Ljava/lang/String;)Lorg/jruby/RubyClass;
new java.lang.StringBuilder
dup
ldc "unknown address family: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newRaiseException:(Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 10 end local 9 end local 8 27: StackMap locals:
StackMap stack:
aload 2
invokestatic org.jruby.ext.socket.Addrinfo.getRubyInetAddress:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/net/InetAddress;
astore 8
start local 8 28: aload 8
ifnonnull 30
29: aload 0
aload 6
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getBytes:()[B
invokestatic org.jruby.util.io.Sockaddr.sockaddrFromBytes:(Lorg/jruby/Ruby;[B)Ljava/net/SocketAddress;
putfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
30: StackMap locals: java.net.InetAddress
StackMap stack:
aload 5
ifnull 33
31: aload 5
invokestatic org.jruby.ext.socket.SocketUtils.portToInt:(Lorg/jruby/runtime/builtin/IRubyObject;)I
istore 9
start local 9 32: goto 34
end local 9 33: StackMap locals:
StackMap stack:
iconst_0
istore 9
start local 9 34: StackMap locals: int
StackMap stack:
aload 0
new java.net.InetSocketAddress
dup
aload 8
iload 9
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
putfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
35: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInetAddress:()Ljava/net/InetAddress;
instanceof java.net.Inet4Address
ifeq 38
36: aload 0
getstatic jnr.constants.platform.ProtocolFamily.PF_INET:Ljnr/constants/platform/ProtocolFamily;
putfield org.jruby.ext.socket.Addrinfo.pfamily:Ljnr/constants/platform/ProtocolFamily;
37: goto 39
38: StackMap locals:
StackMap stack:
aload 0
getstatic jnr.constants.platform.ProtocolFamily.PF_INET6:Ljnr/constants/platform/ProtocolFamily;
putfield org.jruby.ext.socket.Addrinfo.pfamily:Ljnr/constants/platform/ProtocolFamily;
end local 9 end local 8 39: StackMap locals:
StackMap stack:
aload 0
getstatic org.jruby.ext.socket.SocketType.SOCKET:Lorg/jruby/ext/socket/SocketType;
putfield org.jruby.ext.socket.Addrinfo.socketType:Lorg/jruby/ext/socket/SocketType;
40: aload 0
aload 4
invokevirtual org.jruby.ext.socket.Addrinfo.setSockAndProtocol:(Lorg/jruby/runtime/builtin/IRubyObject;)V
end local 7 41: goto 45
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby
StackMap stack: java.io.IOException
42: astore 7
start local 7 43: aload 7
invokevirtual java.io.IOException.printStackTrace:()V
44: aload 6
aload 7
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 7 45: 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 46 0 this Lorg/jruby/ext/socket/Addrinfo;
0 46 1 context Lorg/jruby/runtime/ThreadContext;
0 46 2 sockaddr Lorg/jruby/runtime/builtin/IRubyObject;
0 46 3 family Lorg/jruby/runtime/builtin/IRubyObject;
0 46 4 sock Lorg/jruby/runtime/builtin/IRubyObject;
0 46 5 port Lorg/jruby/runtime/builtin/IRubyObject;
1 46 6 runtime Lorg/jruby/Ruby;
2 41 7 _sockaddrAry Lorg/jruby/runtime/builtin/IRubyObject;
4 27 8 sockaddAry Lorg/jruby/RubyArray;
6 27 9 af Ljnr/constants/platform/AddressFamily;
9 27 10 pf Ljnr/constants/platform/ProtocolFamily;
11 15 11 path Lorg/jruby/runtime/builtin/IRubyObject;
18 25 11 service Lorg/jruby/runtime/builtin/IRubyObject;
19 25 12 nodename Lorg/jruby/runtime/builtin/IRubyObject;
20 25 13 numericnode Lorg/jruby/runtime/builtin/IRubyObject;
21 25 14 inetAddress Ljava/net/InetAddress;
22 25 15 _port I
28 39 8 inetAddress Ljava/net/InetAddress;
32 33 9 _port I
34 39 9 _port I
43 45 7 ioe Ljava/io/IOException;
Exception table:
from to target type
1 14 42 Class java.io.IOException
15 41 42 Class java.io.IOException
MethodParameters:
Name Flags
context
sockaddr
family
sock
port
private void setSockAndProtocol(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack: org.jruby.ext.socket.Addrinfo
1: aload 1
invokestatic org.jruby.ext.socket.SocketUtils.sockFromArg:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljnr/constants/platform/Sock;
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.builtin.IRubyObject
StackMap stack: org.jruby.ext.socket.Addrinfo jnr.constants.platform.Sock
2: invokevirtual org.jruby.ext.socket.Addrinfo.setSockAndProtocol:(Ljnr/constants/platform/Sock;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/socket/Addrinfo;
0 4 1 sock Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
sock
private void setSockAndProtocol(jnr.constants.platform.Sock);
descriptor: (Ljnr/constants/platform/Sock;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jruby.ext.socket.Addrinfo.sock:Ljnr/constants/platform/Sock;
1: aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
instanceof java.net.InetSocketAddress
ifeq 7
2: aload 0
getfield org.jruby.ext.socket.Addrinfo.sock:Ljnr/constants/platform/Sock;
getstatic jnr.constants.platform.Sock.SOCK_STREAM:Ljnr/constants/platform/Sock;
if_acmpne 5
3: aload 0
ldc "tcp"
invokestatic jnr.netdb.Protocol.getProtocolByName:(Ljava/lang/String;)Ljnr/netdb/Protocol;
putfield org.jruby.ext.socket.Addrinfo.protocol:Ljnr/netdb/Protocol;
4: goto 7
StackMap locals:
StackMap stack:
5: aload 0
getfield org.jruby.ext.socket.Addrinfo.sock:Ljnr/constants/platform/Sock;
getstatic jnr.constants.platform.Sock.SOCK_DGRAM:Ljnr/constants/platform/Sock;
if_acmpne 7
6: aload 0
ldc "udp"
invokestatic jnr.netdb.Protocol.getProtocolByName:(Ljava/lang/String;)Ljnr/netdb/Protocol;
putfield org.jruby.ext.socket.Addrinfo.protocol:Ljnr/netdb/Protocol;
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/ext/socket/Addrinfo;
0 8 1 sock Ljnr/constants/platform/Sock;
MethodParameters:
Name Flags
sock
public org.jruby.runtime.builtin.IRubyObject inspect(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: ldc "#<Addrinfo: %s>"
astore 2
start local 2 1: aload 0
getfield org.jruby.ext.socket.Addrinfo.interfaceLink:Z
ifeq 4
2: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.packet_inspect:()Ljava/lang/String;
astore 3
start local 3 3: goto 5
end local 3 4: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.ext.socket.Addrinfo.inspect_sockaddr:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 3
start local 3 5: StackMap locals: java.lang.String
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ext/socket/Addrinfo;
0 6 1 context Lorg/jruby/runtime/ThreadContext;
1 6 2 base Ljava/lang/String;
3 4 3 val Ljava/lang/String;
5 6 3 val Ljava/lang/String;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject inspect_sockaddr(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
instanceof jnr.unixsocket.UnixSocketAddress
ifeq 5
1: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getUnixSocketAddress:()Ljnr/unixsocket/UnixSocketAddress;
invokevirtual jnr.unixsocket.UnixSocketAddress.path:()Ljava/lang/String;
astore 2
start local 2 2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
aload 2
goto 4
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext java.lang.String
StackMap stack: org.jruby.Ruby
3: new java.lang.StringBuilder
dup
ldc "UNIX "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext java.lang.String
StackMap stack: org.jruby.Ruby java.lang.String
4: invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInetSocketAddress:()Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getPort:()I
istore 2
start local 2 6: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInetAddress:()Ljava/net/InetAddress;
instanceof java.net.Inet6Address
ifeq 12
7: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.ipv6_ip:()Ljava/lang/String;
astore 3
start local 3 8: iload 2
ifne 9
aload 3
goto 10
StackMap locals: int java.lang.String
StackMap stack:
9: new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
10: astore 4
start local 4 11: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 4
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 4 end local 3 12: StackMap locals:
StackMap stack:
iload 2
ifne 13
ldc ""
goto 14
StackMap locals:
StackMap stack:
13: new java.lang.StringBuilder
dup
ldc ":"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
14: astore 3
start local 3 15: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInetSocketAddress:()Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
astore 4
start local 4 16: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/jruby/ext/socket/Addrinfo;
0 17 1 context Lorg/jruby/runtime/ThreadContext;
2 5 2 path Ljava/lang/String;
6 17 2 port I
8 12 3 host Ljava/lang/String;
11 12 4 hostPort Ljava/lang/String;
15 17 3 portString Ljava/lang/String;
16 17 4 host Ljava/lang/String;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public static org.jruby.runtime.builtin.IRubyObject getaddrinfo(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 2
invokestatic org.jruby.ext.socket.SocketUtils.getaddrinfoList:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/util/List;
invokestatic org.jruby.RubyArray.newArray:(Lorg/jruby/Ruby;Ljava/util/List;)Lorg/jruby/RubyArray;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(rest = true, meta = true)
MethodParameters:
Name Flags
context
recv
args
public static org.jruby.runtime.builtin.IRubyObject ip(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.toString:()Ljava/lang/String;
astore 3
start local 3 1: aload 3
invokestatic java.net.InetAddress.getByName:(Ljava/lang/String;)Ljava/net/InetAddress;
astore 4
start local 4 2: new org.jruby.ext.socket.Addrinfo
dup
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
checkcast org.jruby.RubyClass
aload 4
invokespecial org.jruby.ext.socket.Addrinfo.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/net/InetAddress;)V
astore 5
start local 5 3: aload 5
ldc "ip"
invokestatic jnr.netdb.Protocol.getProtocolByName:(Ljava/lang/String;)Ljnr/netdb/Protocol;
putfield org.jruby.ext.socket.Addrinfo.protocol:Ljnr/netdb/Protocol;
4: aload 5
5: areturn
end local 5 end local 4 6: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject java.lang.String
StackMap stack: java.net.UnknownHostException
pop
7: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "host not found"
invokestatic org.jruby.ext.socket.SocketUtils.sockerr:(Lorg/jruby/Ruby;Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 context Lorg/jruby/runtime/ThreadContext;
0 8 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 8 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
1 8 3 host Ljava/lang/String;
2 6 4 addy Ljava/net/InetAddress;
3 6 5 addrinfo Lorg/jruby/ext/socket/Addrinfo;
Exception table:
from to target type
1 5 6 Class java.net.UnknownHostException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(meta = true)
MethodParameters:
Name Flags
context
recv
arg
public static org.jruby.runtime.builtin.IRubyObject tcp(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 1: new org.jruby.ext.socket.Addrinfo
dup
aload 4
aload 1
checkcast org.jruby.RubyClass
invokespecial org.jruby.ext.socket.Addrinfo.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
astore 5
start local 5 2: aload 5
aload 0
aload 2
aload 4
getstatic jnr.constants.platform.ProtocolFamily.PF_UNSPEC:Ljnr/constants/platform/ProtocolFamily;
invokevirtual jnr.constants.platform.ProtocolFamily.intValue:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
aload 4
getstatic jnr.constants.platform.Sock.SOCK_STREAM:Ljnr/constants/platform/Sock;
invokevirtual jnr.constants.platform.Sock.intValue:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
aload 3
invokevirtual org.jruby.ext.socket.Addrinfo.initializeCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
3: aload 5
areturn
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 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 4 2 host Lorg/jruby/runtime/builtin/IRubyObject;
0 4 3 port Lorg/jruby/runtime/builtin/IRubyObject;
1 4 4 runtime Lorg/jruby/Ruby;
2 4 5 addrinfo Lorg/jruby/ext/socket/Addrinfo;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(meta = true)
MethodParameters:
Name Flags
context
recv
host
port
public static org.jruby.runtime.builtin.IRubyObject udp(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 1: new org.jruby.ext.socket.Addrinfo
dup
aload 4
aload 1
checkcast org.jruby.RubyClass
invokespecial org.jruby.ext.socket.Addrinfo.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
astore 5
start local 5 2: aload 5
aload 0
aload 2
aload 4
getstatic jnr.constants.platform.ProtocolFamily.PF_UNSPEC:Ljnr/constants/platform/ProtocolFamily;
invokevirtual jnr.constants.platform.ProtocolFamily.intValue:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
aload 4
getstatic jnr.constants.platform.Sock.SOCK_DGRAM:Ljnr/constants/platform/Sock;
invokevirtual jnr.constants.platform.Sock.intValue:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
aload 3
invokevirtual org.jruby.ext.socket.Addrinfo.initializeCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
3: aload 5
areturn
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 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 4 2 host Lorg/jruby/runtime/builtin/IRubyObject;
0 4 3 port Lorg/jruby/runtime/builtin/IRubyObject;
1 4 4 runtime Lorg/jruby/Ruby;
2 4 5 addrinfo Lorg/jruby/ext/socket/Addrinfo;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(meta = true)
MethodParameters:
Name Flags
context
recv
host
port
public static org.jruby.runtime.builtin.IRubyObject unix(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.jruby.ext.socket.Addrinfo
dup
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
checkcast org.jruby.RubyClass
invokespecial org.jruby.ext.socket.Addrinfo.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
astore 3
start local 3 1: aload 3
new jnr.unixsocket.UnixSocketAddress
dup
new java.io.File
dup
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokespecial jnr.unixsocket.UnixSocketAddress.<init>:(Ljava/io/File;)V
putfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
2: aload 3
getstatic jnr.constants.platform.Sock.SOCK_STREAM:Ljnr/constants/platform/Sock;
putfield org.jruby.ext.socket.Addrinfo.sock:Ljnr/constants/platform/Sock;
3: aload 3
getstatic org.jruby.ext.socket.SocketType.UNIX:Lorg/jruby/ext/socket/SocketType;
putfield org.jruby.ext.socket.Addrinfo.socketType:Lorg/jruby/ext/socket/SocketType;
4: aload 3
getstatic jnr.constants.platform.ProtocolFamily.PF_UNIX:Ljnr/constants/platform/ProtocolFamily;
putfield org.jruby.ext.socket.Addrinfo.pfamily:Ljnr/constants/platform/ProtocolFamily;
5: aload 3
ldc "ip"
invokestatic jnr.netdb.Protocol.getProtocolByName:(Ljava/lang/String;)Ljnr/netdb/Protocol;
putfield org.jruby.ext.socket.Addrinfo.protocol:Ljnr/netdb/Protocol;
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lorg/jruby/runtime/ThreadContext;
0 7 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 7 2 path Lorg/jruby/runtime/builtin/IRubyObject;
1 7 3 addrinfo Lorg/jruby/ext/socket/Addrinfo;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(meta = true)
MethodParameters:
Name Flags
context
recv
path
public static org.jruby.runtime.builtin.IRubyObject unix(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.jruby.ext.socket.Addrinfo
dup
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
checkcast org.jruby.RubyClass
invokespecial org.jruby.ext.socket.Addrinfo.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
astore 4
start local 4 1: aload 4
new jnr.unixsocket.UnixSocketAddress
dup
new java.io.File
dup
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokespecial jnr.unixsocket.UnixSocketAddress.<init>:(Ljava/io/File;)V
putfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
2: aload 4
aload 3
invokestatic org.jruby.ext.socket.SocketUtils.sockFromArg:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljnr/constants/platform/Sock;
putfield org.jruby.ext.socket.Addrinfo.sock:Ljnr/constants/platform/Sock;
3: aload 4
getstatic org.jruby.ext.socket.SocketType.UNIX:Lorg/jruby/ext/socket/SocketType;
putfield org.jruby.ext.socket.Addrinfo.socketType:Lorg/jruby/ext/socket/SocketType;
4: aload 4
getstatic jnr.constants.platform.ProtocolFamily.PF_UNIX:Ljnr/constants/platform/ProtocolFamily;
putfield org.jruby.ext.socket.Addrinfo.pfamily:Ljnr/constants/platform/ProtocolFamily;
5: aload 4
ldc "ip"
invokestatic jnr.netdb.Protocol.getProtocolByName:(Ljava/lang/String;)Ljnr/netdb/Protocol;
putfield org.jruby.ext.socket.Addrinfo.protocol:Ljnr/netdb/Protocol;
6: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lorg/jruby/runtime/ThreadContext;
0 7 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 7 2 path Lorg/jruby/runtime/builtin/IRubyObject;
0 7 3 type Lorg/jruby/runtime/builtin/IRubyObject;
1 7 4 addrinfo Lorg/jruby/ext/socket/Addrinfo;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(meta = true)
MethodParameters:
Name Flags
context
recv
path
type
public org.jruby.runtime.builtin.IRubyObject afamily(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.intValue:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/Addrinfo;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject pfamily(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ext.socket.Addrinfo.pfamily:Ljnr/constants/platform/ProtocolFamily;
invokevirtual jnr.constants.platform.ProtocolFamily.intValue:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/Addrinfo;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject socktype(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.socket.Addrinfo.sock:Ljnr/constants/platform/Sock;
ifnonnull 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
iconst_0
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ext.socket.Addrinfo.sock:Ljnr/constants/platform/Sock;
invokevirtual jnr.constants.platform.Sock.intValue:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/Addrinfo;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject protocol(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ext.socket.Addrinfo.protocol:Ljnr/netdb/Protocol;
invokevirtual jnr.netdb.Protocol.getProto:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/Addrinfo;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject canonname(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
instanceof java.net.InetSocketAddress
ifeq 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInetSocketAddress:()Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getCanonicalHostName:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
instanceof jnr.unixsocket.UnixSocketAddress
ifeq 4
3: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getUnixSocketAddress:()Ljnr/unixsocket/UnixSocketAddress;
invokevirtual jnr.unixsocket.UnixSocketAddress.path:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
4: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "canonname not implemented for socket address: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newNotImplementedError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ext/socket/Addrinfo;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv4_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_INET:Ljnr/constants/platform/AddressFamily;
if_acmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack: org.jruby.Ruby
1: iconst_0
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext
StackMap stack: org.jruby.Ruby int
2: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/Addrinfo;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ipv4?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv6_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_INET6:Ljnr/constants/platform/AddressFamily;
if_acmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack: org.jruby.Ruby
1: iconst_0
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext
StackMap stack: org.jruby.Ruby int
2: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/Addrinfo;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ipv6?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject unix_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_UNIX:Ljnr/constants/platform/AddressFamily;
if_acmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack: org.jruby.Ruby
1: iconst_0
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext
StackMap stack: org.jruby.Ruby int
2: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/Addrinfo;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"unix?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ip_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_INET:Ljnr/constants/platform/AddressFamily;
if_acmpeq 1
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_INET6:Ljnr/constants/platform/AddressFamily;
if_acmpeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: org.jruby.Ruby
1: iconst_1
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext
StackMap stack: org.jruby.Ruby int
2: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/Addrinfo;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ip?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ip_unpack(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
iconst_2
invokestatic org.jruby.RubyArray.newArray:(Lorg/jruby/Ruby;I)Lorg/jruby/RubyArray;
astore 2
start local 2 1: aload 2
aload 0
aload 1
invokevirtual org.jruby.ext.socket.Addrinfo.ip_address:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
2: aload 2
aload 0
aload 1
invokevirtual org.jruby.ext.socket.Addrinfo.ip_port:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/socket/Addrinfo;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
1 4 2 ary Lorg/jruby/RubyArray;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ip_address(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_INET:Ljnr/constants/platform/AddressFamily;
if_acmpeq 2
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_INET6:Ljnr/constants/platform/AddressFamily;
if_acmpeq 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "need IPv4 or IPv6 address"
invokestatic org.jruby.ext.socket.SocketUtils.sockerr:(Lorg/jruby/Ruby;Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
astore 2
start local 2 3: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_INET6:Ljnr/constants/platform/AddressFamily;
if_acmpne 4
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.ipv6_ip:()Ljava/lang/String;
goto 5
StackMap locals: java.lang.String
StackMap stack:
4: aload 2
StackMap locals:
StackMap stack: java.lang.String
5: astore 3
start local 3 6: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 3
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ext/socket/Addrinfo;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
3 7 2 fullHost Ljava/lang/String;
6 7 3 host Ljava/lang/String;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ip_port(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_INET:Ljnr/constants/platform/AddressFamily;
if_acmpeq 2
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_INET6:Ljnr/constants/platform/AddressFamily;
if_acmpeq 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "need IPv4 or IPv6 address"
invokestatic org.jruby.ext.socket.SocketUtils.sockerr:(Lorg/jruby/Ruby;Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
2: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
invokevirtual java.net.InetSocketAddress.getPort:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/Addrinfo;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(notImplemented = true)
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv4_private_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_INET:Ljnr/constants/platform/AddressFamily;
if_acmpne 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInet4Address:()Ljava/net/Inet4Address;
invokevirtual java.net.Inet4Address.isSiteLocalAddress:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
iconst_0
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/Addrinfo;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ipv4_private?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv4_loopback_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_INET:Ljnr/constants/platform/AddressFamily;
if_acmpne 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.isLoopbackAddress:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
iconst_0
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/Addrinfo;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ipv4_loopback?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv4_multicast_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_INET:Ljnr/constants/platform/AddressFamily;
if_acmpne 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInet4Address:()Ljava/net/Inet4Address;
invokevirtual java.net.Inet4Address.isMulticastAddress:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/Addrinfo;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ipv4_multicast?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv6_unspecified_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_INET6:Ljnr/constants/platform/AddressFamily;
if_acmpne 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInet6Address:()Ljava/net/Inet6Address;
invokevirtual java.net.Inet6Address.getHostAddress:()Ljava/lang/String;
ldc "::"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/Addrinfo;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ipv6_unspecified?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv6_loopback_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_INET6:Ljnr/constants/platform/AddressFamily;
if_acmpne 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInetSocketAddress:()Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.isLoopbackAddress:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
iconst_0
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/Addrinfo;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ipv6_loopback?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv6_multicast_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_INET6:Ljnr/constants/platform/AddressFamily;
if_acmpne 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInet6Address:()Ljava/net/Inet6Address;
invokevirtual java.net.Inet6Address.isMulticastAddress:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/Addrinfo;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ipv6_multicast?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv6_linklocal_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInetSocketAddress:()Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.isLinkLocalAddress:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/Addrinfo;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ipv6_linklocal?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv6_sitelocal_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.isSiteLocalAddress:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/Addrinfo;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ipv6_sitelocal?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv6_v4mapped_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInet6Address:()Ljava/net/Inet6Address;
astore 2
start local 2 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
ifnull 3
2: aload 2
invokevirtual java.net.Inet6Address.getHostAddress:()Ljava/lang/String;
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpne 3
iconst_1
goto 4
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext java.net.Inet6Address
StackMap stack: org.jruby.Ruby
3: iconst_0
4: StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext java.net.Inet6Address
StackMap stack: org.jruby.Ruby int
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ext/socket/Addrinfo;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
1 5 2 in6 Ljava/net/Inet6Address;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ipv6_v4mapped?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv6_v4compat_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInet6Address:()Ljava/net/Inet6Address;
astore 2
start local 2 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
ifnull 2
aload 2
invokevirtual java.net.Inet6Address.isIPv4CompatibleAddress:()Z
ifeq 2
iconst_1
goto 3
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext java.net.Inet6Address
StackMap stack: org.jruby.Ruby
2: iconst_0
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext java.net.Inet6Address
StackMap stack: org.jruby.Ruby int
3: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/socket/Addrinfo;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
1 4 2 in6 Ljava/net/Inet6Address;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ipv6_v4compat?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv6_mc_nodelocal_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInet6Address:()Ljava/net/Inet6Address;
astore 2
start local 2 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
ifnull 2
aload 2
invokevirtual java.net.Inet6Address.isMCNodeLocal:()Z
ifeq 2
iconst_1
goto 3
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext java.net.Inet6Address
StackMap stack: org.jruby.Ruby
2: iconst_0
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext java.net.Inet6Address
StackMap stack: org.jruby.Ruby int
3: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/socket/Addrinfo;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
1 4 2 in6 Ljava/net/Inet6Address;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ipv6_mc_nodelocal?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv6_mc_linklocal_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInet6Address:()Ljava/net/Inet6Address;
astore 2
start local 2 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
ifnull 2
aload 2
invokevirtual java.net.Inet6Address.isMCLinkLocal:()Z
ifeq 2
iconst_1
goto 3
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext java.net.Inet6Address
StackMap stack: org.jruby.Ruby
2: iconst_0
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext java.net.Inet6Address
StackMap stack: org.jruby.Ruby int
3: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/socket/Addrinfo;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
1 4 2 in6 Ljava/net/Inet6Address;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ipv6_mc_linklocal?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv6_mc_sitelocal_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInet6Address:()Ljava/net/Inet6Address;
astore 2
start local 2 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
ifnull 2
aload 2
invokevirtual java.net.Inet6Address.isMCSiteLocal:()Z
ifeq 2
iconst_1
goto 3
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext java.net.Inet6Address
StackMap stack: org.jruby.Ruby
2: iconst_0
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext java.net.Inet6Address
StackMap stack: org.jruby.Ruby int
3: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/socket/Addrinfo;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
1 4 2 in6 Ljava/net/Inet6Address;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ipv6_mc_sitelocal?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv6_mc_orglocal_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInet6Address:()Ljava/net/Inet6Address;
astore 2
start local 2 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
ifnull 2
aload 2
invokevirtual java.net.Inet6Address.isMCOrgLocal:()Z
ifeq 2
iconst_1
goto 3
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext java.net.Inet6Address
StackMap stack: org.jruby.Ruby
2: iconst_0
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext java.net.Inet6Address
StackMap stack: org.jruby.Ruby int
3: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/socket/Addrinfo;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
1 4 2 in6 Ljava/net/Inet6Address;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ipv6_mc_orglocal?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv6_mc_global_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInet6Address:()Ljava/net/Inet6Address;
astore 2
start local 2 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
ifnull 2
aload 2
invokevirtual java.net.Inet6Address.isMCGlobal:()Z
ifeq 2
iconst_1
goto 3
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext java.net.Inet6Address
StackMap stack: org.jruby.Ruby
2: iconst_0
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext java.net.Inet6Address
StackMap stack: org.jruby.Ruby int
3: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/socket/Addrinfo;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
1 4 2 in6 Ljava/net/Inet6Address;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ipv6_mc_global?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject ipv6_to_ipv4(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/Addrinfo;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(notImplemented = true)
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject unix_path(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_UNIX:Ljnr/constants/platform/AddressFamily;
if_acmpeq 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "need AF_UNIX address"
invokestatic org.jruby.ext.socket.SocketUtils.sockerr:(Lorg/jruby/Ruby;Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
2: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getUnixSocketAddress:()Ljnr/unixsocket/UnixSocketAddress;
invokevirtual jnr.unixsocket.UnixSocketAddress.path:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/Addrinfo;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject to_sockaddr(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: invokestatic org.jruby.ext.socket.Addrinfo.$SWITCH_TABLE$jnr$constants$platform$AddressFamily:()[I
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
iaload
lookupswitch { // 4
1: 5
3: 4
4: 1
33: 1
default: 19
}
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
astore 2
start local 2 2: aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
invokevirtual java.net.InetSocketAddress.getPort:()I
istore 3
start local 3 3: aload 1
iload 3
aload 2
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
invokestatic org.jruby.util.io.Sockaddr.pack_sockaddr_in:(Lorg/jruby/runtime/ThreadContext;ILjava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 4: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getUnixSocketAddress:()Ljnr/unixsocket/UnixSocketAddress;
invokevirtual jnr.unixsocket.UnixSocketAddress.path:()Ljava/lang/String;
invokestatic org.jruby.util.io.Sockaddr.pack_sockaddr_un:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
5: StackMap locals:
StackMap stack:
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 4
start local 4 6: new java.io.DataOutputStream
dup
aload 4
invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 5
start local 5 7: aload 5
aload 0
bipush 17
invokevirtual org.jruby.ext.socket.Addrinfo.swapShortEndian:(S)I
invokevirtual java.io.DataOutputStream.writeShort:(I)V
8: aload 5
iconst_0
invokevirtual java.io.DataOutputStream.writeShort:(I)V
9: aload 5
aload 0
aload 0
getfield org.jruby.ext.socket.Addrinfo.networkInterface:Ljava/net/NetworkInterface;
invokevirtual java.net.NetworkInterface.getIndex:()I
invokevirtual org.jruby.ext.socket.Addrinfo.swapIntEndian:(I)I
invokevirtual java.io.DataOutputStream.writeInt:(I)V
10: aload 5
aload 0
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.hatype:()S
invokevirtual org.jruby.ext.socket.Addrinfo.swapShortEndian:(S)I
invokevirtual java.io.DataOutputStream.writeShort:(I)V
11: aload 5
iconst_0
invokevirtual java.io.DataOutputStream.writeByte:(I)V
12: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.hwaddr:()[B
astore 6
start local 6 13: aload 5
aload 6
arraylength
invokevirtual java.io.DataOutputStream.writeByte:(I)V
14: aload 5
aload 6
invokevirtual java.io.DataOutputStream.write:([B)V
end local 6 15: goto 18
StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext top top java.io.ByteArrayOutputStream java.io.DataOutputStream
StackMap stack: java.io.IOException
16: astore 6
start local 6 17: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "to_sockaddr: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.jruby.ext.socket.SocketUtils.sockerr:(Lorg/jruby/Ruby;Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
end local 6 18: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new org.jruby.util.ByteList
dup
aload 4
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
iconst_0
invokespecial org.jruby.util.ByteList.<init>:([BZ)V
invokevirtual org.jruby.Ruby.newString:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
areturn
end local 5 end local 4 19: StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext
StackMap stack:
aload 1
20: getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/jruby/ext/socket/Addrinfo;
0 21 1 context Lorg/jruby/runtime/ThreadContext;
2 4 2 inetAddress Ljava/net/InetAddress;
3 4 3 port I
6 19 4 bufS Ljava/io/ByteArrayOutputStream;
7 19 5 ds Ljava/io/DataOutputStream;
13 15 6 hw [B
17 18 6 e Ljava/io/IOException;
Exception table:
from to target type
7 15 16 Class java.io.IOException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_sockaddr", "to_s"})
MethodParameters:
Name Flags
context
private short hatype();
descriptor: ()S
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: aload 0
getfield org.jruby.ext.socket.Addrinfo.networkInterface:Ljava/net/NetworkInterface;
invokevirtual java.net.NetworkInterface.isLoopback:()Z
ifeq 3
2: sipush 772
istore 1
3: StackMap locals: int
StackMap stack:
iload 1
4: ireturn
end local 1 5: StackMap locals: org.jruby.ext.socket.Addrinfo
StackMap stack: java.io.IOException
pop
6: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ext/socket/Addrinfo;
1 5 1 ht S
Exception table:
from to target type
0 4 5 Class java.io.IOException
private byte[] hwaddr();
descriptor: ()[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: bipush 6
newarray 8
astore 1
start local 1 1: aload 0
getfield org.jruby.ext.socket.Addrinfo.networkInterface:Ljava/net/NetworkInterface;
invokevirtual java.net.NetworkInterface.isLoopback:()Z
ifne 5
2: aload 0
getfield org.jruby.ext.socket.Addrinfo.networkInterface:Ljava/net/NetworkInterface;
invokevirtual java.net.NetworkInterface.getHardwareAddress:()[B
astore 1
3: aload 1
ifnonnull 5
4: bipush 16
newarray 8
astore 1
5: StackMap locals: byte[]
StackMap stack:
aload 0
getfield org.jruby.ext.socket.Addrinfo.isBroadcast:Z
ifeq 7
6: bipush 6
newarray 8
dup
iconst_0
iconst_m1
bastore
dup
iconst_1
iconst_m1
bastore
dup
iconst_2
iconst_m1
bastore
dup
iconst_3
iconst_m1
bastore
dup
iconst_4
iconst_m1
bastore
dup
iconst_5
iconst_m1
bastore
astore 1
7: StackMap locals:
StackMap stack:
aload 1
8: areturn
end local 1 9: StackMap locals: org.jruby.ext.socket.Addrinfo
StackMap stack: java.io.IOException
pop
10: getstatic org.jruby.util.ByteList.NULL_ARRAY:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/ext/socket/Addrinfo;
1 9 1 hw [B
Exception table:
from to target type
0 8 9 Class java.io.IOException
public java.lang.String packet_inspect();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: ldc ""
astore 2
start local 2 2: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.hwaddr:()[B
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: org.jruby.ext.socket.Addrinfo java.lang.StringBuffer java.lang.String top int int byte[]
StackMap stack:
3: aload 6
iload 4
baload
istore 3
start local 3 4: aload 1
aload 2
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
5: ldc ":"
astore 2
6: aload 1
ldc "%02x"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 3
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 3 7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 3
9: new java.lang.StringBuilder
dup
ldc "PACKET[protocol=0 "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ext.socket.Addrinfo.interfaceName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " hatype="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.hatype:()S
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " HOST hwaddr="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
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;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/ext/socket/Addrinfo;
1 10 1 hwaddr_sb Ljava/lang/StringBuffer;
2 10 2 sep Ljava/lang/String;
4 7 3 b B
private int swapIntEndian(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
sipush 255
iand
bipush 24
ishl
iload 1
ldc 65280
iand
bipush 8
ishl
iadd
iload 1
ldc 16711680
iand
bipush 8
ishr
iadd
iload 1
bipush 24
ishr
sipush 255
iand
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/Addrinfo;
0 1 1 i I
MethodParameters:
Name Flags
i
private int swapShortEndian(short);
descriptor: (S)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
sipush 255
iand
bipush 8
ishl
iload 1
ldc 65280
iand
bipush 8
ishr
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/Addrinfo;
0 1 1 i S
MethodParameters:
Name Flags
i
private java.lang.String ipv6_ip();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getAddressFamily:()Ljnr/constants/platform/AddressFamily;
getstatic jnr.constants.platform.AddressFamily.AF_INET6:Ljnr/constants/platform/AddressFamily;
if_acmpeq 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInetAddress:()Ljava/net/InetAddress;
astore 1
start local 1 2: aload 1
invokevirtual java.net.InetAddress.isLoopbackAddress:()Z
ifeq 3
ldc "::1"
areturn
3: StackMap locals: java.net.InetAddress
StackMap stack:
aload 1
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
invokestatic org.jruby.ext.socket.SocketUtilsIPV6.getIPV6Address:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/socket/Addrinfo;
2 4 1 in Ljava/net/InetAddress;
private static java.net.InetAddress getRubyInetAddress(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/net/InetAddress;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
invokestatic org.jruby.ext.socket.SocketUtils.getRubyInetAddresses:(Lorg/jruby/util/ByteList;)[Ljava/net/InetAddress;
iconst_0
aaload
1: areturn
2: StackMap locals:
StackMap stack: java.net.UnknownHostException
pop
3: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 node Lorg/jruby/runtime/builtin/IRubyObject;
Exception table:
from to target type
0 1 2 Class java.net.UnknownHostException
MethodParameters:
Name Flags
node
public org.jruby.runtime.builtin.IRubyObject getnameinfo(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInetSocketAddress:()Ljava/net/InetSocketAddress;
astore 5
start local 5 2: aload 5
ifnull 5
3: aload 3
aload 5
invokevirtual java.net.InetSocketAddress.getHostName:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
astore 4
start local 4 4: goto 7
end local 4 5: StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby top java.net.InetSocketAddress
StackMap stack:
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getUnixSocketAddress:()Ljnr/unixsocket/UnixSocketAddress;
astore 6
start local 6 6: aload 3
aload 6
invokevirtual jnr.unixsocket.UnixSocketAddress.path:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
astore 4
end local 6 start local 4 7: StackMap locals: org.jruby.ext.socket.Addrinfo org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby org.jruby.RubyString java.net.InetSocketAddress
StackMap stack:
aconst_null
astore 6
start local 6 8: aload 2
arraylength
ifle 12
9: aload 2
iconst_0
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToInteger:()Lorg/jruby/RubyInteger;
invokevirtual org.jruby.RubyInteger.getIntValue:()I
istore 7
start local 7 10: iload 7
getstatic jnr.constants.platform.NameInfo.NI_NUMERICSERV:Ljnr/constants/platform/NameInfo;
invokevirtual jnr.constants.platform.NameInfo.intValue:()I
iand
ifeq 12
11: aload 3
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getPort:()I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
astore 6
end local 7 12: StackMap locals: org.jruby.RubyString
StackMap stack:
aload 6
ifnonnull 15
13: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getPort:()I
aload 0
getfield org.jruby.ext.socket.Addrinfo.protocol:Ljnr/netdb/Protocol;
invokevirtual jnr.netdb.Protocol.getName:()Ljava/lang/String;
invokestatic jnr.netdb.Service.getServiceByPort:(ILjava/lang/String;)Ljnr/netdb/Service;
astore 7
start local 7 14: aload 3
aload 7
invokevirtual jnr.netdb.Service.getName:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
astore 6
end local 7 15: StackMap locals:
StackMap stack:
aload 3
aload 4
aload 6
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
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 16 0 this Lorg/jruby/ext/socket/Addrinfo;
0 16 1 context Lorg/jruby/runtime/ThreadContext;
0 16 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 16 3 runtime Lorg/jruby/Ruby;
4 5 4 hostname Lorg/jruby/RubyString;
7 16 4 hostname Lorg/jruby/RubyString;
2 16 5 inet Ljava/net/InetSocketAddress;
6 7 6 unix Ljnr/unixsocket/UnixSocketAddress;
8 16 6 rubyService Lorg/jruby/RubyString;
10 12 7 flags I
14 15 7 service Ljnr/netdb/Service;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(optional = 1)
MethodParameters:
Name Flags
context
args
public org.jruby.runtime.builtin.IRubyObject marshal_dump(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/Addrinfo;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(notImplemented = true)
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject marshal_load(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/Addrinfo;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(notImplemented = true)
MethodParameters:
Name Flags
context
arg
public org.jruby.runtime.builtin.IRubyObject to_str(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/Addrinfo;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public java.net.Inet6Address getInet6Address();
descriptor: ()Ljava/net/Inet6Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInetSocketAddress:()Ljava/net/InetSocketAddress;
astore 1
start local 1 1: aload 1
ifnull 3
aload 1
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
instanceof java.net.Inet6Address
ifeq 3
2: aload 1
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
checkcast java.net.Inet6Address
areturn
3: StackMap locals: java.net.InetSocketAddress
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/socket/Addrinfo;
1 4 1 in Ljava/net/InetSocketAddress;
public java.net.Inet4Address getInet4Address();
descriptor: ()Ljava/net/Inet4Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInetSocketAddress:()Ljava/net/InetSocketAddress;
astore 1
start local 1 1: aload 1
ifnull 3
aload 1
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
instanceof java.net.Inet4Address
ifeq 3
2: aload 1
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
checkcast java.net.Inet4Address
areturn
3: StackMap locals: java.net.InetSocketAddress
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/socket/Addrinfo;
1 4 1 in Ljava/net/InetSocketAddress;
public java.net.InetAddress getInetAddress();
descriptor: ()Ljava/net/InetAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
instanceof java.net.InetSocketAddress
ifeq 2
1: aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/Addrinfo;
public java.net.SocketAddress getSocketAddress();
descriptor: ()Ljava/net/SocketAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/Addrinfo;
public java.net.InetSocketAddress getInetSocketAddress();
descriptor: ()Ljava/net/InetSocketAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
instanceof java.net.InetSocketAddress
ifeq 2
1: aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/Addrinfo;
public jnr.unixsocket.UnixSocketAddress getUnixSocketAddress();
descriptor: ()Ljnr/unixsocket/UnixSocketAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
instanceof jnr.unixsocket.UnixSocketAddress
ifeq 2
1: aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
checkcast jnr.unixsocket.UnixSocketAddress
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/Addrinfo;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/Addrinfo;
jnr.constants.platform.AddressFamily getAddressFamily();
descriptor: ()Ljnr/constants/platform/AddressFamily;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
instanceof java.net.InetSocketAddress
ifeq 3
1: aload 0
invokevirtual org.jruby.ext.socket.Addrinfo.getInetAddress:()Ljava/net/InetAddress;
instanceof java.net.Inet4Address
ifeq 2
getstatic jnr.constants.platform.AddressFamily.AF_INET:Ljnr/constants/platform/AddressFamily;
areturn
2: StackMap locals:
StackMap stack:
getstatic jnr.constants.platform.AddressFamily.AF_INET6:Ljnr/constants/platform/AddressFamily;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ext.socket.Addrinfo.socketAddress:Ljava/net/SocketAddress;
instanceof jnr.unixsocket.UnixSocketAddress
ifeq 5
4: getstatic jnr.constants.platform.AddressFamily.AF_UNIX:Ljnr/constants/platform/AddressFamily;
areturn
5: StackMap locals:
StackMap stack:
getstatic jnr.constants.platform.AddressFamily.AF_UNSPEC:Ljnr/constants/platform/AddressFamily;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ext/socket/Addrinfo;
static int[] $SWITCH_TABLE$jnr$constants$platform$AddressFamily();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.jruby.ext.socket.Addrinfo.$SWITCH_TABLE$jnr$constants$platform$AddressFamily:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jnr.constants.platform.AddressFamily.values:()[Ljnr/constants/platform/AddressFamily;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_APPLETALK:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 19
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_ATM:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 38
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_AX25:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 41
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_CCITT:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 13
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_CHAOS:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 7
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_CNT:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 24
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_COIP:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 23
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_DATAKIT:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 12
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_DECnet:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 15
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_DLI:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 16
iastore
30: goto 32
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
31: pop
StackMap locals:
StackMap stack:
32: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_E164:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 31
iastore
33: goto 35
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
34: pop
StackMap locals:
StackMap stack:
35: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_ECMA:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 11
iastore
36: goto 38
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
37: pop
StackMap locals:
StackMap stack:
38: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_HYLINK:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 18
iastore
39: goto 41
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
40: pop
StackMap locals:
StackMap stack:
41: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_IMPLINK:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
iconst_5
iastore
42: goto 44
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
43: pop
StackMap locals:
StackMap stack:
44: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_INET:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
iconst_4
iastore
45: goto 47
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
46: pop
StackMap locals:
StackMap stack:
47: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_INET6:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 33
iastore
48: goto 50
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
49: pop
StackMap locals:
StackMap stack:
50: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_IPX:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 26
iastore
51: goto 53
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
52: pop
StackMap locals:
StackMap stack:
53: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_ISDN:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 30
iastore
54: goto 56
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
55: pop
StackMap locals:
StackMap stack:
56: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_ISO:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 9
iastore
57: goto 59
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
58: pop
StackMap locals:
StackMap stack:
59: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_LAT:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 17
iastore
60: goto 62
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
61: pop
StackMap locals:
StackMap stack:
62: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_LINK:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 21
iastore
63: goto 65
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
64: pop
StackMap locals:
StackMap stack:
65: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_LOCAL:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
iconst_2
iastore
66: goto 68
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
67: pop
StackMap locals:
StackMap stack:
68: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_MAX:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 42
iastore
69: goto 71
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
70: pop
StackMap locals:
StackMap stack:
71: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_NATM:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 34
iastore
72: goto 74
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
73: pop
StackMap locals:
StackMap stack:
74: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_NDRV:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 29
iastore
75: goto 77
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
76: pop
StackMap locals:
StackMap stack:
77: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_NETBIOS:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 36
iastore
78: goto 80
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
79: pop
StackMap locals:
StackMap stack:
80: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_NETGRAPH:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 40
iastore
81: goto 83
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
82: pop
StackMap locals:
StackMap stack:
83: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_NS:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 8
iastore
84: goto 86
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
85: pop
StackMap locals:
StackMap stack:
86: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_OSI:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 10
iastore
87: goto 89
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
88: pop
StackMap locals:
StackMap stack:
89: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_PPP:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 37
iastore
90: goto 92
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
91: pop
StackMap locals:
StackMap stack:
92: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_PUP:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 6
iastore
93: goto 95
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
94: pop
StackMap locals:
StackMap stack:
95: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_ROUTE:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 20
iastore
96: goto 98
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
97: pop
StackMap locals:
StackMap stack:
98: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_SIP:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 27
iastore
99: goto 101
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
100: pop
StackMap locals:
StackMap stack:
101: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_SNA:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 14
iastore
102: goto 104
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
103: pop
StackMap locals:
StackMap stack:
104: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_SYSTEM:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 35
iastore
105: goto 107
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
106: pop
StackMap locals:
StackMap stack:
107: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_UNIX:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
iconst_3
iastore
108: goto 110
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
109: pop
StackMap locals:
StackMap stack:
110: aload 0
getstatic jnr.constants.platform.AddressFamily.AF_UNSPEC:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
iconst_1
iastore
111: goto 113
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
112: pop
StackMap locals:
StackMap stack:
113: aload 0
getstatic jnr.constants.platform.AddressFamily.__UNKNOWN_CONSTANT__:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 43
iastore
114: goto 116
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
115: pop
StackMap locals:
StackMap stack:
116: aload 0
getstatic jnr.constants.platform.AddressFamily.pseudo_AF_HDRCMPLT:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 39
iastore
117: goto 119
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
118: pop
StackMap locals:
StackMap stack:
119: aload 0
getstatic jnr.constants.platform.AddressFamily.pseudo_AF_KEY:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 32
iastore
120: goto 122
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
121: pop
StackMap locals:
StackMap stack:
122: aload 0
getstatic jnr.constants.platform.AddressFamily.pseudo_AF_PIP:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 28
iastore
123: goto 125
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
124: pop
StackMap locals:
StackMap stack:
125: aload 0
getstatic jnr.constants.platform.AddressFamily.pseudo_AF_RTIP:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 25
iastore
126: goto 128
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
127: pop
StackMap locals:
StackMap stack:
128: aload 0
getstatic jnr.constants.platform.AddressFamily.pseudo_AF_XTP:Ljnr/constants/platform/AddressFamily;
invokevirtual jnr.constants.platform.AddressFamily.ordinal:()I
bipush 22
iastore
129: goto 131
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
130: pop
StackMap locals:
StackMap stack:
131: aload 0
dup
putstatic org.jruby.ext.socket.Addrinfo.$SWITCH_TABLE$jnr$constants$platform$AddressFamily:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
29 30 31 Class java.lang.NoSuchFieldError
32 33 34 Class java.lang.NoSuchFieldError
35 36 37 Class java.lang.NoSuchFieldError
38 39 40 Class java.lang.NoSuchFieldError
41 42 43 Class java.lang.NoSuchFieldError
44 45 46 Class java.lang.NoSuchFieldError
47 48 49 Class java.lang.NoSuchFieldError
50 51 52 Class java.lang.NoSuchFieldError
53 54 55 Class java.lang.NoSuchFieldError
56 57 58 Class java.lang.NoSuchFieldError
59 60 61 Class java.lang.NoSuchFieldError
62 63 64 Class java.lang.NoSuchFieldError
65 66 67 Class java.lang.NoSuchFieldError
68 69 70 Class java.lang.NoSuchFieldError
71 72 73 Class java.lang.NoSuchFieldError
74 75 76 Class java.lang.NoSuchFieldError
77 78 79 Class java.lang.NoSuchFieldError
80 81 82 Class java.lang.NoSuchFieldError
83 84 85 Class java.lang.NoSuchFieldError
86 87 88 Class java.lang.NoSuchFieldError
89 90 91 Class java.lang.NoSuchFieldError
92 93 94 Class java.lang.NoSuchFieldError
95 96 97 Class java.lang.NoSuchFieldError
98 99 100 Class java.lang.NoSuchFieldError
101 102 103 Class java.lang.NoSuchFieldError
104 105 106 Class java.lang.NoSuchFieldError
107 108 109 Class java.lang.NoSuchFieldError
110 111 112 Class java.lang.NoSuchFieldError
113 114 115 Class java.lang.NoSuchFieldError
116 117 118 Class java.lang.NoSuchFieldError
119 120 121 Class java.lang.NoSuchFieldError
122 123 124 Class java.lang.NoSuchFieldError
125 126 127 Class java.lang.NoSuchFieldError
128 129 130 Class java.lang.NoSuchFieldError
}
SourceFile: "Addrinfo.java"
NestMembers:
org.jruby.ext.socket.Addrinfo$1
InnerClasses:
org.jruby.ext.socket.Addrinfo$1