public class org.hibernate.cfg.DefaultComponentSafeNamingStrategy extends org.hibernate.cfg.EJB3NamingStrategy
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.cfg.DefaultComponentSafeNamingStrategy
super_class: org.hibernate.cfg.EJB3NamingStrategy
{
public static final org.hibernate.cfg.NamingStrategy INSTANCE;
descriptor: Lorg/hibernate/cfg/NamingStrategy;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.hibernate.cfg.DefaultComponentSafeNamingStrategy
dup
invokespecial org.hibernate.cfg.DefaultComponentSafeNamingStrategy.<init>:()V
putstatic org.hibernate.cfg.DefaultComponentSafeNamingStrategy.INSTANCE:Lorg/hibernate/cfg/NamingStrategy;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.hibernate.cfg.EJB3NamingStrategy.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cfg/DefaultComponentSafeNamingStrategy;
protected static java.lang.String addUnderscores(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
bipush 46
bipush 95
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.lang.String propertyToColumnName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.hibernate.cfg.DefaultComponentSafeNamingStrategy.addUnderscores:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cfg/DefaultComponentSafeNamingStrategy;
0 1 1 propertyName Ljava/lang/String;
MethodParameters:
Name Flags
propertyName
public java.lang.String collectionTableName(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
1: new java.lang.StringBuilder
dup
aload 2
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "_"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 4
ifnull 4
3: aload 4
goto 5
4: StackMap locals: org.hibernate.cfg.DefaultComponentSafeNamingStrategy java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack: org.hibernate.cfg.DefaultComponentSafeNamingStrategy java.lang.StringBuilder
aload 5
invokestatic org.hibernate.cfg.DefaultComponentSafeNamingStrategy.addUnderscores:(Ljava/lang/String;)Ljava/lang/String;
5: StackMap locals: org.hibernate.cfg.DefaultComponentSafeNamingStrategy java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack: org.hibernate.cfg.DefaultComponentSafeNamingStrategy java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokevirtual org.hibernate.cfg.DefaultComponentSafeNamingStrategy.tableName:(Ljava/lang/String;)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 8 0 this Lorg/hibernate/cfg/DefaultComponentSafeNamingStrategy;
0 8 1 ownerEntity Ljava/lang/String;
0 8 2 ownerEntityTable Ljava/lang/String;
0 8 3 associatedEntity Ljava/lang/String;
0 8 4 associatedEntityTable Ljava/lang/String;
0 8 5 propertyName Ljava/lang/String;
MethodParameters:
Name Flags
ownerEntity
ownerEntityTable
associatedEntity
associatedEntityTable
propertyName
public java.lang.String foreignKeyColumnName(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ifnull 1
aload 1
invokestatic org.hibernate.cfg.DefaultComponentSafeNamingStrategy.addUnderscores:(Ljava/lang/String;)Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: aload 3
StackMap locals:
StackMap stack: java.lang.String
2: astore 5
start local 5 3: aload 5
ifnonnull 4
new org.hibernate.AssertionFailure
dup
ldc "NamingStrategy not properly filled"
invokespecial org.hibernate.AssertionFailure.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
aload 5
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;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.hibernate.cfg.DefaultComponentSafeNamingStrategy.columnName:(Ljava/lang/String;)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 5 0 this Lorg/hibernate/cfg/DefaultComponentSafeNamingStrategy;
0 5 1 propertyName Ljava/lang/String;
0 5 2 propertyEntityName Ljava/lang/String;
0 5 3 propertyTableName Ljava/lang/String;
0 5 4 referencedColumnName Ljava/lang/String;
3 5 5 header Ljava/lang/String;
MethodParameters:
Name Flags
propertyName
propertyEntityName
propertyTableName
referencedColumnName
public java.lang.String logicalColumnName(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.hibernate.internal.util.StringHelper.isNotEmpty:(Ljava/lang/String;)Z
ifeq 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 2
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/cfg/DefaultComponentSafeNamingStrategy;
0 3 1 columnName Ljava/lang/String;
0 3 2 propertyName Ljava/lang/String;
MethodParameters:
Name Flags
columnName
propertyName
public java.lang.String logicalCollectionTableName(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ifnull 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuffer
dup
aload 2
invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
ldc "_"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
3: aload 3
ifnull 5
4: aload 3
goto 6
5: StackMap locals:
StackMap stack: java.lang.StringBuffer
aload 4
6: StackMap locals: org.hibernate.cfg.DefaultComponentSafeNamingStrategy java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack: java.lang.StringBuffer java.lang.String
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
7: invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
8: areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/hibernate/cfg/DefaultComponentSafeNamingStrategy;
0 9 1 tableName Ljava/lang/String;
0 9 2 ownerEntityTable Ljava/lang/String;
0 9 3 associatedEntityTable Ljava/lang/String;
0 9 4 propertyName Ljava/lang/String;
MethodParameters:
Name Flags
tableName
ownerEntityTable
associatedEntityTable
propertyName
public java.lang.String logicalCollectionColumnName(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.hibernate.internal.util.StringHelper.isNotEmpty:(Ljava/lang/String;)Z
ifeq 2
1: aload 1
goto 3
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 2
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;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/cfg/DefaultComponentSafeNamingStrategy;
0 4 1 columnName Ljava/lang/String;
0 4 2 propertyName Ljava/lang/String;
0 4 3 referencedColumn Ljava/lang/String;
MethodParameters:
Name Flags
columnName
propertyName
referencedColumn
}
SourceFile: "DefaultComponentSafeNamingStrategy.java"