public class org.hibernate.sql.SelectFragment
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.sql.SelectFragment
super_class: java.lang.Object
{
private java.lang.String suffix;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.List columns;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
private java.util.List columnAliases;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
private java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String[] usedAliases;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 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.SelectFragment.columns:Ljava/util/List;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.hibernate.sql.SelectFragment.columnAliases:Ljava/util/List;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/sql/SelectFragment;
public java.util.List getColumns();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.sql.SelectFragment.columns:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/sql/SelectFragment;
public java.lang.String ();
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.sql.SelectFragment.extraSelectList:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/sql/SelectFragment;
public org.hibernate.sql.SelectFragment setUsedAliases(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
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.SelectFragment.usedAliases:[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/SelectFragment;
0 2 1 aliases [Ljava/lang/String;
MethodParameters:
Name Flags
aliases
public org.hibernate.sql.SelectFragment (java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
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.SelectFragment.extraSelectList: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/SelectFragment;
0 2 1 extraSelectList Ljava/lang/String;
MethodParameters:
Name Flags
extraSelectList
public org.hibernate.sql.SelectFragment (org.hibernate.sql.CaseFragment, java.lang.String);
descriptor: (Lorg/hibernate/sql/CaseFragment;Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 0
getfield org.hibernate.sql.SelectFragment.suffix:Ljava/lang/String;
invokevirtual org.hibernate.sql.CaseFragment.setReturnColumnName:(Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/sql/CaseFragment;
invokevirtual org.hibernate.sql.CaseFragment.toFragmentString:()Ljava/lang/String;
invokevirtual org.hibernate.sql.SelectFragment.setExtraSelectList:(Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/sql/SelectFragment;
0 2 1 caseFragment Lorg/hibernate/sql/CaseFragment;
0 2 2 fragmentAlias Ljava/lang/String;
MethodParameters:
Name Flags
caseFragment
fragmentAlias
public org.hibernate.sql.SelectFragment setSuffix(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
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.SelectFragment.suffix: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/SelectFragment;
0 2 1 suffix Ljava/lang/String;
MethodParameters:
Name Flags
suffix
public org.hibernate.sql.SelectFragment addColumn(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokevirtual org.hibernate.sql.SelectFragment.addColumn:(Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/sql/SelectFragment;
0 2 1 columnName Ljava/lang/String;
MethodParameters:
Name Flags
columnName
public org.hibernate.sql.SelectFragment addColumns(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
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 3
StackMap locals: int
StackMap stack:
2: aload 0
aload 1
iload 2
aaload
invokevirtual org.hibernate.sql.SelectFragment.addColumn:(Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
pop
iinc 2 1
StackMap locals:
StackMap stack:
3: iload 2
aload 1
arraylength
if_icmplt 2
end local 2 4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/sql/SelectFragment;
0 5 1 columnNames [Ljava/lang/String;
1 4 2 i I
MethodParameters:
Name Flags
columnNames
public org.hibernate.sql.SelectFragment addColumn(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 2
invokevirtual org.hibernate.sql.SelectFragment.addColumn:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/sql/SelectFragment;
0 1 1 tableAlias Ljava/lang/String;
0 1 2 columnName Ljava/lang/String;
MethodParameters:
Name Flags
tableAlias
columnName
public org.hibernate.sql.SelectFragment addColumn(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.hibernate.sql.SelectFragment.columns:Ljava/util/List;
aload 1
aload 2
invokestatic org.hibernate.internal.util.StringHelper.qualify:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
getfield org.hibernate.sql.SelectFragment.columnAliases:Ljava/util/List;
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/sql/SelectFragment;
0 3 1 tableAlias Ljava/lang/String;
0 3 2 columnName Ljava/lang/String;
0 3 3 columnAlias Ljava/lang/String;
MethodParameters:
Name Flags
tableAlias
columnName
columnAlias
public org.hibernate.sql.SelectFragment addColumns(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 3
StackMap locals: int
StackMap stack:
2: aload 0
aload 1
aload 2
iload 3
aaload
invokevirtual org.hibernate.sql.SelectFragment.addColumn:(Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
pop
iinc 3 1
StackMap locals:
StackMap stack:
3: iload 3
aload 2
arraylength
if_icmplt 2
end local 3 4: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/sql/SelectFragment;
0 5 1 tableAlias Ljava/lang/String;
0 5 2 columnNames [Ljava/lang/String;
1 4 3 i I
MethodParameters:
Name Flags
tableAlias
columnNames
public org.hibernate.sql.SelectFragment addColumns(java.lang.String, java.lang.String[], java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 2
iload 4
aaload
ifnull 3
aload 0
aload 1
aload 2
iload 4
aaload
aload 3
iload 4
aaload
invokevirtual org.hibernate.sql.SelectFragment.addColumn:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
pop
3: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
4: iload 4
aload 2
arraylength
if_icmplt 2
end local 4 5: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/sql/SelectFragment;
0 6 1 tableAlias Ljava/lang/String;
0 6 2 columnNames [Ljava/lang/String;
0 6 3 columnAliases [Ljava/lang/String;
1 5 4 i I
MethodParameters:
Name Flags
tableAlias
columnNames
columnAliases
public org.hibernate.sql.SelectFragment addFormulas(java.lang.String, java.lang.String[], java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 2
iload 4
aaload
ifnull 3
aload 0
aload 1
aload 2
iload 4
aaload
aload 3
iload 4
aaload
invokevirtual org.hibernate.sql.SelectFragment.addFormula:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
pop
3: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
4: iload 4
aload 2
arraylength
if_icmplt 2
end local 4 5: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/sql/SelectFragment;
0 6 1 tableAlias Ljava/lang/String;
0 6 2 formulas [Ljava/lang/String;
0 6 3 formulaAliases [Ljava/lang/String;
1 5 4 i I
MethodParameters:
Name Flags
tableAlias
formulas
formulaAliases
public org.hibernate.sql.SelectFragment addFormula(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.hibernate.sql.SelectFragment.columns:Ljava/util/List;
aload 2
ldc "$PlaceHolder$"
aload 1
invokestatic org.hibernate.internal.util.StringHelper.replace:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
getfield org.hibernate.sql.SelectFragment.columnAliases:Ljava/util/List;
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/sql/SelectFragment;
0 3 1 tableAlias Ljava/lang/String;
0 3 2 formula Ljava/lang/String;
0 3 3 formulaAlias Ljava/lang/String;
MethodParameters:
Name Flags
tableAlias
formula
formulaAlias
public org.hibernate.sql.SelectFragment addColumnTemplate(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual org.hibernate.sql.SelectFragment.addFormula:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/sql/SelectFragment;
0 1 1 tableAlias Ljava/lang/String;
0 1 2 columnTemplate Ljava/lang/String;
0 1 3 columnAlias Ljava/lang/String;
MethodParameters:
Name Flags
tableAlias
columnTemplate
columnAlias
public org.hibernate.sql.SelectFragment addColumnTemplates(java.lang.String, java.lang.String[], java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual org.hibernate.sql.SelectFragment.addFormulas:(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Lorg/hibernate/sql/SelectFragment;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/sql/SelectFragment;
0 1 1 tableAlias Ljava/lang/String;
0 1 2 columnTemplates [Ljava/lang/String;
0 1 3 columnAliases [Ljava/lang/String;
MethodParameters:
Name Flags
tableAlias
columnTemplates
columnAliases
public java.lang.String toFragmentString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield org.hibernate.sql.SelectFragment.columns:Ljava/util/List;
invokeinterface java.util.List.size:()I
bipush 10
imul
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: aload 0
getfield org.hibernate.sql.SelectFragment.columns:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: aload 0
getfield org.hibernate.sql.SelectFragment.columnAliases:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
start local 3 3: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 4
start local 4 4: aload 0
getfield org.hibernate.sql.SelectFragment.usedAliases:[Ljava/lang/String;
ifnull 16
aload 4
aload 0
getfield org.hibernate.sql.SelectFragment.usedAliases:[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.util.HashSet.addAll:(Ljava/util/Collection;)Z
pop
5: goto 16
6: StackMap locals: org.hibernate.sql.SelectFragment java.lang.StringBuilder java.util.Iterator java.util.Iterator java.util.HashSet
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 8: aload 4
aload 6
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
ifeq 16
9: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: ldc " as "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 0
getfield org.hibernate.sql.SelectFragment.suffix:Ljava/lang/String;
ifnonnull 15
13: aload 1
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: goto 16
15: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 1
new org.hibernate.sql.Alias
dup
aload 0
getfield org.hibernate.sql.SelectFragment.suffix:Ljava/lang/String;
invokespecial org.hibernate.sql.Alias.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual org.hibernate.sql.Alias.toAliasString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 6 end local 5 16: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
17: aload 0
getfield org.hibernate.sql.SelectFragment.extraSelectList:Ljava/lang/String;
ifnull 20
18: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: aload 0
getfield org.hibernate.sql.SelectFragment.extraSelectList:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/hibernate/sql/SelectFragment;
1 21 1 buf Ljava/lang/StringBuilder;
2 21 2 iter Ljava/util/Iterator;
3 21 3 columnAliasIter Ljava/util/Iterator;
4 21 4 columnsUnique Ljava/util/HashSet;
7 16 5 column Ljava/lang/String;
8 16 6 columnAlias Ljava/lang/String;
}
SourceFile: "SelectFragment.java"