public final class io.netty.channel.unix.UnixChannelUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.channel.unix.UnixChannelUtil
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/channel/unix/UnixChannelUtil;
public static boolean isBufferCopyNeededForWrite(io.netty.buffer.ByteBuf);
descriptor: (Lio/netty/buffer/ByteBuf;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic io.netty.channel.unix.Limits.IOV_MAX:I
invokestatic io.netty.channel.unix.UnixChannelUtil.isBufferCopyNeededForWrite:(Lio/netty/buffer/ByteBuf;I)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 byteBuf Lio/netty/buffer/ByteBuf;
MethodParameters:
Name Flags
byteBuf
static boolean isBufferCopyNeededForWrite(io.netty.buffer.ByteBuf, int);
descriptor: (Lio/netty/buffer/ByteBuf;I)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.buffer.ByteBuf.hasMemoryAddress:()Z
ifne 2
aload 0
invokevirtual io.netty.buffer.ByteBuf.isDirect:()Z
ifeq 1
aload 0
invokevirtual io.netty.buffer.ByteBuf.nioBufferCount:()I
iload 1
if_icmple 2
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 byteBuf Lio/netty/buffer/ByteBuf;
0 3 1 iovMax I
MethodParameters:
Name Flags
byteBuf
iovMax
public static java.net.InetSocketAddress computeRemoteAddr(java.net.InetSocketAddress, java.net.InetSocketAddress);
descriptor: (Ljava/net/InetSocketAddress;Ljava/net/InetSocketAddress;)Ljava/net/InetSocketAddress;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 10
1: invokestatic io.netty.util.internal.PlatformDependent.javaVersion:()I
bipush 7
if_icmplt 9
2: new java.net.InetSocketAddress
dup
aload 0
invokevirtual java.net.InetSocketAddress.getHostString:()Ljava/lang/String;
3: aload 1
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getAddress:()[B
4: invokestatic java.net.InetAddress.getByAddress:(Ljava/lang/String;[B)Ljava/net/InetAddress;
5: aload 1
invokevirtual java.net.InetSocketAddress.getPort:()I
6: invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
7: areturn
8: StackMap locals:
StackMap stack: java.net.UnknownHostException
pop
9: StackMap locals:
StackMap stack:
aload 1
areturn
10: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 remoteAddr Ljava/net/InetSocketAddress;
0 11 1 osRemoteAddr Ljava/net/InetSocketAddress;
Exception table:
from to target type
2 7 8 Class java.net.UnknownHostException
MethodParameters:
Name Flags
remoteAddr
osRemoteAddr
}
SourceFile: "UnixChannelUtil.java"