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 java.lang.String keyDefinition;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean cascadeDeleteEnabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.List<org.hibernate.mapping.Column> referencedColumns;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/hibernate/mapping/Column;>;
private boolean creationEnabled;
descriptor: Z
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: aload 0
iconst_1
putfield org.hibernate.mapping.ForeignKey.creationEnabled:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/mapping/ForeignKey;
public java.lang.String getExportIdentifier();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getTable:()Lorg/hibernate/mapping/Table;
invokevirtual org.hibernate.mapping.Table.getName:()Ljava/lang/String;
new java.lang.StringBuilder
dup
ldc "FK-"
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;
invokestatic org.hibernate.internal.util.StringHelper.qualify:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ForeignKey;
public void disableCreation();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield org.hibernate.mapping.ForeignKey.creationEnabled:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/ForeignKey;
public boolean isCreationEnabled();
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.creationEnabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ForeignKey;
public void setName(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
invokespecial org.hibernate.mapping.Constraint.setName:(Ljava/lang/String;)V
1: ldc "none"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: aload 0
invokevirtual org.hibernate.mapping.ForeignKey.disableCreation:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/mapping/ForeignKey;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
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: aload 0
invokevirtual org.hibernate.mapping.ForeignKey.isReferenceToPrimaryKey:()Z
ifeq 5
3: 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 7
start local 7 4: goto 6
end local 7 5: StackMap locals: java.lang.String[] java.lang.String[]
StackMap stack:
aload 0
getfield org.hibernate.mapping.ForeignKey.referencedColumns:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
start local 7 6: StackMap locals: java.util.Iterator
StackMap stack:
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getColumnIterator:()Ljava/util/Iterator;
astore 8
start local 8 7: iconst_0
istore 9
start local 9 8: goto 12
9: StackMap locals: java.util.Iterator int
StackMap stack:
aload 5
iload 9
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
10: aload 6
iload 9
aload 7
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: iinc 9 1
12: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
13: aload 0
getfield org.hibernate.mapping.ForeignKey.keyDefinition:Ljava/lang/String;
ifnull 19
14: aload 1
15: aload 2
16: aload 0
getfield org.hibernate.mapping.ForeignKey.keyDefinition:Ljava/lang/String;
17: invokevirtual org.hibernate.dialect.Dialect.getAddForeignKeyConstraintString:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
18: goto 30
19: StackMap locals:
StackMap stack:
aload 1
20: aload 2
21: aload 5
22: aload 0
getfield org.hibernate.mapping.ForeignKey.referencedTable:Lorg/hibernate/mapping/Table;
23: aload 1
24: aload 3
25: aload 4
26: invokevirtual org.hibernate.mapping.Table.getQualifiedName:(Lorg/hibernate/dialect/Dialect;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
27: aload 6
28: aload 0
invokevirtual org.hibernate.mapping.ForeignKey.isReferenceToPrimaryKey:()Z
29: invokevirtual org.hibernate.dialect.Dialect.getAddForeignKeyConstraintString:(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Z)Ljava/lang/String;
30: StackMap locals:
StackMap stack: java.lang.String
astore 10
start local 10 31: aload 0
getfield org.hibernate.mapping.ForeignKey.cascadeDeleteEnabled:Z
ifeq 33
aload 1
invokevirtual org.hibernate.dialect.Dialect.supportsCascadeDelete:()Z
ifeq 33
32: 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 34
33: StackMap locals: java.lang.String
StackMap stack:
aload 10
34: 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 35 0 this Lorg/hibernate/mapping/ForeignKey;
0 35 1 dialect Lorg/hibernate/dialect/Dialect;
0 35 2 constraintName Ljava/lang/String;
0 35 3 defaultCatalog Ljava/lang/String;
0 35 4 defaultSchema Ljava/lang/String;
1 35 5 columnNames [Ljava/lang/String;
2 35 6 referencedColumnNames [Ljava/lang/String;
4 5 7 referencedColumnItr Ljava/util/Iterator<Lorg/hibernate/mapping/Column;>;
6 35 7 referencedColumnItr Ljava/util/Iterator<Lorg/hibernate/mapping/Column;>;
7 35 8 columnItr Ljava/util/Iterator;
8 35 9 i I
31 35 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 5
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 5
4: aload 1
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/mapping/ForeignKey;
0 7 1 buf Ljava/lang/StringBuilder;
0 7 2 columns Ljava/util/Iterator;
2 5 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 2
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
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 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=3, locals=5, 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
istore 2
start local 2 1: iload 2
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getColumnSpan:()I
if_icmpeq 14
2: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 3: aload 3
ldc "Foreign key ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getName:()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;
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 3
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 3
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 3
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 3
ldc "])"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: new org.hibernate.MappingException
dup
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;)V
athrow
end local 3 14: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getColumnIterator:()Ljava/util/Iterator;
astore 3
start local 3 15: aload 1
invokevirtual org.hibernate.mapping.Table.getPrimaryKey:()Lorg/hibernate/mapping/PrimaryKey;
invokevirtual org.hibernate.mapping.PrimaryKey.getColumnIterator:()Ljava/util/Iterator;
astore 4
start local 4 16: goto 18
17: StackMap locals: java.util.Iterator java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Column
aload 4
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 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
19: return
end local 4 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;
1 20 2 referencedPkColumnSpan I
3 14 3 sb Ljava/lang/StringBuilder;
15 20 3 fkCols Ljava/util/Iterator;
16 20 4 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 getKeyDefinition();
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.keyDefinition:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ForeignKey;
public void setKeyDefinition(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.keyDefinition: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 keyDefinition Ljava/lang/String;
MethodParameters:
Name Flags
keyDefinition
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=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: 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;
astore 4
start local 4 1: new java.lang.StringBuilder
dup
aload 1
aload 4
invokevirtual org.hibernate.dialect.Dialect.getAlterTableString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 5
start local 5 2: aload 5
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 5
ldc "if exists "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: StackMap locals: java.lang.String java.lang.StringBuilder
StackMap stack:
aload 5
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 5
ldc " if exists"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: StackMap locals:
StackMap stack:
aload 5
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 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 tableName Ljava/lang/String;
2 9 5 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 4
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 4
3: aload 0
aload 2
checkcast org.hibernate.mapping.Column
invokevirtual org.hibernate.mapping.ForeignKey.addReferencedColumn:(Lorg/hibernate/mapping/Column;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/mapping/ForeignKey;
0 6 1 referencedColumnsIterator Ljava/util/Iterator;
2 4 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 2
1: aload 0
getfield org.hibernate.mapping.ForeignKey.referencedColumns:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/mapping/ForeignKey;
0 3 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=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.mapping.ForeignKey.isReferenceToPrimaryKey:()Z
ifne 5
1: 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
2: 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;
3: ldc " ref-columns:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getReferencedColumns:()Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ") as "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.hibernate.mapping.ForeignKey.getName:()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;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
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;
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"