public abstract class org.hibernate.metamodel.relational.AbstractConstraint implements org.hibernate.metamodel.relational.Constraint
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.hibernate.metamodel.relational.AbstractConstraint
super_class: java.lang.Object
{
private final org.hibernate.metamodel.relational.TableSpecification table;
descriptor: Lorg/hibernate/metamodel/relational/TableSpecification;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.List<org.hibernate.metamodel.relational.Column> columns;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/hibernate/metamodel/relational/Column;>;
protected void <init>(org.hibernate.metamodel.relational.TableSpecification, java.lang.String);
descriptor: (Lorg/hibernate/metamodel/relational/TableSpecification;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
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.hibernate.metamodel.relational.AbstractConstraint.columns:Ljava/util/List;
2: aload 0
aload 1
putfield org.hibernate.metamodel.relational.AbstractConstraint.table:Lorg/hibernate/metamodel/relational/TableSpecification;
3: aload 0
aload 2
putfield org.hibernate.metamodel.relational.AbstractConstraint.name:Ljava/lang/String;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/metamodel/relational/AbstractConstraint;
0 5 1 table Lorg/hibernate/metamodel/relational/TableSpecification;
0 5 2 name Ljava/lang/String;
MethodParameters:
Name Flags
table
name
public org.hibernate.metamodel.relational.TableSpecification getTable();
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.AbstractConstraint.table:Lorg/hibernate/metamodel/relational/TableSpecification;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/metamodel/relational/AbstractConstraint;
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.AbstractConstraint.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/metamodel/relational/AbstractConstraint;
public java.lang.Iterable<org.hibernate.metamodel.relational.Column> getColumns();
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.AbstractConstraint.columns:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/metamodel/relational/AbstractConstraint;
Signature: ()Ljava/lang/Iterable<Lorg/hibernate/metamodel/relational/Column;>;
protected int getColumnSpan();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.metamodel.relational.AbstractConstraint.columns:Ljava/util/List;
invokeinterface java.util.List.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/metamodel/relational/AbstractConstraint;
protected java.util.List<org.hibernate.metamodel.relational.Column> internalColumnAccess();
descriptor: ()Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.metamodel.relational.AbstractConstraint.columns:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/metamodel/relational/AbstractConstraint;
Signature: ()Ljava/util/List<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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.hibernate.metamodel.relational.AbstractConstraint.internalAddColumn:(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/AbstractConstraint;
0 2 1 column Lorg/hibernate/metamodel/relational/Column;
MethodParameters:
Name Flags
column
protected void internalAddColumn(org.hibernate.metamodel.relational.Column);
descriptor: (Lorg/hibernate/metamodel/relational/Column;)V
flags: (0x0004) ACC_PROTECTED
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.AbstractConstraint.getTable:()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.AbstractConstraint.getTable:()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:
aload 0
getfield org.hibernate.metamodel.relational.AbstractConstraint.columns:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/hibernate/metamodel/relational/AbstractConstraint;
0 9 1 column Lorg/hibernate/metamodel/relational/Column;
MethodParameters:
Name Flags
column
protected boolean isCreationVetoed(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/metamodel/relational/AbstractConstraint;
0 1 1 dialect Lorg/hibernate/dialect/Dialect;
MethodParameters:
Name Flags
dialect
protected abstract java.lang.String sqlConstraintStringInAlterTable(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
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=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.hibernate.metamodel.relational.AbstractConstraint.isCreationVetoed:(Lorg/hibernate/dialect/Dialect;)Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
iconst_1
anewarray java.lang.String
dup
iconst_0
3: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
4: ldc "alter table "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: aload 0
invokevirtual org.hibernate.metamodel.relational.AbstractConstraint.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;
6: ldc " drop constraint "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 1
aload 0
invokevirtual org.hibernate.metamodel.relational.AbstractConstraint.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;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
9: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/metamodel/relational/AbstractConstraint;
0 10 1 dialect Lorg/hibernate/dialect/Dialect;
MethodParameters:
Name Flags
dialect
public java.lang.String[] sqlCreateStrings(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: aload 0
aload 1
invokevirtual org.hibernate.metamodel.relational.AbstractConstraint.isCreationVetoed:(Lorg/hibernate/dialect/Dialect;)Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
iconst_1
anewarray java.lang.String
dup
iconst_0
3: new java.lang.StringBuilder
dup
ldc "alter table "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 0
invokevirtual org.hibernate.metamodel.relational.AbstractConstraint.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;
5: aload 0
aload 1
invokevirtual org.hibernate.metamodel.relational.AbstractConstraint.sqlConstraintStringInAlterTable:(Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
7: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/metamodel/relational/AbstractConstraint;
0 8 1 dialect Lorg/hibernate/dialect/Dialect;
MethodParameters:
Name Flags
dialect
}
SourceFile: "AbstractConstraint.java"