public class org.hibernate.sql.QuerySelect
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.sql.QuerySelect
super_class: java.lang.Object
{
private org.hibernate.dialect.Dialect dialect;
descriptor: Lorg/hibernate/dialect/Dialect;
flags: (0x0002) ACC_PRIVATE
private org.hibernate.sql.JoinFragment joins;
descriptor: Lorg/hibernate/sql/JoinFragment;
flags: (0x0002) ACC_PRIVATE
private java.lang.StringBuilder select;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0002) ACC_PRIVATE
private java.lang.StringBuilder where;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0002) ACC_PRIVATE
private java.lang.StringBuilder groupBy;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0002) ACC_PRIVATE
private java.lang.StringBuilder orderBy;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0002) ACC_PRIVATE
private java.lang.StringBuilder having;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0002) ACC_PRIVATE
private java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean distinct;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static final java.util.HashSet<java.lang.String> DONT_SPACE_TOKENS;
descriptor: Ljava/util/HashSet;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/HashSet<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
1: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "."
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
2: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "+"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
3: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "-"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
4: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "/"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
5: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "*"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
6: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "<"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
7: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc ">"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
8: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "="
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
9: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "#"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
10: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "~"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
11: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "|"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
12: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "&"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
13: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "<="
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
14: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc ">="
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
15: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "=>"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
16: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "=<"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
17: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "!="
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
18: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "<>"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
19: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "!#"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
20: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "!~"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
21: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "!<"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
22: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "!>"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
23: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc "("
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
24: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
ldc ")"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
25: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, 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.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield org.hibernate.sql.QuerySelect.select:Ljava/lang/StringBuilder;
2: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield org.hibernate.sql.QuerySelect.where:Ljava/lang/StringBuilder;
3: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield org.hibernate.sql.QuerySelect.groupBy:Ljava/lang/StringBuilder;
4: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield org.hibernate.sql.QuerySelect.orderBy:Ljava/lang/StringBuilder;
5: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield org.hibernate.sql.QuerySelect.having:Ljava/lang/StringBuilder;
6: aload 0
aload 1
putfield org.hibernate.sql.QuerySelect.dialect:Lorg/hibernate/dialect/Dialect;
7: aload 0
new org.hibernate.sql.QueryJoinFragment
dup
aload 1
iconst_0
invokespecial org.hibernate.sql.QueryJoinFragment.<init>:(Lorg/hibernate/dialect/Dialect;Z)V
putfield org.hibernate.sql.QuerySelect.joins:Lorg/hibernate/sql/JoinFragment;
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/hibernate/sql/QuerySelect;
0 9 1 dialect Lorg/hibernate/dialect/Dialect;
MethodParameters:
Name Flags
dialect
public org.hibernate.sql.JoinFragment getJoinFragment();
descriptor: ()Lorg/hibernate/sql/JoinFragment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.sql.QuerySelect.joins:Lorg/hibernate/sql/JoinFragment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/sql/QuerySelect;
public void addSelectFragmentString(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 1
invokevirtual java.lang.String.length:()I
ifle 2
aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 44
if_icmpne 2
1: aload 1
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
3: aload 1
invokevirtual java.lang.String.length:()I
ifle 7
4: aload 0
getfield org.hibernate.sql.QuerySelect.select:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
ifle 6
5: aload 0
getfield org.hibernate.sql.QuerySelect.select:Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.sql.QuerySelect.select:Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/sql/QuerySelect;
0 8 1 fragment Ljava/lang/String;
MethodParameters:
Name Flags
fragment
public void addSelectColumn(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.hibernate.sql.QuerySelect.addSelectFragmentString:(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/sql/QuerySelect;
0 2 1 columnName Ljava/lang/String;
0 2 2 alias Ljava/lang/String;
MethodParameters:
Name Flags
columnName
alias
public void setDistinct(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.hibernate.sql.QuerySelect.distinct:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/sql/QuerySelect;
0 2 1 distinct Z
MethodParameters:
Name Flags
distinct
public void setWhereTokens(java.util.Iterator);
descriptor: (Ljava/util/Iterator;)V
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.QuerySelect.where:Ljava/lang/StringBuilder;
aload 1
invokestatic org.hibernate.sql.QuerySelect.appendTokens:(Ljava/lang/StringBuilder;Ljava/util/Iterator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/sql/QuerySelect;
0 2 1 tokens Ljava/util/Iterator;
MethodParameters:
Name Flags
tokens
public void prependWhereConditions(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.sql.QuerySelect.where:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
ifle 3
1: aload 0
getfield org.hibernate.sql.QuerySelect.where:Ljava/lang/StringBuilder;
iconst_0
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " and "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.insert:(ILjava/lang/String;)Ljava/lang/StringBuilder;
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.sql.QuerySelect.where:Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/sql/QuerySelect;
0 5 1 conditions Ljava/lang/String;
MethodParameters:
Name Flags
conditions
public void setGroupByTokens(java.util.Iterator);
descriptor: (Ljava/util/Iterator;)V
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.QuerySelect.groupBy:Ljava/lang/StringBuilder;
aload 1
invokestatic org.hibernate.sql.QuerySelect.appendTokens:(Ljava/lang/StringBuilder;Ljava/util/Iterator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/sql/QuerySelect;
0 2 1 tokens Ljava/util/Iterator;
MethodParameters:
Name Flags
tokens
public void setOrderByTokens(java.util.Iterator);
descriptor: (Ljava/util/Iterator;)V
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.QuerySelect.orderBy:Ljava/lang/StringBuilder;
aload 1
invokestatic org.hibernate.sql.QuerySelect.appendTokens:(Ljava/lang/StringBuilder;Ljava/util/Iterator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/sql/QuerySelect;
0 2 1 tokens Ljava/util/Iterator;
MethodParameters:
Name Flags
tokens
public void setHavingTokens(java.util.Iterator);
descriptor: (Ljava/util/Iterator;)V
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.QuerySelect.having:Ljava/lang/StringBuilder;
aload 1
invokestatic org.hibernate.sql.QuerySelect.appendTokens:(Ljava/lang/StringBuilder;Ljava/util/Iterator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/sql/QuerySelect;
0 2 1 tokens Ljava/util/Iterator;
MethodParameters:
Name Flags
tokens
public void addOrderBy(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
getfield org.hibernate.sql.QuerySelect.orderBy:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
ifle 2
1: aload 0
getfield org.hibernate.sql.QuerySelect.orderBy:Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.sql.QuerySelect.orderBy:Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/sql/QuerySelect;
0 4 1 orderByString Ljava/lang/String;
MethodParameters:
Name Flags
orderByString
public java.lang.String toQueryString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
bipush 50
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: aload 0
getfield org.hibernate.sql.QuerySelect.comment:Ljava/lang/String;
ifnull 3
2: aload 1
ldc "/* "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.sql.QuerySelect.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
3: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
ldc "select "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 0
getfield org.hibernate.sql.QuerySelect.distinct:Z
ifeq 6
5: aload 1
ldc "distinct "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.sql.QuerySelect.joins:Lorg/hibernate/sql/JoinFragment;
invokevirtual org.hibernate.sql.JoinFragment.toFromFragmentString:()Ljava/lang/String;
astore 2
start local 2 7: aload 2
ldc ","
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
8: aload 2
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
9: goto 12
10: StackMap locals: java.lang.String
StackMap stack:
aload 2
ldc " inner join"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 12
11: aload 2
bipush 11
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
12: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.hibernate.sql.QuerySelect.select:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: ldc " from"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 0
getfield org.hibernate.sql.QuerySelect.joins:Lorg/hibernate/sql/JoinFragment;
invokevirtual org.hibernate.sql.JoinFragment.toWhereFragmentString:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 3
start local 3 16: aload 0
getfield org.hibernate.sql.QuerySelect.where:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 4
start local 4 17: aload 3
invokevirtual java.lang.String.length:()I
ifle 18
iconst_1
goto 19
StackMap locals: java.lang.String java.lang.String
StackMap stack:
18: iconst_0
StackMap locals:
StackMap stack: int
19: istore 5
start local 5 20: aload 4
invokevirtual java.lang.String.length:()I
ifle 21
iconst_1
goto 22
StackMap locals: int
StackMap stack:
21: iconst_0
StackMap locals:
StackMap stack: int
22: istore 6
start local 6 23: iload 5
ifne 24
iload 6
ifeq 33
24: StackMap locals: int
StackMap stack:
aload 1
ldc " where "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
25: iload 5
ifeq 27
26: aload 1
aload 3
iconst_4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
27: StackMap locals:
StackMap stack:
iload 6
ifeq 33
28: iload 5
ifeq 30
29: aload 1
ldc " and ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
30: StackMap locals:
StackMap stack:
aload 1
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
31: iload 5
ifeq 33
32: aload 1
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
33: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.sql.QuerySelect.groupBy:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
ifle 35
34: aload 1
ldc " group by "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.sql.QuerySelect.groupBy:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
35: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.sql.QuerySelect.having:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
ifle 37
36: aload 1
ldc " having "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.sql.QuerySelect.having:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
37: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.sql.QuerySelect.orderBy:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
ifle 39
38: aload 1
ldc " order by "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.sql.QuerySelect.orderBy:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
39: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.sql.QuerySelect.dialect:Lorg/hibernate/dialect/Dialect;
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.hibernate.dialect.Dialect.transformSelectString:(Ljava/lang/String;)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 40 0 this Lorg/hibernate/sql/QuerySelect;
1 40 1 buf Ljava/lang/StringBuilder;
7 40 2 from Ljava/lang/String;
16 40 3 outerJoinsAfterWhere Ljava/lang/String;
17 40 4 whereConditions Ljava/lang/String;
20 40 5 hasOuterJoinsAfterWhere Z
23 40 6 hasWhereConditions Z
private static void appendTokens(java.lang.StringBuilder, java.util.Iterator);
descriptor: (Ljava/lang/StringBuilder;Ljava/util/Iterator;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: iconst_1
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 14
3: StackMap locals: int int
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 4: getstatic org.hibernate.sql.QuerySelect.DONT_SPACE_TOKENS:Ljava/util/HashSet;
aload 4
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
ifeq 5
iconst_0
goto 6
StackMap locals: java.lang.String
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: istore 5
start local 5 7: aload 4
ldc "'"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
istore 6
start local 6 8: iload 5
ifeq 11
iload 2
ifeq 11
9: iload 6
ifeq 10
iload 3
ifne 11
10: StackMap locals: int int
StackMap stack:
aload 0
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
11: StackMap locals:
StackMap stack:
iload 5
istore 2
12: aload 0
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 4
ldc "'"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
istore 3
end local 6 end local 5 end local 4 14: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 buf Ljava/lang/StringBuilder;
0 16 1 iter Ljava/util/Iterator;
1 16 2 lastSpaceable Z
2 16 3 lastQuoted Z
4 14 4 token Ljava/lang/String;
7 14 5 spaceable Z
8 14 6 quoted Z
MethodParameters:
Name Flags
buf
iter
public void (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.sql.QuerySelect.comment:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/sql/QuerySelect;
0 2 1 comment Ljava/lang/String;
MethodParameters:
Name Flags
comment
public org.hibernate.sql.QuerySelect copy();
descriptor: ()Lorg/hibernate/sql/QuerySelect;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new org.hibernate.sql.QuerySelect
dup
aload 0
getfield org.hibernate.sql.QuerySelect.dialect:Lorg/hibernate/dialect/Dialect;
invokespecial org.hibernate.sql.QuerySelect.<init>:(Lorg/hibernate/dialect/Dialect;)V
astore 1
start local 1 1: aload 1
aload 0
getfield org.hibernate.sql.QuerySelect.joins:Lorg/hibernate/sql/JoinFragment;
invokevirtual org.hibernate.sql.JoinFragment.copy:()Lorg/hibernate/sql/JoinFragment;
putfield org.hibernate.sql.QuerySelect.joins:Lorg/hibernate/sql/JoinFragment;
2: aload 1
getfield org.hibernate.sql.QuerySelect.select:Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.sql.QuerySelect.select:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
getfield org.hibernate.sql.QuerySelect.where:Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.sql.QuerySelect.where:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
getfield org.hibernate.sql.QuerySelect.groupBy:Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.sql.QuerySelect.groupBy:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 1
getfield org.hibernate.sql.QuerySelect.orderBy:Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.sql.QuerySelect.orderBy:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
getfield org.hibernate.sql.QuerySelect.having:Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.sql.QuerySelect.having:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 1
aload 0
getfield org.hibernate.sql.QuerySelect.comment:Ljava/lang/String;
putfield org.hibernate.sql.QuerySelect.comment:Ljava/lang/String;
8: aload 1
aload 0
getfield org.hibernate.sql.QuerySelect.distinct:Z
putfield org.hibernate.sql.QuerySelect.distinct:Z
9: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/sql/QuerySelect;
1 10 1 copy Lorg/hibernate/sql/QuerySelect;
}
SourceFile: "QuerySelect.java"