public class org.hibernate.dialect.function.ConvertFunction implements org.hibernate.dialect.function.SQLFunction
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.dialect.function.ConvertFunction
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/dialect/function/ConvertFunction;
public boolean hasArguments();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/dialect/function/ConvertFunction;
public boolean hasParenthesesIfNoArguments();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/dialect/function/ConvertFunction;
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=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.hibernate.type.StandardBasicTypes.STRING:Lorg/hibernate/type/StringType;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/dialect/function/ConvertFunction;
0 1 1 firstArgumentType Lorg/hibernate/type/Type;
0 1 2 mapping Lorg/hibernate/engine/spi/Mapping;
Exceptions:
throws org.hibernate.QueryException
MethodParameters:
Name Flags
firstArgumentType
mapping
public java.lang.String render(org.hibernate.type.Type, java.util.List, org.hibernate.engine.spi.SessionFactoryImplementor);
descriptor: (Lorg/hibernate/type/Type;Ljava/util/List;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokeinterface java.util.List.size:()I
iconst_2
if_icmpeq 2
aload 2
invokeinterface java.util.List.size:()I
iconst_3
if_icmpeq 2
1: new org.hibernate.QueryException
dup
ldc "convert() requires two or three arguments"
invokespecial org.hibernate.QueryException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
iconst_1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 3: aload 2
invokeinterface java.util.List.size:()I
iconst_2
if_icmpne 5
4: new java.lang.StringBuilder
dup
ldc "{fn convert("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " , "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
5: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
ldc "convert("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " , "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
iconst_2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
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 6 0 this Lorg/hibernate/dialect/function/ConvertFunction;
0 6 1 firstArgumentType Lorg/hibernate/type/Type;
0 6 2 args Ljava/util/List;
0 6 3 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
3 6 4 type Ljava/lang/String;
Exceptions:
throws org.hibernate.QueryException
MethodParameters:
Name Flags
firstArgumentType
args
factory
}
SourceFile: "ConvertFunction.java"