public class org.hibernate.sql.InsertSelect
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.sql.InsertSelect
super_class: java.lang.Object
{
private org.hibernate.dialect.Dialect dialect;
descriptor: Lorg/hibernate/dialect/Dialect;
flags: (0x0002) ACC_PRIVATE
private java.lang.String tableName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.List columnNames;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
private org.hibernate.sql.Select select;
descriptor: Lorg/hibernate/sql/Select;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 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.sql.InsertSelect.columnNames:Ljava/util/List;
2: aload 0
aload 1
putfield org.hibernate.sql.InsertSelect.dialect:Lorg/hibernate/dialect/Dialect;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/sql/InsertSelect;
0 4 1 dialect Lorg/hibernate/dialect/Dialect;
MethodParameters:
Name Flags
dialect
public org.hibernate.sql.InsertSelect setTableName(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/sql/InsertSelect;
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.sql.InsertSelect.tableName:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/sql/InsertSelect;
0 2 1 tableName Ljava/lang/String;
MethodParameters:
Name Flags
tableName
public org.hibernate.sql.InsertSelect (java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/sql/InsertSelect;
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.sql.InsertSelect.comment:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/sql/InsertSelect;
0 2 1 comment Ljava/lang/String;
MethodParameters:
Name Flags
comment
public org.hibernate.sql.InsertSelect addColumn(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/sql/InsertSelect;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.sql.InsertSelect.columnNames:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/sql/InsertSelect;
0 2 1 columnName Ljava/lang/String;
MethodParameters:
Name Flags
columnName
public org.hibernate.sql.InsertSelect addColumns(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Lorg/hibernate/sql/InsertSelect;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.hibernate.sql.InsertSelect.columnNames:Ljava/util/List;
aload 1
iload 2
aaload
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
aload 1
arraylength
if_icmplt 2
end local 2 5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/sql/InsertSelect;
0 6 1 columnNames [Ljava/lang/String;
1 5 2 i I
MethodParameters:
Name Flags
columnNames
public org.hibernate.sql.InsertSelect setSelect(org.hibernate.sql.Select);
descriptor: (Lorg/hibernate/sql/Select;)Lorg/hibernate/sql/InsertSelect;
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.sql.InsertSelect.select:Lorg/hibernate/sql/Select;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/sql/InsertSelect;
0 2 1 select Lorg/hibernate/sql/Select;
MethodParameters:
Name Flags
select
public java.lang.String toStatementString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.hibernate.sql.InsertSelect.tableName:Ljava/lang/String;
ifnonnull 2
1: new org.hibernate.HibernateException
dup
ldc "no table name defined for insert-select"
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.sql.InsertSelect.select:Lorg/hibernate/sql/Select;
ifnonnull 4
3: new org.hibernate.HibernateException
dup
ldc "no select defined for insert-select"
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield org.hibernate.sql.InsertSelect.columnNames:Ljava/util/List;
invokeinterface java.util.List.size:()I
bipush 15
imul
aload 0
getfield org.hibernate.sql.InsertSelect.tableName:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iadd
bipush 10
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 5: aload 0
getfield org.hibernate.sql.InsertSelect.comment:Ljava/lang/String;
ifnull 7
6: aload 1
ldc "/* "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.sql.InsertSelect.comment: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;
pop
7: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
ldc "insert into "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.sql.InsertSelect.tableName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 0
getfield org.hibernate.sql.InsertSelect.columnNames:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 17
9: aload 1
ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 0
getfield org.hibernate.sql.InsertSelect.columnNames:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
start local 2 11: goto 15
12: StackMap locals: java.util.Iterator
StackMap stack:
aload 1
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
13: aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 15
14: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
16: aload 1
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 17: StackMap locals:
StackMap stack:
aload 1
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.sql.InsertSelect.select:Lorg/hibernate/sql/Select;
invokevirtual org.hibernate.sql.Select.toStatementString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/hibernate/sql/InsertSelect;
5 19 1 buf Ljava/lang/StringBuilder;
11 17 2 itr Ljava/util/Iterator;
}
SourceFile: "InsertSelect.java"