public final class org.hibernate.id.uuid.Helper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.hibernate.id.uuid.Helper
super_class: java.lang.Object
{
private static final byte[] ADDRESS_BYTES;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int ADDRESS_INT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String ADDRESS_HEX_STRING;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] JVM_IDENTIFIER_BYTES;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int JVM_IDENTIFIER_INT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String JVM_IDENTIFIER_HEX_STRING;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static short counter;
descriptor: S
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic java.net.InetAddress.getLocalHost:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getAddress:()[B
astore 0
start local 0 1: goto 4
end local 0 2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: iconst_4
newarray 8
astore 0
start local 0 4: StackMap locals: byte[]
StackMap stack:
aload 0
putstatic org.hibernate.id.uuid.Helper.ADDRESS_BYTES:[B
5: getstatic org.hibernate.id.uuid.Helper.ADDRESS_BYTES:[B
invokestatic org.hibernate.internal.util.BytesHelper.toInt:([B)I
putstatic org.hibernate.id.uuid.Helper.ADDRESS_INT:I
6: getstatic org.hibernate.id.uuid.Helper.ADDRESS_INT:I
invokestatic org.hibernate.id.uuid.Helper.format:(I)Ljava/lang/String;
putstatic org.hibernate.id.uuid.Helper.ADDRESS_HEX_STRING:Ljava/lang/String;
end local 0 7: invokestatic java.lang.System.currentTimeMillis:()J
bipush 8
lushr
l2i
putstatic org.hibernate.id.uuid.Helper.JVM_IDENTIFIER_INT:I
8: getstatic org.hibernate.id.uuid.Helper.JVM_IDENTIFIER_INT:I
invokestatic org.hibernate.internal.util.BytesHelper.fromInt:(I)[B
putstatic org.hibernate.id.uuid.Helper.JVM_IDENTIFIER_BYTES:[B
9: getstatic org.hibernate.id.uuid.Helper.JVM_IDENTIFIER_INT:I
invokestatic org.hibernate.id.uuid.Helper.format:(I)Ljava/lang/String;
putstatic org.hibernate.id.uuid.Helper.JVM_IDENTIFIER_HEX_STRING:Ljava/lang/String;
10: iconst_0
putstatic org.hibernate.id.uuid.Helper.counter:S
return
LocalVariableTable:
Start End Slot Name Signature
1 2 0 address [B
4 7 0 address [B
Exception table:
from to target type
0 1 2 Class java.lang.Exception
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 Lorg/hibernate/id/uuid/Helper;
public static byte[] getAddressBytes();
descriptor: ()[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.hibernate.id.uuid.Helper.ADDRESS_BYTES:[B
areturn
LocalVariableTable:
Start End Slot Name Signature
public static int getAddressInt();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.hibernate.id.uuid.Helper.ADDRESS_INT:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String getAddressHexString();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.hibernate.id.uuid.Helper.ADDRESS_HEX_STRING:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static byte[] getJvmIdentifierBytes();
descriptor: ()[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.hibernate.id.uuid.Helper.JVM_IDENTIFIER_BYTES:[B
areturn
LocalVariableTable:
Start End Slot Name Signature
public static int getJvmIdentifierInt();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.hibernate.id.uuid.Helper.JVM_IDENTIFIER_INT:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String getJvmIdentifierHexString();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.hibernate.id.uuid.Helper.JVM_IDENTIFIER_HEX_STRING:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static short getCountShort();
descriptor: ()S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: ldc Lorg/hibernate/id/uuid/Helper;
dup
astore 0
monitorenter
1: getstatic org.hibernate.id.uuid.Helper.counter:S
ifge 3
2: iconst_0
putstatic org.hibernate.id.uuid.Helper.counter:S
3: StackMap locals: java.lang.Class
StackMap stack:
getstatic org.hibernate.id.uuid.Helper.counter:S
dup
iconst_1
iadd
i2s
putstatic org.hibernate.id.uuid.Helper.counter:S
aload 0
monitorexit
4: ireturn
5: StackMap locals:
StackMap stack: java.lang.Throwable
aload 0
monitorexit
6: athrow
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
1 4 5 any
5 6 5 any
public static byte[] getCountBytes();
descriptor: ()[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.hibernate.id.uuid.Helper.getCountShort:()S
invokestatic org.hibernate.internal.util.BytesHelper.fromShort:(I)[B
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String format(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
astore 1
start local 1 1: new java.lang.StringBuilder
dup
ldc "00000000"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: aload 2
bipush 8
aload 1
invokevirtual java.lang.String.length:()I
isub
bipush 8
aload 1
invokevirtual java.lang.StringBuilder.replace:(IILjava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 2
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 4 0 value I
1 4 1 formatted Ljava/lang/String;
2 4 2 buf Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
value
public static java.lang.String format(short);
descriptor: (S)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
astore 1
start local 1 1: new java.lang.StringBuilder
dup
ldc "0000"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: aload 2
iconst_4
aload 1
invokevirtual java.lang.String.length:()I
isub
iconst_4
aload 1
invokevirtual java.lang.StringBuilder.replace:(IILjava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 2
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 4 0 value S
1 4 1 formatted Ljava/lang/String;
2 4 2 buf Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
value
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: invokestatic java.net.InetAddress.getLocalHost:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getAddress:()[B
astore 1
start local 1 1: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Raw ip address bytes : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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 java.io.PrintStream.println:(Ljava/lang/String;)V
2: aload 1
invokestatic org.hibernate.internal.util.BytesHelper.toInt:([B)I
istore 2
start local 2 3: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "ip address int : "
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;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: iload 2
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
astore 3
start local 3 5: new java.lang.StringBuilder
dup
ldc "00000000"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 4
start local 4 6: aload 4
bipush 8
aload 3
invokevirtual java.lang.String.length:()I
isub
bipush 8
aload 3
invokevirtual java.lang.StringBuilder.replace:(IILjava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 8: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "ip address hex : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: 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 10 0 args [Ljava/lang/String;
1 10 1 addressBytes [B
3 10 2 addressInt I
5 10 3 formatted Ljava/lang/String;
6 10 4 buf Ljava/lang/StringBuilder;
8 10 5 addressHex Ljava/lang/String;
Exceptions:
throws java.net.UnknownHostException
RuntimeInvisibleAnnotations:
org.hibernate.internal.build.AllowSysOut()
MethodParameters:
Name Flags
args
}
SourceFile: "Helper.java"