public abstract class org.hibernate.dialect.function.AbstractAnsiTrimEmulationFunction implements org.hibernate.dialect.function.SQLFunction
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.hibernate.dialect.function.AbstractAnsiTrimEmulationFunction
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/AbstractAnsiTrimEmulationFunction;
public final boolean hasArguments();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
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/AbstractAnsiTrimEmulationFunction;
public final boolean hasParenthesesIfNoArguments();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/dialect/function/AbstractAnsiTrimEmulationFunction;
public final 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: (0x0011) ACC_PUBLIC, ACC_FINAL
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/AbstractAnsiTrimEmulationFunction;
0 1 1 argumentType Lorg/hibernate/type/Type;
0 1 2 mapping Lorg/hibernate/engine/spi/Mapping;
Exceptions:
throws org.hibernate.QueryException
MethodParameters:
Name Flags
argumentType
mapping
public final 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: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=12, 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_1
if_icmpne 2
1: aload 0
invokevirtual org.hibernate.dialect.function.AbstractAnsiTrimEmulationFunction.resolveBothSpaceTrimFunction:()Lorg/hibernate/dialect/function/SQLFunction;
aload 1
aload 2
aload 3
invokeinterface org.hibernate.dialect.function.SQLFunction.render:(Lorg/hibernate/type/Type;Ljava/util/List;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
ldc "from"
aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
invokevirtual org.hibernate.dialect.function.AbstractAnsiTrimEmulationFunction.resolveBothSpaceTrimFromFunction:()Lorg/hibernate/dialect/function/SQLFunction;
aload 1
aload 2
aload 3
invokeinterface org.hibernate.dialect.function.SQLFunction.render:(Lorg/hibernate/type/Type;Ljava/util/List;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
iconst_1
istore 4
start local 4 5: iconst_1
istore 5
start local 5 6: iconst_1
istore 8
start local 8 7: aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 8: ldc "leading"
aload 9
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 11
9: iconst_0
istore 5
10: goto 16
11: StackMap locals: org.hibernate.dialect.function.AbstractAnsiTrimEmulationFunction org.hibernate.type.Type java.util.List org.hibernate.engine.spi.SessionFactoryImplementor int int top top int java.lang.String
StackMap stack:
ldc "trailing"
aload 9
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 14
12: iconst_0
istore 4
13: goto 16
14: StackMap locals:
StackMap stack:
ldc "both"
aload 9
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 16
15: iconst_0
istore 8
16: StackMap locals:
StackMap stack:
aload 2
iload 8
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 10
start local 10 17: ldc "from"
aload 10
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 21
18: ldc "' '"
astore 6
start local 6 19: aload 2
iload 8
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 20: goto 30
end local 7 end local 6 21: StackMap locals: java.lang.String
StackMap stack:
iload 8
iconst_1
iadd
aload 2
invokeinterface java.util.List.size:()I
if_icmplt 25
22: ldc "' '"
astore 6
start local 6 23: aload 10
astore 7
start local 7 24: goto 30
end local 7 end local 6 25: StackMap locals:
StackMap stack:
aload 10
astore 6
start local 6 26: ldc "from"
aload 2
iload 8
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 29
27: aload 2
iload 8
iconst_2
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 28: goto 30
end local 7 29: StackMap locals: org.hibernate.dialect.function.AbstractAnsiTrimEmulationFunction org.hibernate.type.Type java.util.List org.hibernate.engine.spi.SessionFactoryImplementor int int java.lang.String top int java.lang.String java.lang.String
StackMap stack:
aload 2
iload 8
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 30: StackMap locals: org.hibernate.dialect.function.AbstractAnsiTrimEmulationFunction org.hibernate.type.Type java.util.List org.hibernate.engine.spi.SessionFactoryImplementor int int java.lang.String java.lang.String int java.lang.String java.lang.String
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 11
start local 11 31: aload 11
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
32: aload 11
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
33: aload 6
ldc "' '"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 39
34: iload 4
ifeq 36
iload 5
ifeq 36
35: aload 0
invokevirtual org.hibernate.dialect.function.AbstractAnsiTrimEmulationFunction.resolveBothSpaceTrimFunction:()Lorg/hibernate/dialect/function/SQLFunction;
aload 1
aload 11
aload 3
invokeinterface org.hibernate.dialect.function.SQLFunction.render:(Lorg/hibernate/type/Type;Ljava/util/List;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
areturn
36: StackMap locals: java.util.List
StackMap stack:
iload 4
ifeq 38
37: aload 0
invokevirtual org.hibernate.dialect.function.AbstractAnsiTrimEmulationFunction.resolveLeadingSpaceTrimFunction:()Lorg/hibernate/dialect/function/SQLFunction;
aload 1
aload 11
aload 3
invokeinterface org.hibernate.dialect.function.SQLFunction.render:(Lorg/hibernate/type/Type;Ljava/util/List;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
areturn
38: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.dialect.function.AbstractAnsiTrimEmulationFunction.resolveTrailingSpaceTrimFunction:()Lorg/hibernate/dialect/function/SQLFunction;
aload 1
aload 11
aload 3
invokeinterface org.hibernate.dialect.function.SQLFunction.render:(Lorg/hibernate/type/Type;Ljava/util/List;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
areturn
39: StackMap locals:
StackMap stack:
iload 4
ifeq 41
iload 5
ifeq 41
40: aload 0
invokevirtual org.hibernate.dialect.function.AbstractAnsiTrimEmulationFunction.resolveBothTrimFunction:()Lorg/hibernate/dialect/function/SQLFunction;
aload 1
aload 11
aload 3
invokeinterface org.hibernate.dialect.function.SQLFunction.render:(Lorg/hibernate/type/Type;Ljava/util/List;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
areturn
41: StackMap locals:
StackMap stack:
iload 4
ifeq 43
42: aload 0
invokevirtual org.hibernate.dialect.function.AbstractAnsiTrimEmulationFunction.resolveLeadingTrimFunction:()Lorg/hibernate/dialect/function/SQLFunction;
aload 1
aload 11
aload 3
invokeinterface org.hibernate.dialect.function.SQLFunction.render:(Lorg/hibernate/type/Type;Ljava/util/List;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
areturn
43: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.dialect.function.AbstractAnsiTrimEmulationFunction.resolveTrailingTrimFunction:()Lorg/hibernate/dialect/function/SQLFunction;
aload 1
aload 11
aload 3
invokeinterface org.hibernate.dialect.function.SQLFunction.render:(Lorg/hibernate/type/Type;Ljava/util/List;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
areturn
end local 11 end local 10 end local 9 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 44 0 this Lorg/hibernate/dialect/function/AbstractAnsiTrimEmulationFunction;
0 44 1 argumentType Lorg/hibernate/type/Type;
0 44 2 args Ljava/util/List;
0 44 3 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
5 44 4 leading Z
6 44 5 trailing Z
19 21 6 trimCharacter Ljava/lang/String;
23 25 6 trimCharacter Ljava/lang/String;
26 44 6 trimCharacter Ljava/lang/String;
20 21 7 trimSource Ljava/lang/String;
24 25 7 trimSource Ljava/lang/String;
28 29 7 trimSource Ljava/lang/String;
30 44 7 trimSource Ljava/lang/String;
7 44 8 potentialTrimCharacterArgIndex I
8 44 9 firstArg Ljava/lang/String;
17 44 10 potentialTrimCharacter Ljava/lang/String;
31 44 11 argsToUse Ljava/util/List<Ljava/lang/String;>;
Exceptions:
throws org.hibernate.QueryException
MethodParameters:
Name Flags
argumentType
args
factory
protected abstract org.hibernate.dialect.function.SQLFunction resolveBothSpaceTrimFunction();
descriptor: ()Lorg/hibernate/dialect/function/SQLFunction;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract org.hibernate.dialect.function.SQLFunction resolveBothSpaceTrimFromFunction();
descriptor: ()Lorg/hibernate/dialect/function/SQLFunction;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract org.hibernate.dialect.function.SQLFunction resolveLeadingSpaceTrimFunction();
descriptor: ()Lorg/hibernate/dialect/function/SQLFunction;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract org.hibernate.dialect.function.SQLFunction resolveTrailingSpaceTrimFunction();
descriptor: ()Lorg/hibernate/dialect/function/SQLFunction;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract org.hibernate.dialect.function.SQLFunction resolveBothTrimFunction();
descriptor: ()Lorg/hibernate/dialect/function/SQLFunction;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract org.hibernate.dialect.function.SQLFunction resolveLeadingTrimFunction();
descriptor: ()Lorg/hibernate/dialect/function/SQLFunction;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract org.hibernate.dialect.function.SQLFunction resolveTrailingTrimFunction();
descriptor: ()Lorg/hibernate/dialect/function/SQLFunction;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
}
SourceFile: "AbstractAnsiTrimEmulationFunction.java"