public final class java.rmi.server.UID implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.rmi.server.UID
super_class: java.lang.Object
{
private static int hostUnique;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean hostUniqueSet;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static long lastTime;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static short lastCount;
descriptor: S
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1086053664494604050
private final int unique;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long time;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final short count;
descriptor: S
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_0
putstatic java.rmi.server.UID.hostUniqueSet:Z
1: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic java.rmi.server.UID.lock:Ljava/lang/Object;
2: invokestatic java.lang.System.currentTimeMillis:()J
putstatic java.rmi.server.UID.lastTime:J
3: sipush -32768
putstatic java.rmi.server.UID.lastCount:S
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic java.rmi.server.UID.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
2: getstatic java.rmi.server.UID.hostUniqueSet:Z
ifne 5
3: new java.security.SecureRandom
dup
invokespecial java.security.SecureRandom.<init>:()V
invokevirtual java.security.SecureRandom.nextInt:()I
putstatic java.rmi.server.UID.hostUnique:I
4: iconst_1
putstatic java.rmi.server.UID.hostUniqueSet:Z
5: StackMap locals: java.rmi.server.UID java.lang.Object
StackMap stack:
aload 0
getstatic java.rmi.server.UID.hostUnique:I
putfield java.rmi.server.UID.unique:I
6: getstatic java.rmi.server.UID.lastCount:S
sipush 32767
if_icmpne 25
7: invokestatic java.lang.Thread.interrupted:()Z
istore 2
start local 2 8: iconst_0
istore 3
start local 3 9: goto 22
10: StackMap locals: int int
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
lstore 4
start local 4 11: lload 4
getstatic java.rmi.server.UID.lastTime:J
lcmp
ifne 17
12: lconst_1
invokestatic java.lang.Thread.sleep:(J)V
13: goto 22
StackMap locals: java.rmi.server.UID java.lang.Object int int long
StackMap stack: java.lang.InterruptedException
14: pop
15: iconst_1
istore 2
16: goto 22
17: StackMap locals:
StackMap stack:
lload 4
getstatic java.rmi.server.UID.lastTime:J
lcmp
ifge 18
getstatic java.rmi.server.UID.lastTime:J
lconst_1
ladd
goto 19
StackMap locals:
StackMap stack:
18: lload 4
StackMap locals:
StackMap stack: long
19: putstatic java.rmi.server.UID.lastTime:J
20: sipush -32768
putstatic java.rmi.server.UID.lastCount:S
21: iconst_1
istore 3
end local 4 22: StackMap locals:
StackMap stack:
iload 3
ifeq 10
23: iload 2
ifeq 25
24: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
end local 3 end local 2 25: StackMap locals:
StackMap stack:
aload 0
getstatic java.rmi.server.UID.lastTime:J
putfield java.rmi.server.UID.time:J
26: aload 0
getstatic java.rmi.server.UID.lastCount:S
dup
iconst_1
iadd
i2s
putstatic java.rmi.server.UID.lastCount:S
putfield java.rmi.server.UID.count:S
27: aload 1
monitorexit
28: goto 31
StackMap locals:
StackMap stack: java.lang.Throwable
29: aload 1
monitorexit
30: athrow
31: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Ljava/rmi/server/UID;
8 25 2 interrupted Z
9 25 3 done Z
11 22 4 now J
Exception table:
from to target type
12 13 14 Class java.lang.InterruptedException
2 28 29 any
29 30 29 any
public void <init>(short);
descriptor: (S)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield java.rmi.server.UID.unique:I
2: aload 0
lconst_0
putfield java.rmi.server.UID.time:J
3: aload 0
iload 1
putfield java.rmi.server.UID.count:S
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/rmi/server/UID;
0 5 1 num S
MethodParameters:
Name Flags
num
private void <init>(int, long, short);
descriptor: (IJS)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield java.rmi.server.UID.unique:I
2: aload 0
lload 2
putfield java.rmi.server.UID.time:J
3: aload 0
iload 4
putfield java.rmi.server.UID.count:S
4: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/rmi/server/UID;
0 5 1 unique I
0 5 2 time J
0 5 4 count S
MethodParameters:
Name Flags
unique
time
count
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.rmi.server.UID.time:J
l2i
aload 0
getfield java.rmi.server.UID.count:S
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/rmi/server/UID;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.rmi.server.UID
ifeq 7
1: aload 1
checkcast java.rmi.server.UID
astore 2
start local 2 2: aload 0
getfield java.rmi.server.UID.unique:I
aload 2
getfield java.rmi.server.UID.unique:I
if_icmpne 6
3: aload 0
getfield java.rmi.server.UID.count:S
aload 2
getfield java.rmi.server.UID.count:S
if_icmpne 6
4: aload 0
getfield java.rmi.server.UID.time:J
aload 2
getfield java.rmi.server.UID.time:J
lcmp
ifne 6
5: iconst_1
ireturn
StackMap locals: java.rmi.server.UID
StackMap stack:
6: iconst_0
ireturn
end local 2 7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/rmi/server/UID;
0 8 1 obj Ljava/lang/Object;
2 7 2 uid Ljava/rmi/server/UID;
MethodParameters:
Name Flags
obj
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield java.rmi.server.UID.unique:I
bipush 16
invokestatic java.lang.Integer.toString:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
getfield java.rmi.server.UID.time:J
bipush 16
invokestatic java.lang.Long.toString:(JI)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 0
getfield java.rmi.server.UID.count:S
bipush 16
invokestatic java.lang.Integer.toString:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/rmi/server/UID;
public void write(java.io.DataOutput);
descriptor: (Ljava/io/DataOutput;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield java.rmi.server.UID.unique:I
invokeinterface java.io.DataOutput.writeInt:(I)V
1: aload 1
aload 0
getfield java.rmi.server.UID.time:J
invokeinterface java.io.DataOutput.writeLong:(J)V
2: aload 1
aload 0
getfield java.rmi.server.UID.count:S
invokeinterface java.io.DataOutput.writeShort:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/rmi/server/UID;
0 4 1 out Ljava/io/DataOutput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public static java.rmi.server.UID read(java.io.DataInput);
descriptor: (Ljava/io/DataInput;)Ljava/rmi/server/UID;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
invokeinterface java.io.DataInput.readInt:()I
istore 1
start local 1 1: aload 0
invokeinterface java.io.DataInput.readLong:()J
lstore 2
start local 2 2: aload 0
invokeinterface java.io.DataInput.readShort:()S
istore 4
start local 4 3: new java.rmi.server.UID
dup
iload 1
lload 2
iload 4
invokespecial java.rmi.server.UID.<init>:(IJS)V
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 in Ljava/io/DataInput;
1 4 1 unique I
2 4 2 time J
3 4 4 count S
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
}
SourceFile: "UID.java"