public class org.hibernate.boot.model.naming.NamingHelper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.boot.model.naming.NamingHelper
super_class: java.lang.Object
{
public static final org.hibernate.boot.model.naming.NamingHelper INSTANCE;
descriptor: Lorg/hibernate/boot/model/naming/NamingHelper;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final java.lang.String charset;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.hibernate.boot.model.naming.NamingHelper
dup
invokespecial org.hibernate.boot.model.naming.NamingHelper.<init>:()V
putstatic org.hibernate.boot.model.naming.NamingHelper.INSTANCE:Lorg/hibernate/boot/model/naming/NamingHelper;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.hibernate.boot.model.naming.NamingHelper withCharset(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/boot/model/naming/NamingHelper;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.hibernate.boot.model.naming.NamingHelper
dup
aload 0
invokespecial org.hibernate.boot.model.naming.NamingHelper.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 charset Ljava/lang/String;
MethodParameters:
Name Flags
charset
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial org.hibernate.boot.model.naming.NamingHelper.<init>:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/boot/model/naming/NamingHelper;
private void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.hibernate.boot.model.naming.NamingHelper.charset:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/boot/model/naming/NamingHelper;
0 3 1 charset Ljava/lang/String;
MethodParameters:
Name Flags
charset
public java.lang.String generateHashedFkName(java.lang.String, org.hibernate.boot.model.naming.Identifier, org.hibernate.boot.model.naming.Identifier, java.util.List<org.hibernate.boot.model.naming.Identifier>);
descriptor: (Ljava/lang/String;Lorg/hibernate/boot/model/naming/Identifier;Lorg/hibernate/boot/model/naming/Identifier;Ljava/util/List;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
ifnull 1
aload 4
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
1: StackMap locals:
StackMap stack:
iconst_0
anewarray org.hibernate.boot.model.naming.Identifier
astore 5
start local 5 2: goto 4
end local 5 3: StackMap locals:
StackMap stack:
aload 4
aload 4
invokeinterface java.util.List.size:()I
anewarray org.hibernate.boot.model.naming.Identifier
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.hibernate.boot.model.naming.Identifier[]
astore 5
start local 5 4: StackMap locals: org.hibernate.boot.model.naming.Identifier[]
StackMap stack:
aload 0
5: aload 1
6: aload 2
7: aload 3
8: aload 5
9: invokevirtual org.hibernate.boot.model.naming.NamingHelper.generateHashedFkName:(Ljava/lang/String;Lorg/hibernate/boot/model/naming/Identifier;Lorg/hibernate/boot/model/naming/Identifier;[Lorg/hibernate/boot/model/naming/Identifier;)Ljava/lang/String;
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 10 0 this Lorg/hibernate/boot/model/naming/NamingHelper;
0 10 1 prefix Ljava/lang/String;
0 10 2 tableName Lorg/hibernate/boot/model/naming/Identifier;
0 10 3 referencedTableName Lorg/hibernate/boot/model/naming/Identifier;
0 10 4 columnNames Ljava/util/List<Lorg/hibernate/boot/model/naming/Identifier;>;
2 3 5 columnNamesArray [Lorg/hibernate/boot/model/naming/Identifier;
4 10 5 columnNamesArray [Lorg/hibernate/boot/model/naming/Identifier;
Signature: (Ljava/lang/String;Lorg/hibernate/boot/model/naming/Identifier;Lorg/hibernate/boot/model/naming/Identifier;Ljava/util/List<Lorg/hibernate/boot/model/naming/Identifier;>;)Ljava/lang/String;
MethodParameters:
Name Flags
prefix
tableName
referencedTableName
columnNames
public java.lang.String generateHashedFkName(java.lang.String, org.hibernate.boot.model.naming.Identifier, org.hibernate.boot.model.naming.Identifier, org.hibernate.boot.model.naming.Identifier[]);
descriptor: (Ljava/lang/String;Lorg/hibernate/boot/model/naming/Identifier;Lorg/hibernate/boot/model/naming/Identifier;[Lorg/hibernate/boot/model/naming/Identifier;)Ljava/lang/String;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
1: ldc "table`"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "`"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc "references`"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "`"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: astore 5
start local 5 4: aload 4
invokevirtual org.hibernate.boot.model.naming.Identifier[].clone:()Ljava/lang/Object;
checkcast org.hibernate.boot.model.naming.Identifier[]
astore 6
start local 6 5: aload 6
6: new org.hibernate.boot.model.naming.NamingHelper$1
dup
aload 0
invokespecial org.hibernate.boot.model.naming.NamingHelper$1.<init>:(Lorg/hibernate/boot/model/naming/NamingHelper;)V
7: invokestatic java.util.Arrays.sort:([Ljava/lang/Object;Ljava/util/Comparator;)V
8: aload 6
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 12
StackMap locals: org.hibernate.boot.model.naming.NamingHelper java.lang.String org.hibernate.boot.model.naming.Identifier org.hibernate.boot.model.naming.Identifier org.hibernate.boot.model.naming.Identifier[] java.lang.StringBuilder org.hibernate.boot.model.naming.Identifier[] top int int org.hibernate.boot.model.naming.Identifier[]
StackMap stack:
9: aload 10
iload 8
aaload
astore 7
start local 7 10: aload 5
ldc "column`"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "`"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 7 11: iinc 8 1
StackMap locals:
StackMap stack:
12: iload 8
iload 9
if_icmplt 9
13: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.hibernate.boot.model.naming.NamingHelper.hashedName:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
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 14 0 this Lorg/hibernate/boot/model/naming/NamingHelper;
0 14 1 prefix Ljava/lang/String;
0 14 2 tableName Lorg/hibernate/boot/model/naming/Identifier;
0 14 3 referencedTableName Lorg/hibernate/boot/model/naming/Identifier;
0 14 4 columnNames [Lorg/hibernate/boot/model/naming/Identifier;
4 14 5 sb Ljava/lang/StringBuilder;
5 14 6 alphabeticalColumns [Lorg/hibernate/boot/model/naming/Identifier;
10 11 7 columnName Lorg/hibernate/boot/model/naming/Identifier;
MethodParameters:
Name Flags
prefix
tableName
referencedTableName
columnNames
public java.lang.String generateHashedConstraintName(java.lang.String, org.hibernate.boot.model.naming.Identifier, org.hibernate.boot.model.naming.Identifier[]);
descriptor: (Ljava/lang/String;Lorg/hibernate/boot/model/naming/Identifier;[Lorg/hibernate/boot/model/naming/Identifier;)Ljava/lang/String;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.StringBuilder
dup
new java.lang.StringBuilder
dup
ldc "table`"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
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;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 4
start local 4 1: aload 3
invokevirtual org.hibernate.boot.model.naming.Identifier[].clone:()Ljava/lang/Object;
checkcast org.hibernate.boot.model.naming.Identifier[]
astore 5
start local 5 2: aload 5
3: new org.hibernate.boot.model.naming.NamingHelper$2
dup
aload 0
invokespecial org.hibernate.boot.model.naming.NamingHelper$2.<init>:(Lorg/hibernate/boot/model/naming/NamingHelper;)V
4: invokestatic java.util.Arrays.sort:([Ljava/lang/Object;Ljava/util/Comparator;)V
5: aload 5
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 9
StackMap locals: org.hibernate.boot.model.naming.NamingHelper java.lang.String org.hibernate.boot.model.naming.Identifier org.hibernate.boot.model.naming.Identifier[] java.lang.StringBuilder org.hibernate.boot.model.naming.Identifier[] top int int org.hibernate.boot.model.naming.Identifier[]
StackMap stack:
6: aload 9
iload 7
aaload
astore 6
start local 6 7: aload 4
ldc "column`"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "`"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 6 8: iinc 7 1
StackMap locals:
StackMap stack:
9: iload 7
iload 8
if_icmplt 6
10: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.hibernate.boot.model.naming.NamingHelper.hashedName:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
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 11 0 this Lorg/hibernate/boot/model/naming/NamingHelper;
0 11 1 prefix Ljava/lang/String;
0 11 2 tableName Lorg/hibernate/boot/model/naming/Identifier;
0 11 3 columnNames [Lorg/hibernate/boot/model/naming/Identifier;
1 11 4 sb Ljava/lang/StringBuilder;
2 11 5 alphabeticalColumns [Lorg/hibernate/boot/model/naming/Identifier;
7 8 6 columnName Lorg/hibernate/boot/model/naming/Identifier;
MethodParameters:
Name Flags
prefix
tableName
columnNames
public java.lang.String generateHashedConstraintName(java.lang.String, org.hibernate.boot.model.naming.Identifier, java.util.List<org.hibernate.boot.model.naming.Identifier>);
descriptor: (Ljava/lang/String;Lorg/hibernate/boot/model/naming/Identifier;Ljava/util/List;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokeinterface java.util.List.size:()I
anewarray org.hibernate.boot.model.naming.Identifier
astore 4
start local 4 1: iconst_0
istore 5
start local 5 2: goto 5
3: StackMap locals: org.hibernate.boot.model.naming.Identifier[] int
StackMap stack:
aload 4
iload 5
aload 3
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.hibernate.boot.model.naming.Identifier
aastore
4: iinc 5 1
StackMap locals:
StackMap stack:
5: iload 5
aload 3
invokeinterface java.util.List.size:()I
if_icmplt 3
end local 5 6: aload 0
aload 1
aload 2
aload 4
invokevirtual org.hibernate.boot.model.naming.NamingHelper.generateHashedConstraintName:(Ljava/lang/String;Lorg/hibernate/boot/model/naming/Identifier;[Lorg/hibernate/boot/model/naming/Identifier;)Ljava/lang/String;
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 this Lorg/hibernate/boot/model/naming/NamingHelper;
0 7 1 prefix Ljava/lang/String;
0 7 2 tableName Lorg/hibernate/boot/model/naming/Identifier;
0 7 3 columnNames Ljava/util/List<Lorg/hibernate/boot/model/naming/Identifier;>;
1 7 4 columnNamesArray [Lorg/hibernate/boot/model/naming/Identifier;
2 6 5 i I
Signature: (Ljava/lang/String;Lorg/hibernate/boot/model/naming/Identifier;Ljava/util/List<Lorg/hibernate/boot/model/naming/Identifier;>;)Ljava/lang/String;
MethodParameters:
Name Flags
prefix
tableName
columnNames
public java.lang.String hashedName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: ldc "MD5"
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
astore 2
start local 2 1: aload 2
invokevirtual java.security.MessageDigest.reset:()V
2: aload 2
aload 0
getfield org.hibernate.boot.model.naming.NamingHelper.charset:Ljava/lang/String;
ifnull 3
aload 1
aload 0
getfield org.hibernate.boot.model.naming.NamingHelper.charset:Ljava/lang/String;
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
goto 4
StackMap locals: org.hibernate.boot.model.naming.NamingHelper java.lang.String java.security.MessageDigest
StackMap stack: java.security.MessageDigest
3: aload 1
invokevirtual java.lang.String.getBytes:()[B
StackMap locals: org.hibernate.boot.model.naming.NamingHelper java.lang.String java.security.MessageDigest
StackMap stack: java.security.MessageDigest byte[]
4: invokevirtual java.security.MessageDigest.update:([B)V
5: aload 2
invokevirtual java.security.MessageDigest.digest:()[B
astore 3
start local 3 6: new java.math.BigInteger
dup
iconst_1
aload 3
invokespecial java.math.BigInteger.<init>:(I[B)V
astore 4
start local 4 7: aload 4
bipush 35
invokevirtual java.math.BigInteger.toString:(I)Ljava/lang/String;
8: areturn
end local 4 end local 3 end local 2 9: StackMap locals: org.hibernate.boot.model.naming.NamingHelper java.lang.String
StackMap stack: java.lang.Exception
astore 2
start local 2 10: new org.hibernate.HibernateException
dup
ldc "Unable to generate a hashed name!"
aload 2
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/hibernate/boot/model/naming/NamingHelper;
0 11 1 s Ljava/lang/String;
1 9 2 md Ljava/security/MessageDigest;
6 9 3 digest [B
7 9 4 bigInt Ljava/math/BigInteger;
10 11 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 8 9 Class java.security.NoSuchAlgorithmException
0 8 9 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
s
}
SourceFile: "NamingHelper.java"
NestMembers:
org.hibernate.boot.model.naming.NamingHelper$1 org.hibernate.boot.model.naming.NamingHelper$2
InnerClasses:
org.hibernate.boot.model.naming.NamingHelper$1
org.hibernate.boot.model.naming.NamingHelper$2