public class org.hibernate.sql.SelectValues
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.sql.SelectValues
super_class: java.lang.Object
{
private static final org.jboss.logging.Logger log;
descriptor: Lorg/jboss/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.hibernate.dialect.Dialect dialect;
descriptor: Lorg/hibernate/dialect/Dialect;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.ArrayList<org.hibernate.sql.SelectValues$SelectValue> selectValueList;
descriptor: Ljava/util/ArrayList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/ArrayList<Lorg/hibernate/sql/SelectValues$SelectValue;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/sql/SelectValues;
invokestatic org.jboss.logging.Logger.getLogger:(Ljava/lang/Class;)Lorg/jboss/logging/Logger;
putstatic org.hibernate.sql.SelectValues.log:Lorg/jboss/logging/Logger;
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=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.SelectValues.selectValueList:Ljava/util/ArrayList;
2: aload 0
aload 1
putfield org.hibernate.sql.SelectValues.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/SelectValues;
0 4 1 dialect Lorg/hibernate/dialect/Dialect;
MethodParameters:
Name Flags
dialect
public org.hibernate.sql.SelectValues addColumns(java.lang.String, java.lang.String[], java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Lorg/hibernate/sql/SelectValues;
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 5
2: StackMap locals: int
StackMap stack:
aload 2
iload 4
aaload
ifnull 4
3: aload 0
aload 1
aload 2
iload 4
aaload
aload 3
iload 4
aaload
invokevirtual org.hibernate.sql.SelectValues.addColumn:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/sql/SelectValues;
pop
4: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
aload 2
arraylength
if_icmplt 2
end local 4 6: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/sql/SelectValues;
0 7 1 qualifier Ljava/lang/String;
0 7 2 columnNames [Ljava/lang/String;
0 7 3 columnAliases [Ljava/lang/String;
1 6 4 i I
MethodParameters:
Name Flags
qualifier
columnNames
columnAliases
public org.hibernate.sql.SelectValues addColumn(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/sql/SelectValues;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.hibernate.sql.SelectValues.selectValueList:Ljava/util/ArrayList;
new org.hibernate.sql.SelectValues$SelectValue
dup
aload 1
aload 2
aload 3
invokespecial org.hibernate.sql.SelectValues$SelectValue.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/sql/SelectValues;
0 2 1 qualifier Ljava/lang/String;
0 2 2 columnName Ljava/lang/String;
0 2 3 columnAlias Ljava/lang/String;
MethodParameters:
Name Flags
qualifier
columnName
columnAlias
public org.hibernate.sql.SelectValues addParameter(int, int);
descriptor: (II)Lorg/hibernate/sql/SelectValues;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.hibernate.sql.SelectValues.dialect:Lorg/hibernate/dialect/Dialect;
invokevirtual org.hibernate.dialect.Dialect.requiresCastingOfParametersInSelectClause:()Z
ifeq 2
1: aload 0
getfield org.hibernate.sql.SelectValues.dialect:Lorg/hibernate/dialect/Dialect;
ldc "?"
iload 1
iload 2
invokevirtual org.hibernate.dialect.Dialect.cast:(Ljava/lang/String;II)Ljava/lang/String;
goto 3
2: StackMap locals:
StackMap stack:
ldc "?"
3: StackMap locals:
StackMap stack: java.lang.String
astore 3
start local 3 4: aload 0
getfield org.hibernate.sql.SelectValues.selectValueList:Ljava/util/ArrayList;
new org.hibernate.sql.SelectValues$SelectValue
dup
aconst_null
aload 3
aconst_null
invokespecial org.hibernate.sql.SelectValues$SelectValue.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
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/SelectValues;
0 6 1 jdbcTypeCode I
0 6 2 length I
4 6 3 selectExpression Ljava/lang/String;
MethodParameters:
Name Flags
jdbcTypeCode
length
public org.hibernate.sql.SelectValues addParameter(int, int, int);
descriptor: (III)Lorg/hibernate/sql/SelectValues;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.hibernate.sql.SelectValues.dialect:Lorg/hibernate/dialect/Dialect;
invokevirtual org.hibernate.dialect.Dialect.requiresCastingOfParametersInSelectClause:()Z
ifeq 2
1: aload 0
getfield org.hibernate.sql.SelectValues.dialect:Lorg/hibernate/dialect/Dialect;
ldc "?"
iload 1
iload 2
iload 3
invokevirtual org.hibernate.dialect.Dialect.cast:(Ljava/lang/String;III)Ljava/lang/String;
goto 3
2: StackMap locals:
StackMap stack:
ldc "?"
3: StackMap locals:
StackMap stack: java.lang.String
astore 4
start local 4 4: aload 0
getfield org.hibernate.sql.SelectValues.selectValueList:Ljava/util/ArrayList;
new org.hibernate.sql.SelectValues$SelectValue
dup
aconst_null
aload 4
aconst_null
invokespecial org.hibernate.sql.SelectValues$SelectValue.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
5: aload 0
areturn
end local 4 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/SelectValues;
0 6 1 jdbcTypeCode I
0 6 2 precision I
0 6 3 scale I
4 6 4 selectExpression Ljava/lang/String;
MethodParameters:
Name Flags
jdbcTypeCode
precision
scale
public java.lang.String render();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield org.hibernate.sql.SelectValues.selectValueList:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
bipush 10
imul
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 2: iconst_1
istore 3
start local 3 3: aload 0
getfield org.hibernate.sql.SelectValues.selectValueList:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 5
goto 18
StackMap locals: org.hibernate.sql.SelectValues java.lang.StringBuilder java.util.HashSet int top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.sql.SelectValues$SelectValue
astore 4
start local 4 5: aload 4
getfield org.hibernate.sql.SelectValues$SelectValue.alias:Ljava/lang/String;
ifnull 9
6: aload 2
aload 4
getfield org.hibernate.sql.SelectValues$SelectValue.alias:Ljava/lang/String;
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
ifne 9
7: getstatic org.hibernate.sql.SelectValues.log:Lorg/jboss/logging/Logger;
ldc "Skipping select-value with non-unique alias"
invokevirtual org.jboss.logging.Logger.debug:(Ljava/lang/Object;)V
8: goto 18
9: StackMap locals: org.hibernate.sql.SelectValues java.lang.StringBuilder java.util.HashSet int org.hibernate.sql.SelectValues$SelectValue java.util.Iterator
StackMap stack:
iload 3
ifeq 12
10: iconst_0
istore 3
11: goto 13
12: StackMap locals:
StackMap stack:
aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: StackMap locals:
StackMap stack:
aload 4
getfield org.hibernate.sql.SelectValues$SelectValue.qualifier:Ljava/lang/String;
ifnull 15
14: aload 1
aload 4
getfield org.hibernate.sql.SelectValues$SelectValue.qualifier:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
aload 1
aload 4
getfield org.hibernate.sql.SelectValues$SelectValue.value:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: aload 4
getfield org.hibernate.sql.SelectValues$SelectValue.alias:Ljava/lang/String;
ifnull 18
17: aload 1
ldc " as "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
getfield org.hibernate.sql.SelectValues$SelectValue.alias:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 4 18: StackMap locals: org.hibernate.sql.SelectValues java.lang.StringBuilder java.util.HashSet int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
19: aload 1
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 20 0 this Lorg/hibernate/sql/SelectValues;
1 20 1 buf Ljava/lang/StringBuilder;
2 20 2 uniqueAliases Ljava/util/HashSet<Ljava/lang/String;>;
3 20 3 firstExpression Z
5 18 4 selectValue Lorg/hibernate/sql/SelectValues$SelectValue;
}
SourceFile: "SelectValues.java"
NestMembers:
org.hibernate.sql.SelectValues$SelectValue
InnerClasses:
private SelectValue = org.hibernate.sql.SelectValues$SelectValue of org.hibernate.sql.SelectValues