public final class io.netty.channel.DefaultChannelId implements io.netty.channel.ChannelId
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.channel.DefaultChannelId
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3884076183504074063
private static final io.netty.util.internal.logging.InternalLogger logger;
descriptor: Lio/netty/util/internal/logging/InternalLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] MACHINE_ID;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int PROCESS_ID_LEN;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int PROCESS_ID;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int SEQUENCE_LEN;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int TIMESTAMP_LEN;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final int RANDOM_LEN;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final java.util.concurrent.atomic.AtomicInteger nextSequence;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final byte[] data;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int hashCode;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private transient java.lang.String shortValue;
descriptor: Ljava/lang/String;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.lang.String longValue;
descriptor: Ljava/lang/String;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=0
0: ldc Lio/netty/channel/DefaultChannelId;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic io.netty.channel.DefaultChannelId.$assertionsDisabled:Z
3: ldc Lio/netty/channel/DefaultChannelId;
invokestatic io.netty.util.internal.logging.InternalLoggerFactory.getInstance:(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;
putstatic io.netty.channel.DefaultChannelId.logger:Lio/netty/util/internal/logging/InternalLogger;
4: new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putstatic io.netty.channel.DefaultChannelId.nextSequence:Ljava/util/concurrent/atomic/AtomicInteger;
5: iconst_m1
istore 0
start local 0 6: ldc "io.netty.processId"
invokestatic io.netty.util.internal.SystemPropertyUtil.get:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 7: aload 1
ifnull 17
8: aload 1
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 0
9: goto 11
StackMap locals: int java.lang.String
StackMap stack: java.lang.NumberFormatException
10: pop
11: StackMap locals:
StackMap stack:
iload 0
ifge 15
12: iconst_m1
istore 0
13: getstatic io.netty.channel.DefaultChannelId.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "-Dio.netty.processId: {} (malformed)"
aload 1
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
14: goto 17
StackMap locals:
StackMap stack:
15: getstatic io.netty.channel.DefaultChannelId.logger:Lio/netty/util/internal/logging/InternalLogger;
invokeinterface io.netty.util.internal.logging.InternalLogger.isDebugEnabled:()Z
ifeq 17
16: getstatic io.netty.channel.DefaultChannelId.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "-Dio.netty.processId: {} (user-set)"
iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface io.netty.util.internal.logging.InternalLogger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
17: StackMap locals:
StackMap stack:
iload 0
ifge 21
18: invokestatic io.netty.channel.DefaultChannelId.defaultProcessId:()I
istore 0
19: getstatic io.netty.channel.DefaultChannelId.logger:Lio/netty/util/internal/logging/InternalLogger;
invokeinterface io.netty.util.internal.logging.InternalLogger.isDebugEnabled:()Z
ifeq 21
20: getstatic io.netty.channel.DefaultChannelId.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "-Dio.netty.processId: {} (auto-detected)"
iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface io.netty.util.internal.logging.InternalLogger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
21: StackMap locals:
StackMap stack:
iload 0
putstatic io.netty.channel.DefaultChannelId.PROCESS_ID:I
22: aconst_null
astore 2
start local 2 23: ldc "io.netty.machineId"
invokestatic io.netty.util.internal.SystemPropertyUtil.get:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 24: aload 3
ifnull 31
25: aload 3
invokestatic io.netty.util.internal.MacAddressUtil.parseMAC:(Ljava/lang/String;)[B
astore 2
26: goto 29
StackMap locals: int java.lang.String byte[] java.lang.String
StackMap stack: java.lang.Exception
27: astore 4
start local 4 28: getstatic io.netty.channel.DefaultChannelId.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "-Dio.netty.machineId: {} (malformed)"
aload 3
aload 4
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 4 29: StackMap locals:
StackMap stack:
aload 2
ifnull 31
30: getstatic io.netty.channel.DefaultChannelId.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "-Dio.netty.machineId: {} (user-set)"
aload 3
invokeinterface io.netty.util.internal.logging.InternalLogger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
31: StackMap locals:
StackMap stack:
aload 2
ifnonnull 35
32: invokestatic io.netty.util.internal.MacAddressUtil.defaultMachineId:()[B
astore 2
33: getstatic io.netty.channel.DefaultChannelId.logger:Lio/netty/util/internal/logging/InternalLogger;
invokeinterface io.netty.util.internal.logging.InternalLogger.isDebugEnabled:()Z
ifeq 35
34: getstatic io.netty.channel.DefaultChannelId.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "-Dio.netty.machineId: {} (auto-detected)"
aload 2
invokestatic io.netty.util.internal.MacAddressUtil.formatAddress:([B)Ljava/lang/String;
invokeinterface io.netty.util.internal.logging.InternalLogger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
35: StackMap locals:
StackMap stack:
aload 2
putstatic io.netty.channel.DefaultChannelId.MACHINE_ID:[B
end local 3 end local 2 end local 1 end local 0 36: return
LocalVariableTable:
Start End Slot Name Signature
6 36 0 processId I
7 36 1 customProcessId Ljava/lang/String;
23 36 2 machineId [B
24 36 3 customMachineId Ljava/lang/String;
28 29 4 e Ljava/lang/Exception;
Exception table:
from to target type
8 9 10 Class java.lang.NumberFormatException
25 26 27 Class java.lang.Exception
public static io.netty.channel.DefaultChannelId newInstance();
descriptor: ()Lio/netty/channel/DefaultChannelId;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new io.netty.channel.DefaultChannelId
dup
invokespecial io.netty.channel.DefaultChannelId.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static int defaultProcessId();
descriptor: ()I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=7, args_size=0
0: aconst_null
astore 0
start local 0 1: ldc Lio/netty/channel/DefaultChannelId;
invokestatic io.netty.util.internal.PlatformDependent.getClassLoader:(Ljava/lang/Class;)Ljava/lang/ClassLoader;
astore 0
2: ldc "java.lang.management.ManagementFactory"
iconst_1
aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 2
start local 2 3: ldc "java.lang.management.RuntimeMXBean"
iconst_1
aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 3
start local 3 4: aload 2
ldc "getRuntimeMXBean"
getstatic io.netty.util.internal.EmptyArrays.EMPTY_CLASSES:[Ljava/lang/Class;
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 4
start local 4 5: aload 4
aconst_null
getstatic io.netty.util.internal.EmptyArrays.EMPTY_OBJECTS:[Ljava/lang/Object;
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 6: aload 3
ldc "getName"
getstatic io.netty.util.internal.EmptyArrays.EMPTY_CLASSES:[Ljava/lang/Class;
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 6
start local 6 7: aload 6
aload 5
getstatic io.netty.util.internal.EmptyArrays.EMPTY_OBJECTS:[Ljava/lang/Object;
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
end local 6 end local 5 end local 4 end local 3 end local 2 start local 1 8: goto 18
end local 1 StackMap locals: java.lang.ClassLoader
StackMap stack: java.lang.Throwable
9: astore 2
start local 2 10: getstatic io.netty.channel.DefaultChannelId.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Could not invoke ManagementFactory.getRuntimeMXBean().getName(); Android?"
aload 2
invokeinterface io.netty.util.internal.logging.InternalLogger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
11: ldc "android.os.Process"
iconst_1
aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 3
start local 3 12: aload 3
ldc "myPid"
getstatic io.netty.util.internal.EmptyArrays.EMPTY_CLASSES:[Ljava/lang/Class;
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 4
start local 4 13: aload 4
aconst_null
getstatic io.netty.util.internal.EmptyArrays.EMPTY_OBJECTS:[Ljava/lang/Object;
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 1
end local 4 end local 3 start local 1 14: goto 18
end local 1 StackMap locals: java.lang.ClassLoader top java.lang.Throwable
StackMap stack: java.lang.Throwable
15: astore 3
start local 3 16: getstatic io.netty.channel.DefaultChannelId.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Could not invoke Process.myPid(); not Android?"
aload 3
invokeinterface io.netty.util.internal.logging.InternalLogger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
17: ldc ""
astore 1
end local 3 end local 2 start local 1 18: StackMap locals: java.lang.ClassLoader java.lang.String
StackMap stack:
aload 1
bipush 64
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 19: iload 2
iflt 21
20: aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
21: StackMap locals: int
StackMap stack:
aload 1
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 3
start local 3 22: goto 25
end local 3 StackMap locals:
StackMap stack: java.lang.NumberFormatException
23: pop
24: iconst_m1
istore 3
start local 3 25: StackMap locals: int
StackMap stack:
iload 3
ifge 28
26: invokestatic io.netty.util.internal.PlatformDependent.threadLocalRandom:()Ljava/util/Random;
invokevirtual java.util.Random.nextInt:()I
istore 3
27: getstatic io.netty.channel.DefaultChannelId.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Failed to find the current process ID from '{}'; using a random value: {}"
aload 1
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
28: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 29 0 loader Ljava/lang/ClassLoader;
8 9 1 value Ljava/lang/String;
14 15 1 value Ljava/lang/String;
18 29 1 value Ljava/lang/String;
3 8 2 mgmtFactoryType Ljava/lang/Class<*>;
4 8 3 runtimeMxBeanType Ljava/lang/Class<*>;
5 8 4 getRuntimeMXBean Ljava/lang/reflect/Method;
6 8 5 bean Ljava/lang/Object;
7 8 6 getName Ljava/lang/reflect/Method;
10 18 2 t Ljava/lang/Throwable;
12 14 3 processType Ljava/lang/Class<*>;
13 14 4 myPid Ljava/lang/reflect/Method;
16 18 3 t2 Ljava/lang/Throwable;
19 29 2 atIndex I
22 23 3 pid I
25 29 3 pid I
Exception table:
from to target type
1 8 9 Class java.lang.Throwable
11 14 15 Class java.lang.Throwable
21 22 23 Class java.lang.NumberFormatException
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic io.netty.channel.DefaultChannelId.MACHINE_ID:[B
arraylength
iconst_4
iadd
iconst_4
iadd
bipush 8
iadd
iconst_4
iadd
newarray 8
putfield io.netty.channel.DefaultChannelId.data:[B
2: iconst_0
istore 1
start local 1 3: getstatic io.netty.channel.DefaultChannelId.MACHINE_ID:[B
iconst_0
aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
iload 1
getstatic io.netty.channel.DefaultChannelId.MACHINE_ID:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: iload 1
getstatic io.netty.channel.DefaultChannelId.MACHINE_ID:[B
arraylength
iadd
istore 1
5: aload 0
iload 1
getstatic io.netty.channel.DefaultChannelId.PROCESS_ID:I
invokevirtual io.netty.channel.DefaultChannelId.writeInt:(II)I
istore 1
6: aload 0
iload 1
getstatic io.netty.channel.DefaultChannelId.nextSequence:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
invokevirtual io.netty.channel.DefaultChannelId.writeInt:(II)I
istore 1
7: aload 0
iload 1
invokestatic java.lang.System.nanoTime:()J
invokestatic java.lang.Long.reverse:(J)J
invokestatic java.lang.System.currentTimeMillis:()J
lxor
invokevirtual io.netty.channel.DefaultChannelId.writeLong:(IJ)I
istore 1
8: invokestatic io.netty.util.internal.PlatformDependent.threadLocalRandom:()Ljava/util/Random;
invokevirtual java.util.Random.nextInt:()I
istore 2
start local 2 9: aload 0
iload 1
iload 2
invokevirtual io.netty.channel.DefaultChannelId.writeInt:(II)I
istore 1
10: getstatic io.netty.channel.DefaultChannelId.$assertionsDisabled:Z
ifne 11
iload 1
aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
arraylength
if_icmpeq 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals: io.netty.channel.DefaultChannelId int int
StackMap stack:
aload 0
aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
invokestatic java.util.Arrays.hashCode:([B)I
putfield io.netty.channel.DefaultChannelId.hashCode:I
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/netty/channel/DefaultChannelId;
3 13 1 i I
9 13 2 random I
private int writeInt(int, int);
descriptor: (II)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
iload 1
iinc 1 1
iload 2
bipush 24
iushr
i2b
bastore
1: aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
iload 1
iinc 1 1
iload 2
bipush 16
iushr
i2b
bastore
2: aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
iload 1
iinc 1 1
iload 2
bipush 8
iushr
i2b
bastore
3: aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
iload 1
iinc 1 1
iload 2
i2b
bastore
4: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/channel/DefaultChannelId;
0 5 1 i I
0 5 2 value I
MethodParameters:
Name Flags
i
value
private int writeLong(int, long);
descriptor: (IJ)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
iload 1
iinc 1 1
lload 2
bipush 56
lushr
l2i
i2b
bastore
1: aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
iload 1
iinc 1 1
lload 2
bipush 48
lushr
l2i
i2b
bastore
2: aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
iload 1
iinc 1 1
lload 2
bipush 40
lushr
l2i
i2b
bastore
3: aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
iload 1
iinc 1 1
lload 2
bipush 32
lushr
l2i
i2b
bastore
4: aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
iload 1
iinc 1 1
lload 2
bipush 24
lushr
l2i
i2b
bastore
5: aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
iload 1
iinc 1 1
lload 2
bipush 16
lushr
l2i
i2b
bastore
6: aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
iload 1
iinc 1 1
lload 2
bipush 8
lushr
l2i
i2b
bastore
7: aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
iload 1
iinc 1 1
lload 2
l2i
i2b
bastore
8: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/netty/channel/DefaultChannelId;
0 9 1 i I
0 9 2 value J
MethodParameters:
Name Flags
i
value
public java.lang.String asShortText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.DefaultChannelId.shortValue:Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
arraylength
iconst_4
isub
iconst_4
invokestatic io.netty.buffer.ByteBufUtil.hexDump:([BII)Ljava/lang/String;
dup
astore 1
putfield io.netty.channel.DefaultChannelId.shortValue:Ljava/lang/String;
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/channel/DefaultChannelId;
1 4 1 shortValue Ljava/lang/String;
public java.lang.String asLongText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.DefaultChannelId.longValue:Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
aload 0
invokevirtual io.netty.channel.DefaultChannelId.newLongValue:()Ljava/lang/String;
dup
astore 1
putfield io.netty.channel.DefaultChannelId.longValue:Ljava/lang/String;
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/channel/DefaultChannelId;
1 4 1 longValue Ljava/lang/String;
private java.lang.String newLongValue();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
iconst_2
aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
arraylength
imul
iconst_5
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
aload 1
iload 2
getstatic io.netty.channel.DefaultChannelId.MACHINE_ID:[B
arraylength
invokevirtual io.netty.channel.DefaultChannelId.appendHexDumpField:(Ljava/lang/StringBuilder;II)I
istore 2
3: aload 0
aload 1
iload 2
iconst_4
invokevirtual io.netty.channel.DefaultChannelId.appendHexDumpField:(Ljava/lang/StringBuilder;II)I
istore 2
4: aload 0
aload 1
iload 2
iconst_4
invokevirtual io.netty.channel.DefaultChannelId.appendHexDumpField:(Ljava/lang/StringBuilder;II)I
istore 2
5: aload 0
aload 1
iload 2
bipush 8
invokevirtual io.netty.channel.DefaultChannelId.appendHexDumpField:(Ljava/lang/StringBuilder;II)I
istore 2
6: aload 0
aload 1
iload 2
iconst_4
invokevirtual io.netty.channel.DefaultChannelId.appendHexDumpField:(Ljava/lang/StringBuilder;II)I
istore 2
7: getstatic io.netty.channel.DefaultChannelId.$assertionsDisabled:Z
ifne 8
iload 2
aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
arraylength
if_icmpeq 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 1
iconst_0
aload 1
invokevirtual java.lang.StringBuilder.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuilder.substring:(II)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/netty/channel/DefaultChannelId;
1 9 1 buf Ljava/lang/StringBuilder;
2 9 2 i I
private int appendHexDumpField(java.lang.StringBuilder, int, int);
descriptor: (Ljava/lang/StringBuilder;II)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
iload 2
iload 3
invokestatic io.netty.buffer.ByteBufUtil.hexDump:([BII)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
1: aload 1
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: iload 2
iload 3
iadd
istore 2
3: iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/channel/DefaultChannelId;
0 4 1 buf Ljava/lang/StringBuilder;
0 4 2 i I
0 4 3 length I
MethodParameters:
Name Flags
buf
i
length
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.DefaultChannelId.hashCode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/DefaultChannelId;
public int compareTo(io.netty.channel.ChannelId);
descriptor: (Lio/netty/channel/ChannelId;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof io.netty.channel.DefaultChannelId
ifeq 16
3: aload 1
checkcast io.netty.channel.DefaultChannelId
getfield io.netty.channel.DefaultChannelId.data:[B
astore 2
start local 2 4: aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
arraylength
istore 3
start local 3 5: aload 2
arraylength
istore 4
start local 4 6: iload 3
iload 4
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 7: iconst_0
istore 6
start local 6 8: goto 14
9: StackMap locals: io.netty.channel.DefaultChannelId io.netty.channel.ChannelId byte[] int int int int
StackMap stack:
aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
iload 6
baload
istore 7
start local 7 10: aload 2
iload 6
baload
istore 8
start local 8 11: iload 7
iload 8
if_icmpeq 13
12: iload 7
sipush 255
iand
iload 8
sipush 255
iand
isub
ireturn
end local 8 end local 7 13: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
14: iload 6
iload 5
if_icmplt 9
end local 6 15: iload 3
iload 4
isub
ireturn
end local 5 end local 4 end local 3 end local 2 16: StackMap locals: io.netty.channel.DefaultChannelId io.netty.channel.ChannelId
StackMap stack:
aload 0
invokevirtual io.netty.channel.DefaultChannelId.asLongText:()Ljava/lang/String;
aload 1
invokeinterface io.netty.channel.ChannelId.asLongText:()Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/netty/channel/DefaultChannelId;
0 17 1 o Lio/netty/channel/ChannelId;
4 16 2 otherData [B
5 16 3 len1 I
6 16 4 len2 I
7 16 5 len I
8 15 6 k I
10 13 7 x B
11 13 8 y B
MethodParameters:
Name Flags
o final
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof io.netty.channel.DefaultChannelId
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast io.netty.channel.DefaultChannelId
astore 2
start local 2 5: aload 0
getfield io.netty.channel.DefaultChannelId.hashCode:I
aload 2
getfield io.netty.channel.DefaultChannelId.hashCode:I
if_icmpne 6
aload 0
getfield io.netty.channel.DefaultChannelId.data:[B
aload 2
getfield io.netty.channel.DefaultChannelId.data:[B
invokestatic java.util.Arrays.equals:([B[B)Z
ifeq 6
iconst_1
ireturn
StackMap locals: io.netty.channel.DefaultChannelId
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/channel/DefaultChannelId;
0 7 1 obj Ljava/lang/Object;
5 7 2 other Lio/netty/channel/DefaultChannelId;
MethodParameters:
Name Flags
obj
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
invokevirtual io.netty.channel.DefaultChannelId.asShortText:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/DefaultChannelId;
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.netty.channel.ChannelId
invokevirtual io.netty.channel.DefaultChannelId.compareTo:(Lio/netty/channel/ChannelId;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "DefaultChannelId.java"