public class org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions$SumFunction extends org.hibernate.dialect.function.StandardSQLFunction
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions$SumFunction
super_class: org.hibernate.dialect.function.StandardSQLFunction
{
public static final org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions$SumFunction INSTANCE;
descriptor: Lorg/hibernate/dialect/function/StandardAnsiSqlAggregationFunctions$SumFunction;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions$SumFunction
dup
invokespecial org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions$SumFunction.<init>:()V
putstatic org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions$SumFunction.INSTANCE:Lorg/hibernate/dialect/function/StandardAnsiSqlAggregationFunctions$SumFunction;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "sum"
invokespecial org.hibernate.dialect.function.StandardSQLFunction.<init>:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/dialect/function/StandardAnsiSqlAggregationFunctions$SumFunction;
public org.hibernate.type.Type getReturnType(org.hibernate.type.Type, org.hibernate.engine.spi.Mapping);
descriptor: (Lorg/hibernate/type/Type;Lorg/hibernate/engine/spi/Mapping;)Lorg/hibernate/type/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions$SumFunction.determineJdbcTypeCode:(Lorg/hibernate/type/Type;Lorg/hibernate/engine/spi/Mapping;)I
istore 3
start local 3 1: aload 1
getstatic org.hibernate.type.StandardBasicTypes.BIG_INTEGER:Lorg/hibernate/type/BigIntegerType;
if_acmpne 3
2: getstatic org.hibernate.type.StandardBasicTypes.BIG_INTEGER:Lorg/hibernate/type/BigIntegerType;
areturn
3: StackMap locals: int
StackMap stack:
aload 1
getstatic org.hibernate.type.StandardBasicTypes.BIG_DECIMAL:Lorg/hibernate/type/BigDecimalType;
if_acmpne 5
4: getstatic org.hibernate.type.StandardBasicTypes.BIG_DECIMAL:Lorg/hibernate/type/BigDecimalType;
areturn
5: StackMap locals:
StackMap stack:
aload 1
getstatic org.hibernate.type.StandardBasicTypes.LONG:Lorg/hibernate/type/LongType;
if_acmpeq 8
6: aload 1
getstatic org.hibernate.type.StandardBasicTypes.SHORT:Lorg/hibernate/type/ShortType;
if_acmpeq 8
7: aload 1
getstatic org.hibernate.type.StandardBasicTypes.INTEGER:Lorg/hibernate/type/IntegerType;
if_acmpne 9
8: StackMap locals:
StackMap stack:
getstatic org.hibernate.type.StandardBasicTypes.LONG:Lorg/hibernate/type/LongType;
areturn
9: StackMap locals:
StackMap stack:
aload 1
getstatic org.hibernate.type.StandardBasicTypes.FLOAT:Lorg/hibernate/type/FloatType;
if_acmpeq 10
aload 1
getstatic org.hibernate.type.StandardBasicTypes.DOUBLE:Lorg/hibernate/type/DoubleType;
if_acmpne 11
10: StackMap locals:
StackMap stack:
getstatic org.hibernate.type.StandardBasicTypes.DOUBLE:Lorg/hibernate/type/DoubleType;
areturn
11: StackMap locals:
StackMap stack:
iload 3
bipush 6
if_icmpeq 15
12: iload 3
bipush 8
if_icmpeq 15
13: iload 3
iconst_3
if_icmpeq 15
14: iload 3
bipush 7
if_icmpne 16
15: StackMap locals:
StackMap stack:
getstatic org.hibernate.type.StandardBasicTypes.DOUBLE:Lorg/hibernate/type/DoubleType;
areturn
16: StackMap locals:
StackMap stack:
iload 3
bipush -5
if_icmpeq 20
17: iload 3
iconst_4
if_icmpeq 20
18: iload 3
iconst_5
if_icmpeq 20
19: iload 3
bipush -6
if_icmpne 21
20: StackMap locals:
StackMap stack:
getstatic org.hibernate.type.StandardBasicTypes.LONG:Lorg/hibernate/type/LongType;
areturn
21: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/hibernate/dialect/function/StandardAnsiSqlAggregationFunctions$SumFunction;
0 22 1 firstArgumentType Lorg/hibernate/type/Type;
0 22 2 mapping Lorg/hibernate/engine/spi/Mapping;
1 22 3 jdbcType I
MethodParameters:
Name Flags
firstArgumentType
mapping
protected final int determineJdbcTypeCode(org.hibernate.type.Type, org.hibernate.engine.spi.Mapping);
descriptor: (Lorg/hibernate/type/Type;Lorg/hibernate/engine/spi/Mapping;)I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokeinterface org.hibernate.type.Type.sqlTypes:(Lorg/hibernate/engine/spi/Mapping;)[I
astore 3
start local 3 1: aload 3
arraylength
iconst_1
if_icmpeq 3
2: new org.hibernate.QueryException
dup
ldc "multiple-column type in sum()"
invokespecial org.hibernate.QueryException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int[]
StackMap stack:
aload 3
iconst_0
iaload
4: ireturn
end local 3 5: StackMap locals: org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions$SumFunction org.hibernate.type.Type org.hibernate.engine.spi.Mapping
StackMap stack: org.hibernate.MappingException
astore 3
start local 3 6: new org.hibernate.QueryException
dup
aload 3
invokespecial org.hibernate.QueryException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/dialect/function/StandardAnsiSqlAggregationFunctions$SumFunction;
0 7 1 type Lorg/hibernate/type/Type;
0 7 2 mapping Lorg/hibernate/engine/spi/Mapping;
1 5 3 jdbcTypeCodes [I
6 7 3 me Lorg/hibernate/MappingException;
Exception table:
from to target type
0 4 5 Class org.hibernate.MappingException
Exceptions:
throws org.hibernate.QueryException
MethodParameters:
Name Flags
type
mapping
}
SourceFile: "StandardAnsiSqlAggregationFunctions.java"
NestHost: org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions
InnerClasses:
public SumFunction = org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions$SumFunction of org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions