public class org.hibernate.mapping.ForeignKey extends org.hibernate.mapping.Constraint
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.mapping.ForeignKey
super_class: org.hibernate.mapping.Constraint
{
private org.hibernate.mapping.Table referencedTable;
descriptor: Lorg/hibernate/mapping/Table;
flags: (0x0002) ACC_PRIVATE
private java.lang.String referencedEntityName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean cascadeDeleteEnabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.List referencedColumns;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.hibernate.mapping.Constraint.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.hibernate.mapping.ForeignKey.referencedColumns:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/mapping/ForeignKey;
public java.lang.String sqlConstraintString(org.hibernate.dialect.Dialect, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Lorg/hibernate/dialect/Dialect;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getColumnSpan:()I
anewarray java.lang.String
astore 5
start local 5 1: aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getColumnSpan:()I
anewarray java.lang.String
astore 6
start local 6 2: iconst_0
istore 7
start local 7 3: aconst_null
astore 8
start local 8 4: aload 0
invokevirtual org.hibernate.mapping.ForeignKey.isReferenceToPrimaryKey:()Z
ifeq 7
5: aload 0
getfield org.hibernate.mapping.ForeignKey.referencedTable:Lorg/hibernate/mapping/Table;
invokevirtual org.hibernate.mapping.Table.getPrimaryKey:()Lorg/hibernate/mapping/PrimaryKey;
invokevirtual org.hibernate.mapping.PrimaryKey.getColumnIterator:()Ljava/util/Iterator;
astore 8
6: goto 8
7: StackMap locals: org.hibernate.mapping.ForeignKey org.hibernate.dialect.Dialect java.lang.String java.lang.String java.lang.String java.lang.String[] java.lang.String[] int java.util.Iterator
StackMap stack:
aload 0
getfield org.hibernate.mapping.ForeignKey.referencedColumns:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getColumnIterator:()Ljava/util/Iterator;
astore 9
start local 9 9: goto 13
10: StackMap locals: java.util.Iterator
StackMap stack:
aload 5
iload 7
aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Column
aload 1
invokevirtual org.hibernate.mapping.Column.getQuotedName:(Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
aastore
11: aload 6
iload 7
aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Column
aload 1
invokevirtual org.hibernate.mapping.Column.getQuotedName:(Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
aastore
12: iinc 7 1
13: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
14: aload 1
15: aload 2
aload 5
aload 0
getfield org.hibernate.mapping.ForeignKey.referencedTable:Lorg/hibernate/mapping/Table;
aload 1
aload 3
aload 4
invokevirtual org.hibernate.mapping.Table.getQualifiedName:(Lorg/hibernate/dialect/Dialect;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
aload 6
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.isReferenceToPrimaryKey:()Z
16: invokevirtual org.hibernate.dialect.Dialect.getAddForeignKeyConstraintString:(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Z)Ljava/lang/String;
astore 10
start local 10 17: aload 0
getfield org.hibernate.mapping.ForeignKey.cascadeDeleteEnabled:Z
ifeq 19
aload 1
invokevirtual org.hibernate.dialect.Dialect.supportsCascadeDelete:()Z
ifeq 19
18: new java.lang.StringBuilder
dup
aload 10
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " on delete cascade"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 20
19: StackMap locals: java.lang.String
StackMap stack:
aload 10
20: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 10 end local 9 end local 8 end local 7 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 21 0 this Lorg/hibernate/mapping/ForeignKey;
0 21 1 dialect Lorg/hibernate/dialect/Dialect;
0 21 2 constraintName Ljava/lang/String;
0 21 3 defaultCatalog Ljava/lang/String;
0 21 4 defaultSchema Ljava/lang/String;
1 21 5 cols [Ljava/lang/String;
2 21 6 refcols [Ljava/lang/String;
3 21 7 i I
4 21 8 refiter Ljava/util/Iterator;
9 21 9 iter Ljava/util/Iterator;
17 21 10 result Ljava/lang/String;
MethodParameters:
Name Flags
dialect
constraintName
defaultCatalog
defaultSchema
public org.hibernate.mapping.Table getReferencedTable();
descriptor: ()Lorg/hibernate/mapping/Table;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.ForeignKey.referencedTable:Lorg/hibernate/mapping/Table;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ForeignKey;
private void appendColumns(java.lang.StringBuilder, java.util.Iterator);
descriptor: (Ljava/lang/StringBuilder;Ljava/util/Iterator;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: goto 4
1: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Column
astore 3
start local 3 2: aload 1
aload 3
invokevirtual org.hibernate.mapping.Column.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 4
aload 1
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/mapping/ForeignKey;
0 6 1 buf Ljava/lang/StringBuilder;
0 6 2 columns Ljava/util/Iterator;
2 4 3 column Lorg/hibernate/mapping/Column;
MethodParameters:
Name Flags
buf
columns
public void setReferencedTable(org.hibernate.mapping.Table);
descriptor: (Lorg/hibernate/mapping/Table;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.hibernate.mapping.ForeignKey.referencedTable:Lorg/hibernate/mapping/Table;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/ForeignKey;
0 2 1 referencedTable Lorg/hibernate/mapping/Table;
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
referencedTable
public void alignColumns();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.mapping.ForeignKey.isReferenceToPrimaryKey:()Z
ifeq 1
aload 0
aload 0
getfield org.hibernate.mapping.ForeignKey.referencedTable:Lorg/hibernate/mapping/Table;
invokevirtual org.hibernate.mapping.ForeignKey.alignColumns:(Lorg/hibernate/mapping/Table;)V
1: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/ForeignKey;
private void alignColumns(org.hibernate.mapping.Table);
descriptor: (Lorg/hibernate/mapping/Table;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.hibernate.mapping.Table.getPrimaryKey:()Lorg/hibernate/mapping/PrimaryKey;
invokevirtual org.hibernate.mapping.PrimaryKey.getColumnSpan:()I
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getColumnSpan:()I
if_icmpeq 14
1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 2: aload 2
ldc "Foreign key ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: new java.lang.StringBuilder
dup
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getName:()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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getTable:()Lorg/hibernate/mapping/Table;
invokevirtual org.hibernate.mapping.Table.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc " ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 0
aload 2
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getColumnIterator:()Ljava/util/Iterator;
invokevirtual org.hibernate.mapping.ForeignKey.appendColumns:(Ljava/lang/StringBuilder;Ljava/util/Iterator;)V
7: aload 2
ldc "])"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: ldc ") must have same number of columns as the referenced primary key ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: aload 1
invokevirtual org.hibernate.mapping.Table.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: ldc " ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 0
aload 2
aload 1
invokevirtual org.hibernate.mapping.Table.getPrimaryKey:()Lorg/hibernate/mapping/PrimaryKey;
invokevirtual org.hibernate.mapping.PrimaryKey.getColumnIterator:()Ljava/util/Iterator;
invokevirtual org.hibernate.mapping.ForeignKey.appendColumns:(Ljava/lang/StringBuilder;Ljava/util/Iterator;)V
12: aload 2
ldc "])"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: new org.hibernate.MappingException
dup
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;)V
athrow
end local 2 14: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getColumnIterator:()Ljava/util/Iterator;
astore 2
start local 2 15: aload 1
invokevirtual org.hibernate.mapping.Table.getPrimaryKey:()Lorg/hibernate/mapping/PrimaryKey;
invokevirtual org.hibernate.mapping.PrimaryKey.getColumnIterator:()Ljava/util/Iterator;
astore 3
start local 3 16: goto 18
17: StackMap locals: java.util.Iterator java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Column
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Column
invokevirtual org.hibernate.mapping.Column.getLength:()I
invokevirtual org.hibernate.mapping.Column.setLength:(I)V
18: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
19: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/hibernate/mapping/ForeignKey;
0 20 1 referencedTable Lorg/hibernate/mapping/Table;
2 14 2 sb Ljava/lang/StringBuilder;
15 20 2 fkCols Ljava/util/Iterator;
16 20 3 pkCols Ljava/util/Iterator;
MethodParameters:
Name Flags
referencedTable
public java.lang.String getReferencedEntityName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.ForeignKey.referencedEntityName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ForeignKey;
public void setReferencedEntityName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.hibernate.mapping.ForeignKey.referencedEntityName:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/ForeignKey;
0 2 1 referencedEntityName Ljava/lang/String;
MethodParameters:
Name Flags
referencedEntityName
public java.lang.String sqlDropString(org.hibernate.dialect.Dialect, java.lang.String, java.lang.String);
descriptor: (Lorg/hibernate/dialect/Dialect;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.StringBuilder
dup
ldc "alter table "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 4
start local 4 1: aload 4
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getTable:()Lorg/hibernate/mapping/Table;
aload 1
aload 2
aload 3
invokevirtual org.hibernate.mapping.Table.getQualifiedName:(Lorg/hibernate/dialect/Dialect;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 4
aload 1
invokevirtual org.hibernate.dialect.Dialect.getDropForeignKeyString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
invokevirtual org.hibernate.dialect.Dialect.supportsIfExistsBeforeConstraintName:()Z
ifeq 5
4: aload 4
ldc "if exists "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 4
aload 1
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getName:()Ljava/lang/String;
invokevirtual org.hibernate.dialect.Dialect.quote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
invokevirtual org.hibernate.dialect.Dialect.supportsIfExistsAfterConstraintName:()Z
ifeq 8
7: aload 4
ldc " if exists"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.StringBuilder.toString:()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 9 0 this Lorg/hibernate/mapping/ForeignKey;
0 9 1 dialect Lorg/hibernate/dialect/Dialect;
0 9 2 defaultCatalog Ljava/lang/String;
0 9 3 defaultSchema Ljava/lang/String;
1 9 4 buf Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
dialect
defaultCatalog
defaultSchema
public boolean isCascadeDeleteEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.ForeignKey.cascadeDeleteEnabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ForeignKey;
public void setCascadeDeleteEnabled(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.hibernate.mapping.ForeignKey.cascadeDeleteEnabled:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/ForeignKey;
0 2 1 cascadeDeleteEnabled Z
MethodParameters:
Name Flags
cascadeDeleteEnabled
public boolean isPhysicalConstraint();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.ForeignKey.referencedTable:Lorg/hibernate/mapping/Table;
invokevirtual org.hibernate.mapping.Table.isPhysicalTable:()Z
ifeq 4
1: aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getTable:()Lorg/hibernate/mapping/Table;
invokevirtual org.hibernate.mapping.Table.isPhysicalTable:()Z
ifeq 4
2: aload 0
getfield org.hibernate.mapping.ForeignKey.referencedTable:Lorg/hibernate/mapping/Table;
invokevirtual org.hibernate.mapping.Table.hasDenormalizedTables:()Z
ifne 4
3: iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/mapping/ForeignKey;
public java.util.List getReferencedColumns();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.ForeignKey.referencedColumns:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ForeignKey;
public boolean isReferenceToPrimaryKey();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.ForeignKey.referencedColumns:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ForeignKey;
public void addReferencedColumns(java.util.Iterator);
descriptor: (Ljava/util/Iterator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: goto 3
1: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Selectable
astore 2
start local 2 2: aload 2
invokeinterface org.hibernate.mapping.Selectable.isFormula:()Z
ifne 3
aload 0
aload 2
checkcast org.hibernate.mapping.Column
invokevirtual org.hibernate.mapping.ForeignKey.addReferencedColumn:(Lorg/hibernate/mapping/Column;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/mapping/ForeignKey;
0 5 1 referencedColumnsIterator Ljava/util/Iterator;
2 3 2 col Lorg/hibernate/mapping/Selectable;
MethodParameters:
Name Flags
referencedColumnsIterator
private void addReferencedColumn(org.hibernate.mapping.Column);
descriptor: (Lorg/hibernate/mapping/Column;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.mapping.ForeignKey.referencedColumns:Ljava/util/List;
aload 1
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 1
aload 0
getfield org.hibernate.mapping.ForeignKey.referencedColumns:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/ForeignKey;
0 2 1 column Lorg/hibernate/mapping/Column;
MethodParameters:
Name Flags
column
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.mapping.ForeignKey.isReferenceToPrimaryKey:()Z
ifne 5
1: new java.lang.StringBuilder
dup
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getTable:()Lorg/hibernate/mapping/Table;
invokevirtual org.hibernate.mapping.Table.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getColumns:()Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 2: aload 1
new java.lang.StringBuilder
dup
ldc " ref-columns:("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getReferencedColumns:()Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
new java.lang.StringBuilder
dup
ldc ") as "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 5: StackMap locals:
StackMap stack:
aload 0
invokespecial org.hibernate.mapping.Constraint.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/mapping/ForeignKey;
2 5 1 result Ljava/lang/StringBuilder;
public java.lang.String generatedConstraintNamePrefix();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "FK_"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ForeignKey;
}
SourceFile: "ForeignKey.java"