public class org.hibernate.metamodel.relational.ForeignKey extends org.hibernate.metamodel.relational.AbstractConstraint implements org.hibernate.metamodel.relational.Constraint, org.hibernate.metamodel.relational.Exportable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.metamodel.relational.ForeignKey
super_class: org.hibernate.metamodel.relational.AbstractConstraint
{
private static final org.jboss.logging.Logger LOG;
descriptor: Lorg/jboss/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String ON_DELETE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: " on delete "
private static final java.lang.String ON_UPDATE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: " on update "
private final org.hibernate.metamodel.relational.TableSpecification targetTable;
descriptor: Lorg/hibernate/metamodel/relational/TableSpecification;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.List<org.hibernate.metamodel.relational.Column> targetColumns;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/hibernate/metamodel/relational/Column;>;
private org.hibernate.metamodel.relational.ForeignKey$ReferentialAction deleteRule;
descriptor: Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
flags: (0x0002) ACC_PRIVATE
private org.hibernate.metamodel.relational.ForeignKey$ReferentialAction updateRule;
descriptor: Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/metamodel/relational/ForeignKey;
invokestatic org.jboss.logging.Logger.getLogger:(Ljava/lang/Class;)Lorg/jboss/logging/Logger;
putstatic org.hibernate.metamodel.relational.ForeignKey.LOG:Lorg/jboss/logging/Logger;
1: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.hibernate.metamodel.relational.TableSpecification, org.hibernate.metamodel.relational.TableSpecification, java.lang.String);
descriptor: (Lorg/hibernate/metamodel/relational/TableSpecification;Lorg/hibernate/metamodel/relational/TableSpecification;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
invokespecial org.hibernate.metamodel.relational.AbstractConstraint.<init>:(Lorg/hibernate/metamodel/relational/TableSpecification;Ljava/lang/String;)V
1: aload 0
getstatic org.hibernate.metamodel.relational.ForeignKey$ReferentialAction.NO_ACTION:Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
putfield org.hibernate.metamodel.relational.ForeignKey.deleteRule:Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
2: aload 0
getstatic org.hibernate.metamodel.relational.ForeignKey$ReferentialAction.NO_ACTION:Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
putfield org.hibernate.metamodel.relational.ForeignKey.updateRule:Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
3: aload 0
aload 2
putfield org.hibernate.metamodel.relational.ForeignKey.targetTable:Lorg/hibernate/metamodel/relational/TableSpecification;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/metamodel/relational/ForeignKey;
0 5 1 sourceTable Lorg/hibernate/metamodel/relational/TableSpecification;
0 5 2 targetTable Lorg/hibernate/metamodel/relational/TableSpecification;
0 5 3 name Ljava/lang/String;
MethodParameters:
Name Flags
sourceTable
targetTable
name
protected void <init>(org.hibernate.metamodel.relational.TableSpecification, org.hibernate.metamodel.relational.TableSpecification);
descriptor: (Lorg/hibernate/metamodel/relational/TableSpecification;Lorg/hibernate/metamodel/relational/TableSpecification;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokespecial org.hibernate.metamodel.relational.ForeignKey.<init>:(Lorg/hibernate/metamodel/relational/TableSpecification;Lorg/hibernate/metamodel/relational/TableSpecification;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/metamodel/relational/ForeignKey;
0 2 1 sourceTable Lorg/hibernate/metamodel/relational/TableSpecification;
0 2 2 targetTable Lorg/hibernate/metamodel/relational/TableSpecification;
MethodParameters:
Name Flags
sourceTable
targetTable
public org.hibernate.metamodel.relational.TableSpecification getSourceTable();
descriptor: ()Lorg/hibernate/metamodel/relational/TableSpecification;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.getTable:()Lorg/hibernate/metamodel/relational/TableSpecification;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/metamodel/relational/ForeignKey;
public org.hibernate.metamodel.relational.TableSpecification getTargetTable();
descriptor: ()Lorg/hibernate/metamodel/relational/TableSpecification;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.metamodel.relational.ForeignKey.targetTable:Lorg/hibernate/metamodel/relational/TableSpecification;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/metamodel/relational/ForeignKey;
public java.lang.Iterable<org.hibernate.metamodel.relational.Column> getSourceColumns();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.getColumns:()Ljava/lang/Iterable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/metamodel/relational/ForeignKey;
Signature: ()Ljava/lang/Iterable<Lorg/hibernate/metamodel/relational/Column;>;
public java.lang.Iterable<org.hibernate.metamodel.relational.Column> getTargetColumns();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.metamodel.relational.ForeignKey.targetColumns:Ljava/util/List;
ifnonnull 2
1: aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.getTargetTable:()Lorg/hibernate/metamodel/relational/TableSpecification;
invokeinterface org.hibernate.metamodel.relational.TableSpecification.getPrimaryKey:()Lorg/hibernate/metamodel/relational/PrimaryKey;
invokevirtual org.hibernate.metamodel.relational.PrimaryKey.getColumns:()Ljava/lang/Iterable;
goto 3
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.metamodel.relational.ForeignKey.targetColumns:Ljava/util/List;
3: StackMap locals:
StackMap stack: java.lang.Iterable
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/metamodel/relational/ForeignKey;
Signature: ()Ljava/lang/Iterable<Lorg/hibernate/metamodel/relational/Column;>;
public void addColumn(org.hibernate.metamodel.relational.Column);
descriptor: (Lorg/hibernate/metamodel/relational/Column;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual org.hibernate.metamodel.relational.ForeignKey.addColumnMapping:(Lorg/hibernate/metamodel/relational/Column;Lorg/hibernate/metamodel/relational/Column;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/metamodel/relational/ForeignKey;
0 2 1 column Lorg/hibernate/metamodel/relational/Column;
MethodParameters:
Name Flags
column
public void addColumnMapping(org.hibernate.metamodel.relational.Column, org.hibernate.metamodel.relational.Column);
descriptor: (Lorg/hibernate/metamodel/relational/Column;Lorg/hibernate/metamodel/relational/Column;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 8
1: aload 0
getfield org.hibernate.metamodel.relational.ForeignKey.targetColumns:Ljava/util/List;
ifnull 19
2: getstatic org.hibernate.metamodel.relational.ForeignKey.LOG:Lorg/jboss/logging/Logger;
3: ldc "Attempt to map column [%s] to no target column after explicit target column(s) named for FK [name=%s]"
4: aload 1
invokevirtual org.hibernate.metamodel.relational.Column.toLoggableString:()Ljava/lang/String;
5: aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.getName:()Ljava/lang/String;
6: invokevirtual org.jboss.logging.Logger.debugf:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
7: goto 19
8: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.hibernate.metamodel.relational.ForeignKey.checkTargetTable:(Lorg/hibernate/metamodel/relational/Column;)V
9: aload 0
getfield org.hibernate.metamodel.relational.ForeignKey.targetColumns:Ljava/util/List;
ifnonnull 18
10: aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.internalColumnAccess:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 17
11: getstatic org.hibernate.metamodel.relational.ForeignKey.LOG:Lorg/jboss/logging/Logger;
12: ldc "Value mapping mismatch as part of FK [table=%s, name=%s] while adding source column [%s]"
13: aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.getTable:()Lorg/hibernate/metamodel/relational/TableSpecification;
invokeinterface org.hibernate.metamodel.relational.TableSpecification.toLoggableString:()Ljava/lang/String;
14: aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.getName:()Ljava/lang/String;
15: aload 1
invokevirtual org.hibernate.metamodel.relational.Column.toLoggableString:()Ljava/lang/String;
16: invokevirtual org.jboss.logging.Logger.debugf:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
17: StackMap locals:
StackMap stack:
aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.hibernate.metamodel.relational.ForeignKey.targetColumns:Ljava/util/List;
18: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.metamodel.relational.ForeignKey.targetColumns:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
19: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.hibernate.metamodel.relational.ForeignKey.internalAddColumn:(Lorg/hibernate/metamodel/relational/Column;)V
20: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/hibernate/metamodel/relational/ForeignKey;
0 21 1 sourceColumn Lorg/hibernate/metamodel/relational/Column;
0 21 2 targetColumn Lorg/hibernate/metamodel/relational/Column;
MethodParameters:
Name Flags
sourceColumn
targetColumn
private void checkTargetTable(org.hibernate.metamodel.relational.Column);
descriptor: (Lorg/hibernate/metamodel/relational/Column;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.hibernate.metamodel.relational.Column.getTable:()Lorg/hibernate/metamodel/relational/TableSpecification;
aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.getTargetTable:()Lorg/hibernate/metamodel/relational/TableSpecification;
if_acmpeq 7
1: new org.hibernate.AssertionFailure
dup
2: ldc "Unable to add column to constraint; tables [%s, %s] did not match"
iconst_2
anewarray java.lang.Object
dup
iconst_0
3: aload 1
invokevirtual org.hibernate.metamodel.relational.Column.getTable:()Lorg/hibernate/metamodel/relational/TableSpecification;
invokeinterface org.hibernate.metamodel.relational.TableSpecification.toLoggableString:()Ljava/lang/String;
aastore
dup
iconst_1
4: aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.getTargetTable:()Lorg/hibernate/metamodel/relational/TableSpecification;
invokeinterface org.hibernate.metamodel.relational.TableSpecification.toLoggableString:()Ljava/lang/String;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
6: invokespecial org.hibernate.AssertionFailure.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/metamodel/relational/ForeignKey;
0 8 1 targetColumn Lorg/hibernate/metamodel/relational/Column;
MethodParameters:
Name Flags
targetColumn
public java.lang.String getExportIdentifier();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.getSourceTable:()Lorg/hibernate/metamodel/relational/TableSpecification;
invokeinterface org.hibernate.metamodel.relational.TableSpecification.getLoggableValueQualifier:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".FK-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.getName:()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 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/metamodel/relational/ForeignKey;
public org.hibernate.metamodel.relational.ForeignKey$ReferentialAction getDeleteRule();
descriptor: ()Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.metamodel.relational.ForeignKey.deleteRule:Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/metamodel/relational/ForeignKey;
public void setDeleteRule(org.hibernate.metamodel.relational.ForeignKey$ReferentialAction);
descriptor: (Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;)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.metamodel.relational.ForeignKey.deleteRule:Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/metamodel/relational/ForeignKey;
0 2 1 deleteRule Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
MethodParameters:
Name Flags
deleteRule
public org.hibernate.metamodel.relational.ForeignKey$ReferentialAction getUpdateRule();
descriptor: ()Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.metamodel.relational.ForeignKey.updateRule:Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/metamodel/relational/ForeignKey;
public void setUpdateRule(org.hibernate.metamodel.relational.ForeignKey$ReferentialAction);
descriptor: (Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;)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.metamodel.relational.ForeignKey.updateRule:Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/metamodel/relational/ForeignKey;
0 2 1 updateRule Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
MethodParameters:
Name Flags
updateRule
public java.lang.String[] sqlDropStrings(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
anewarray java.lang.String
dup
iconst_0
1: new java.lang.StringBuilder
dup
ldc "alter table "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.getTable:()Lorg/hibernate/metamodel/relational/TableSpecification;
aload 1
invokeinterface org.hibernate.metamodel.relational.TableSpecification.getQualifiedName:(Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 1
invokevirtual org.hibernate.dialect.Dialect.getDropForeignKeyString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
6: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/metamodel/relational/ForeignKey;
0 7 1 dialect Lorg/hibernate/dialect/Dialect;
MethodParameters:
Name Flags
dialect
public java.lang.String sqlConstraintStringInAlterTable(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.getColumnSpan:()I
anewarray java.lang.String
astore 2
start local 2 1: aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.getColumnSpan:()I
anewarray java.lang.String
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.getTargetColumns:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
start local 5 4: aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.getColumns:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 7
goto 11
StackMap locals: org.hibernate.metamodel.relational.ForeignKey org.hibernate.dialect.Dialect java.lang.String[] java.lang.String[] int java.util.Iterator top java.util.Iterator
StackMap stack:
5: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.metamodel.relational.Column
astore 6
start local 6 6: aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
7: new org.hibernate.MappingException
dup
ldc "More constraint columns that foreign key target columns."
invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: org.hibernate.metamodel.relational.ForeignKey org.hibernate.dialect.Dialect java.lang.String[] java.lang.String[] int java.util.Iterator org.hibernate.metamodel.relational.Column java.util.Iterator
StackMap stack:
aload 2
iload 4
aload 6
invokevirtual org.hibernate.metamodel.relational.Column.getColumnName:()Lorg/hibernate/metamodel/relational/Identifier;
aload 1
invokevirtual org.hibernate.metamodel.relational.Identifier.encloseInQuotesIfQuoted:(Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
aastore
9: aload 3
iload 4
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.metamodel.relational.Column
invokevirtual org.hibernate.metamodel.relational.Column.getColumnName:()Lorg/hibernate/metamodel/relational/Identifier;
aload 1
invokevirtual org.hibernate.metamodel.relational.Identifier.encloseInQuotesIfQuoted:(Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
aastore
10: iinc 4 1
end local 6 11: StackMap locals: org.hibernate.metamodel.relational.ForeignKey org.hibernate.dialect.Dialect java.lang.String[] java.lang.String[] int java.util.Iterator top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
12: aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 14
13: new org.hibernate.MappingException
dup
ldc "More foreign key target columns than constraint columns."
invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: org.hibernate.metamodel.relational.ForeignKey org.hibernate.dialect.Dialect java.lang.String[] java.lang.String[] int java.util.Iterator
StackMap stack:
new java.lang.StringBuilder
dup
15: aload 1
16: aload 0
invokevirtual org.hibernate.metamodel.relational.ForeignKey.getName:()Ljava/lang/String;
17: aload 2
18: aload 0
getfield org.hibernate.metamodel.relational.ForeignKey.targetTable:Lorg/hibernate/metamodel/relational/TableSpecification;
aload 1
invokeinterface org.hibernate.metamodel.relational.TableSpecification.getQualifiedName:(Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
19: aload 3
20: aload 0
getfield org.hibernate.metamodel.relational.ForeignKey.targetColumns:Ljava/util/List;
ifnonnull 21
iconst_1
goto 22
StackMap locals: org.hibernate.metamodel.relational.ForeignKey org.hibernate.dialect.Dialect java.lang.String[] java.lang.String[] int java.util.Iterator
StackMap stack: new 14 new 14 org.hibernate.dialect.Dialect java.lang.String java.lang.String[] java.lang.String java.lang.String[]
21: iconst_0
22: StackMap locals: org.hibernate.metamodel.relational.ForeignKey org.hibernate.dialect.Dialect java.lang.String[] java.lang.String[] int java.util.Iterator
StackMap stack: new 14 new 14 org.hibernate.dialect.Dialect java.lang.String java.lang.String[] java.lang.String java.lang.String[] int
invokevirtual org.hibernate.dialect.Dialect.getAddForeignKeyConstraintString:(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Z)Ljava/lang/String;
23: invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
24: astore 6
start local 6 25: aload 1
invokevirtual org.hibernate.dialect.Dialect.supportsCascadeDelete:()Z
ifeq 30
26: aload 0
getfield org.hibernate.metamodel.relational.ForeignKey.deleteRule:Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
getstatic org.hibernate.metamodel.relational.ForeignKey$ReferentialAction.NO_ACTION:Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
if_acmpeq 28
27: aload 6
ldc " on delete "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.metamodel.relational.ForeignKey.deleteRule:Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
invokevirtual org.hibernate.metamodel.relational.ForeignKey$ReferentialAction.getActionString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
28: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
getfield org.hibernate.metamodel.relational.ForeignKey.updateRule:Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
getstatic org.hibernate.metamodel.relational.ForeignKey$ReferentialAction.NO_ACTION:Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
if_acmpeq 30
29: aload 6
ldc " on update "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.metamodel.relational.ForeignKey.updateRule:Lorg/hibernate/metamodel/relational/ForeignKey$ReferentialAction;
invokevirtual org.hibernate.metamodel.relational.ForeignKey$ReferentialAction.getActionString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
30: StackMap locals:
StackMap stack:
aload 6
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 31 0 this Lorg/hibernate/metamodel/relational/ForeignKey;
0 31 1 dialect Lorg/hibernate/dialect/Dialect;
1 31 2 columnNames [Ljava/lang/String;
2 31 3 targetColumnNames [Ljava/lang/String;
3 31 4 i I
4 31 5 itTargetColumn Ljava/util/Iterator<Lorg/hibernate/metamodel/relational/Column;>;
6 11 6 column Lorg/hibernate/metamodel/relational/Column;
25 31 6 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
dialect
}
SourceFile: "ForeignKey.java"
NestMembers:
org.hibernate.metamodel.relational.ForeignKey$ReferentialAction
InnerClasses:
public final ReferentialAction = org.hibernate.metamodel.relational.ForeignKey$ReferentialAction of org.hibernate.metamodel.relational.ForeignKey