public abstract class org.hibernate.dialect.function.TrimFunctionTemplate 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.TrimFunctionTemplate
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/TrimFunctionTemplate;
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/TrimFunctionTemplate;
public boolean hasParenthesesIfNoArguments();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
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/TrimFunctionTemplate;
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/TrimFunctionTemplate;
0 1 1 firstArgument Lorg/hibernate/type/Type;
0 1 2 mapping Lorg/hibernate/engine/spi/Mapping;
Exceptions:
throws org.hibernate.QueryException
MethodParameters:
Name Flags
firstArgument
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=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.hibernate.dialect.function.TrimFunctionTemplate$Options
dup
invokespecial org.hibernate.dialect.function.TrimFunctionTemplate$Options.<init>:()V
astore 4
start local 4 1: aload 2
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 4
2: aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 3: goto 29
end local 5 4: StackMap locals: org.hibernate.dialect.function.TrimFunctionTemplate$Options
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 7
5: aload 2
iconst_1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 6: goto 29
end local 5 7: StackMap locals:
StackMap stack:
iconst_1
istore 6
start local 6 8: aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 9: ldc "leading"
aload 7
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
10: aload 4
getstatic org.hibernate.dialect.function.TrimFunctionTemplate$Specification.LEADING:Lorg/hibernate/dialect/function/TrimFunctionTemplate$Specification;
invokevirtual org.hibernate.dialect.function.TrimFunctionTemplate$Options.setTrimSpecification:(Lorg/hibernate/dialect/function/TrimFunctionTemplate$Specification;)V
11: goto 17
12: StackMap locals: org.hibernate.dialect.function.TrimFunctionTemplate org.hibernate.type.Type java.util.List org.hibernate.engine.spi.SessionFactoryImplementor org.hibernate.dialect.function.TrimFunctionTemplate$Options top int java.lang.String
StackMap stack:
ldc "trailing"
aload 7
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 15
13: aload 4
getstatic org.hibernate.dialect.function.TrimFunctionTemplate$Specification.TRAILING:Lorg/hibernate/dialect/function/TrimFunctionTemplate$Specification;
invokevirtual org.hibernate.dialect.function.TrimFunctionTemplate$Options.setTrimSpecification:(Lorg/hibernate/dialect/function/TrimFunctionTemplate$Specification;)V
14: goto 17
15: StackMap locals:
StackMap stack:
ldc "both"
aload 7
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 17
16: iconst_0
istore 6
17: StackMap locals:
StackMap stack:
aload 2
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 18: ldc "from"
aload 8
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 21
19: aload 2
iload 6
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 20: goto 29
end local 5 21: StackMap locals: java.lang.String
StackMap stack:
iload 6
iconst_1
iadd
aload 2
invokeinterface java.util.List.size:()I
if_icmplt 24
22: aload 8
astore 5
start local 5 23: goto 29
end local 5 24: StackMap locals:
StackMap stack:
aload 4
aload 8
invokevirtual org.hibernate.dialect.function.TrimFunctionTemplate$Options.setTrimCharacter:(Ljava/lang/String;)V
25: ldc "from"
aload 2
iload 6
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 28
26: aload 2
iload 6
iconst_2
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 27: goto 29
end local 5 28: StackMap locals:
StackMap stack:
aload 2
iload 6
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 5
end local 8 end local 7 end local 6 start local 5 29: StackMap locals: org.hibernate.dialect.function.TrimFunctionTemplate org.hibernate.type.Type java.util.List org.hibernate.engine.spi.SessionFactoryImplementor org.hibernate.dialect.function.TrimFunctionTemplate$Options java.lang.String
StackMap stack:
aload 0
aload 4
aload 5
aload 3
invokevirtual org.hibernate.dialect.function.TrimFunctionTemplate.render:(Lorg/hibernate/dialect/function/TrimFunctionTemplate$Options;Ljava/lang/String;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
areturn
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 30 0 this Lorg/hibernate/dialect/function/TrimFunctionTemplate;
0 30 1 firstArgument Lorg/hibernate/type/Type;
0 30 2 args Ljava/util/List;
0 30 3 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
1 30 4 options Lorg/hibernate/dialect/function/TrimFunctionTemplate$Options;
3 4 5 trimSource Ljava/lang/String;
6 7 5 trimSource Ljava/lang/String;
20 21 5 trimSource Ljava/lang/String;
23 24 5 trimSource Ljava/lang/String;
27 28 5 trimSource Ljava/lang/String;
29 30 5 trimSource Ljava/lang/String;
8 29 6 potentialTrimCharacterArgIndex I
9 29 7 firstArg Ljava/lang/String;
18 29 8 potentialTrimCharacter Ljava/lang/String;
Exceptions:
throws org.hibernate.QueryException
MethodParameters:
Name Flags
firstArgument
args
factory
protected abstract java.lang.String render(org.hibernate.dialect.function.TrimFunctionTemplate$Options, java.lang.String, org.hibernate.engine.spi.SessionFactoryImplementor);
descriptor: (Lorg/hibernate/dialect/function/TrimFunctionTemplate$Options;Ljava/lang/String;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
options
trimSource
factory
}
SourceFile: "TrimFunctionTemplate.java"
NestMembers:
org.hibernate.dialect.function.TrimFunctionTemplate$Options org.hibernate.dialect.function.TrimFunctionTemplate$Specification
InnerClasses:
protected Options = org.hibernate.dialect.function.TrimFunctionTemplate$Options of org.hibernate.dialect.function.TrimFunctionTemplate
protected Specification = org.hibernate.dialect.function.TrimFunctionTemplate$Specification of org.hibernate.dialect.function.TrimFunctionTemplate