public class org.hibernate.metamodel.relational.PrimaryKey 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.PrimaryKey
super_class: org.hibernate.metamodel.relational.AbstractConstraint
{
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
protected void <init>(org.hibernate.metamodel.relational.TableSpecification);
descriptor: (Lorg/hibernate/metamodel/relational/TableSpecification;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial org.hibernate.metamodel.relational.AbstractConstraint.<init>:(Lorg/hibernate/metamodel/relational/TableSpecification;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/metamodel/relational/PrimaryKey;
0 2 1 table Lorg/hibernate/metamodel/relational/TableSpecification;
MethodParameters:
Name Flags
table
public java.lang.String getName();
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.metamodel.relational.PrimaryKey.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/metamodel/relational/PrimaryKey;
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
putfield org.hibernate.metamodel.relational.PrimaryKey.name:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/metamodel/relational/PrimaryKey;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
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.PrimaryKey.getTable:()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 ".PK"
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/PrimaryKey;
public java.lang.String sqlConstraintStringInCreateTable(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "primary key ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: iconst_1
istore 3
start local 3 2: aload 0
invokevirtual org.hibernate.metamodel.relational.PrimaryKey.getColumns:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: org.hibernate.metamodel.relational.PrimaryKey org.hibernate.dialect.Dialect java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.metamodel.relational.Column
astore 4
start local 4 4: iload 3
ifeq 7
5: iconst_0
istore 3
6: goto 8
7: StackMap locals: org.hibernate.metamodel.relational.PrimaryKey org.hibernate.dialect.Dialect java.lang.StringBuilder int org.hibernate.metamodel.relational.Column java.util.Iterator
StackMap stack:
aload 2
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: StackMap locals:
StackMap stack:
aload 2
aload 4
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;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 4 9: StackMap locals: org.hibernate.metamodel.relational.PrimaryKey org.hibernate.dialect.Dialect java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: aload 2
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/hibernate/metamodel/relational/PrimaryKey;
0 11 1 dialect Lorg/hibernate/dialect/Dialect;
1 11 2 buf Ljava/lang/StringBuilder;
2 11 3 first Z
4 9 4 column Lorg/hibernate/metamodel/relational/Column;
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=4, locals=6, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
1: aload 1
aload 0
invokevirtual org.hibernate.metamodel.relational.PrimaryKey.getName:()Ljava/lang/String;
invokevirtual org.hibernate.dialect.Dialect.getAddPrimaryKeyConstraintString:(Ljava/lang/String;)Ljava/lang/String;
2: invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
4: astore 2
start local 2 5: iconst_1
istore 3
start local 3 6: aload 0
invokevirtual org.hibernate.metamodel.relational.PrimaryKey.getColumns:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 13
StackMap locals: org.hibernate.metamodel.relational.PrimaryKey org.hibernate.dialect.Dialect java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
7: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.metamodel.relational.Column
astore 4
start local 4 8: iload 3
ifeq 11
9: iconst_0
istore 3
10: goto 12
11: StackMap locals: org.hibernate.metamodel.relational.PrimaryKey org.hibernate.dialect.Dialect java.lang.StringBuilder int org.hibernate.metamodel.relational.Column java.util.Iterator
StackMap stack:
aload 2
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals:
StackMap stack:
aload 2
aload 4
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;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 4 13: StackMap locals: org.hibernate.metamodel.relational.PrimaryKey org.hibernate.dialect.Dialect java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
14: aload 2
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/hibernate/metamodel/relational/PrimaryKey;
0 15 1 dialect Lorg/hibernate/dialect/Dialect;
5 15 2 buf Ljava/lang/StringBuilder;
6 15 3 first Z
8 13 4 column Lorg/hibernate/metamodel/relational/Column;
MethodParameters:
Name Flags
dialect
}
SourceFile: "PrimaryKey.java"