public class org.hibernate.dialect.function.CharIndexFunction 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.CharIndexFunction
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/CharIndexFunction;
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/CharIndexFunction;
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/CharIndexFunction;
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.INTEGER:Lorg/hibernate/type/IntegerType;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/dialect/function/CharIndexFunction;
0 1 1 columnType Lorg/hibernate/type/Type;
0 1 2 mapping Lorg/hibernate/engine/spi/Mapping;
Exceptions:
throws org.hibernate.QueryException
MethodParameters:
Name Flags
columnType
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=2, locals=9, 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_icmple 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 4
start local 4 3: aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 5
start local 5 4: aload 2
iconst_1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 6
start local 6 5: iload 4
ifeq 6
aload 2
iconst_2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
goto 7
StackMap locals: int java.lang.Object java.lang.Object
StackMap stack:
6: aconst_null
StackMap locals:
StackMap stack: java.lang.Object
7: astore 7
start local 7 8: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 8
start local 8 9: aload 8
ldc "charindex("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: iload 4
ifeq 12
11: aload 8
ldc "right("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals: java.lang.Object java.lang.StringBuilder
StackMap stack:
aload 8
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
13: iload 4
ifeq 15
14: aload 8
ldc ", char_length("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")-("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "-1))"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
aload 8
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
16: aload 8
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 8 end local 7 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 17 0 this Lorg/hibernate/dialect/function/CharIndexFunction;
0 17 1 columnType Lorg/hibernate/type/Type;
0 17 2 args Ljava/util/List;
0 17 3 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
3 17 4 threeArgs Z
4 17 5 pattern Ljava/lang/Object;
5 17 6 string Ljava/lang/Object;
8 17 7 start Ljava/lang/Object;
9 17 8 buf Ljava/lang/StringBuilder;
Exceptions:
throws org.hibernate.QueryException
MethodParameters:
Name Flags
columnType
args
factory
}
SourceFile: "CharIndexFunction.java"