class org.hibernate.sql.Template$TrimOperands
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.hibernate.sql.Template$TrimOperands
super_class: java.lang.Object
{
private final java.lang.String trimSpec;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String trimChar;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String from;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String trimSource;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokeinterface java.util.List.size:()I
istore 2
start local 2 2: iload 2
iconst_1
if_icmpne 8
3: aload 0
aconst_null
putfield org.hibernate.sql.Template$TrimOperands.trimSpec:Ljava/lang/String;
4: aload 0
aconst_null
putfield org.hibernate.sql.Template$TrimOperands.trimChar:Ljava/lang/String;
5: aload 0
aconst_null
putfield org.hibernate.sql.Template$TrimOperands.from:Ljava/lang/String;
6: aload 0
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
putfield org.hibernate.sql.Template$TrimOperands.trimSource:Ljava/lang/String;
7: goto 31
8: StackMap locals: org.hibernate.sql.Template$TrimOperands java.util.List int
StackMap stack:
iload 2
iconst_4
if_icmpne 14
9: aload 0
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
putfield org.hibernate.sql.Template$TrimOperands.trimSpec:Ljava/lang/String;
10: aload 0
aload 1
iconst_1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
putfield org.hibernate.sql.Template$TrimOperands.trimChar:Ljava/lang/String;
11: aload 0
aload 1
iconst_2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
putfield org.hibernate.sql.Template$TrimOperands.from:Ljava/lang/String;
12: aload 0
aload 1
iconst_3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
putfield org.hibernate.sql.Template$TrimOperands.trimSource:Ljava/lang/String;
13: goto 31
14: StackMap locals:
StackMap stack:
iload 2
iconst_1
if_icmplt 15
iload 2
iconst_4
if_icmple 16
15: StackMap locals:
StackMap stack:
new org.hibernate.HibernateException
dup
new java.lang.StringBuilder
dup
ldc "Unexpected number of trim function operands : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
putfield org.hibernate.sql.Template$TrimOperands.trimSource:Ljava/lang/String;
17: ldc "from"
aload 1
iload 2
iconst_2
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
18: new org.hibernate.HibernateException
dup
new java.lang.StringBuilder
dup
ldc "Expecting FROM, found : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iload 2
iconst_2
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iconst_2
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
putfield org.hibernate.sql.Template$TrimOperands.from:Ljava/lang/String;
20: ldc "leading"
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 23
21: ldc "trailing"
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 23
22: ldc "both"
aload 1
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 26
23: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
putfield org.hibernate.sql.Template$TrimOperands.trimSpec:Ljava/lang/String;
24: aload 0
aconst_null
putfield org.hibernate.sql.Template$TrimOperands.trimChar:Ljava/lang/String;
25: goto 31
26: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.hibernate.sql.Template$TrimOperands.trimSpec:Ljava/lang/String;
27: iload 2
iconst_2
isub
ifne 30
28: aload 0
aconst_null
putfield org.hibernate.sql.Template$TrimOperands.trimChar:Ljava/lang/String;
29: goto 31
30: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
putfield org.hibernate.sql.Template$TrimOperands.trimChar:Ljava/lang/String;
31: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/hibernate/sql/Template$TrimOperands;
0 32 1 operands Ljava/util/List<Ljava/lang/String;>;
2 32 2 size I
Signature: (Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
operands
}
SourceFile: "Template.java"
NestHost: org.hibernate.sql.Template
InnerClasses:
private TrimOperands = org.hibernate.sql.Template$TrimOperands of org.hibernate.sql.Template