public class org.hibernate.metamodel.relational.UniqueKey extends org.hibernate.metamodel.relational.AbstractConstraint implements org.hibernate.metamodel.relational.Constraint
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.metamodel.relational.UniqueKey
super_class: org.hibernate.metamodel.relational.AbstractConstraint
{
protected void <init>(org.hibernate.metamodel.relational.Table, java.lang.String);
descriptor: (Lorg/hibernate/metamodel/relational/Table;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.hibernate.metamodel.relational.AbstractConstraint.<init>:(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/UniqueKey;
0 2 1 table Lorg/hibernate/metamodel/relational/Table;
0 2 2 name Ljava/lang/String;
MethodParameters:
Name Flags
table
name
public java.lang.String getExportIdentifier();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual org.hibernate.metamodel.relational.UniqueKey.getTable:()Lorg/hibernate/metamodel/relational/TableSpecification;
invokeinterface org.hibernate.metamodel.relational.TableSpecification.getLoggableValueQualifier:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
ldc ".UK"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
invokevirtual org.hibernate.metamodel.relational.UniqueKey.getColumns:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.hibernate.metamodel.relational.UniqueKey java.lang.StringBuilder top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.metamodel.relational.Column
astore 2
start local 2 4: aload 1
bipush 95
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 2
invokevirtual org.hibernate.metamodel.relational.Column.getColumnName:()Lorg/hibernate/metamodel/relational/Identifier;
invokevirtual org.hibernate.metamodel.relational.Identifier.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/metamodel/relational/UniqueKey;
1 7 1 sb Ljava/lang/StringBuilder;
4 5 2 column Lorg/hibernate/metamodel/relational/Column;
public java.lang.String[] sqlCreateStrings(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.hibernate.dialect.Dialect.getUniqueDelegate:()Lorg/hibernate/dialect/unique/UniqueDelegate;
aload 0
invokeinterface org.hibernate.dialect.unique.UniqueDelegate.getAlterTableToAddUniqueKeyCommand:(Lorg/hibernate/metamodel/relational/UniqueKey;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
invokestatic org.hibernate.internal.util.StringHelper.toArrayElement:(Ljava/lang/String;)[Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/metamodel/relational/UniqueKey;
0 2 1 dialect Lorg/hibernate/dialect/Dialect;
1 2 2 s Ljava/lang/String;
MethodParameters:
Name Flags
dialect
public java.lang.String[] sqlDropStrings(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.hibernate.dialect.Dialect.getUniqueDelegate:()Lorg/hibernate/dialect/unique/UniqueDelegate;
aload 0
invokeinterface org.hibernate.dialect.unique.UniqueDelegate.getAlterTableToDropUniqueKeyCommand:(Lorg/hibernate/metamodel/relational/UniqueKey;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
invokestatic org.hibernate.internal.util.StringHelper.toArrayElement:(Ljava/lang/String;)[Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/metamodel/relational/UniqueKey;
0 2 1 dialect Lorg/hibernate/dialect/Dialect;
1 2 2 s Ljava/lang/String;
MethodParameters:
Name Flags
dialect
protected java.lang.String sqlConstraintStringInAlterTable(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: ldc ""
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/metamodel/relational/UniqueKey;
0 1 1 dialect Lorg/hibernate/dialect/Dialect;
MethodParameters:
Name Flags
dialect
}
SourceFile: "UniqueKey.java"