public class org.hibernate.engine.query.spi.ParameterParser
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.engine.query.spi.ParameterParser
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/engine/query/spi/ParameterParser;
public static void parse(java.lang.String, org.hibernate.engine.query.spi.ParameterParser$Recognizer);
descriptor: (Ljava/lang/String;Lorg/hibernate/engine/query/spi/ParameterParser$Recognizer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.hibernate.engine.query.spi.ParameterParser.startsWithEscapeCallTemplate:(Ljava/lang/String;)Z
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 0
invokevirtual java.lang.String.length:()I
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: iconst_0
istore 6
start local 6 5: goto 54
6: StackMap locals: java.lang.String org.hibernate.engine.query.spi.ParameterParser$Recognizer int int int int int
StackMap stack:
aload 0
iload 6
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 7: iload 5
ifeq 12
8: bipush 39
iload 7
if_icmpne 10
9: iconst_0
istore 5
10: StackMap locals: int
StackMap stack:
aload 1
iload 7
invokeinterface org.hibernate.engine.query.spi.ParameterParser$Recognizer.other:(C)V
11: goto 53
12: StackMap locals:
StackMap stack:
bipush 39
iload 7
if_icmpne 16
13: iconst_1
istore 5
14: aload 1
iload 7
invokeinterface org.hibernate.engine.query.spi.ParameterParser$Recognizer.other:(C)V
15: goto 53
16: StackMap locals:
StackMap stack:
bipush 92
iload 7
if_icmpne 19
17: aload 1
aload 0
iinc 6 1
iload 6
invokevirtual java.lang.String.charAt:(I)C
invokeinterface org.hibernate.engine.query.spi.ParameterParser$Recognizer.other:(C)V
18: goto 53
19: StackMap locals:
StackMap stack:
iload 7
bipush 58
if_icmpne 32
20: aload 0
getstatic org.hibernate.hql.internal.classic.ParserHelper.HQL_SEPARATORS_BITSET:Ljava/util/BitSet;
iload 6
iconst_1
iadd
invokestatic org.hibernate.internal.util.StringHelper.firstIndexOfChar:(Ljava/lang/String;Ljava/util/BitSet;I)I
istore 8
start local 8 21: iload 8
ifge 22
aload 0
invokevirtual java.lang.String.length:()I
goto 23
StackMap locals: int
StackMap stack:
22: iload 8
StackMap locals:
StackMap stack: int
23: istore 9
start local 9 24: aload 0
iload 6
iconst_1
iadd
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 10
start local 10 25: aload 10
invokestatic org.hibernate.internal.util.StringHelper.isEmpty:(Ljava/lang/String;)Z
ifeq 29
26: new org.hibernate.QueryException
dup
27: new java.lang.StringBuilder
dup
ldc "Space is not allowed after parameter prefix ':' ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
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;
28: invokespecial org.hibernate.QueryException.<init>:(Ljava/lang/String;)V
athrow
29: StackMap locals: int java.lang.String
StackMap stack:
aload 1
aload 10
iload 6
invokeinterface org.hibernate.engine.query.spi.ParameterParser$Recognizer.namedParameter:(Ljava/lang/String;I)V
30: iload 9
iconst_1
isub
istore 6
end local 10 end local 9 end local 8 31: goto 53
32: StackMap locals:
StackMap stack:
iload 7
bipush 63
if_icmpne 52
33: iload 6
iload 4
iconst_1
isub
if_icmpge 46
aload 0
iload 6
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
ifeq 46
34: aload 0
ldc " \n\r\f\t,()=<>&|+-=/*'^![]#~\\"
iload 6
iconst_1
iadd
invokestatic org.hibernate.internal.util.StringHelper.firstIndexOfChar:(Ljava/lang/String;Ljava/lang/String;I)I
istore 8
start local 8 35: iload 8
ifge 36
aload 0
invokevirtual java.lang.String.length:()I
goto 37
StackMap locals: int
StackMap stack:
36: iload 8
StackMap locals:
StackMap stack: int
37: istore 9
start local 9 38: aload 0
iload 6
iconst_1
iadd
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 10
start local 10 39: aload 10
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
pop
40: goto 43
41: StackMap locals: java.lang.String org.hibernate.engine.query.spi.ParameterParser$Recognizer int int int int int int int int java.lang.String
StackMap stack: java.lang.NumberFormatException
pop
42: new org.hibernate.QueryException
dup
ldc "JPA-style positional param was not an integral ordinal"
invokespecial org.hibernate.QueryException.<init>:(Ljava/lang/String;)V
athrow
43: StackMap locals:
StackMap stack:
aload 1
aload 10
iload 6
invokeinterface org.hibernate.engine.query.spi.ParameterParser$Recognizer.jpaPositionalParameter:(Ljava/lang/String;I)V
44: iload 9
iconst_1
isub
istore 6
end local 10 end local 9 end local 8 45: goto 53
46: StackMap locals:
StackMap stack:
iload 2
ifeq 50
iload 3
ifne 50
47: iconst_1
istore 3
48: aload 1
iload 6
invokeinterface org.hibernate.engine.query.spi.ParameterParser$Recognizer.outParameter:(I)V
49: goto 53
50: StackMap locals:
StackMap stack:
aload 1
iload 6
invokeinterface org.hibernate.engine.query.spi.ParameterParser$Recognizer.ordinalParameter:(I)V
51: goto 53
52: StackMap locals:
StackMap stack:
aload 1
iload 7
invokeinterface org.hibernate.engine.query.spi.ParameterParser$Recognizer.other:(C)V
end local 7 53: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
54: iload 6
iload 4
if_icmplt 6
end local 6 55: return
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 56 0 sqlString Ljava/lang/String;
0 56 1 recognizer Lorg/hibernate/engine/query/spi/ParameterParser$Recognizer;
1 56 2 hasMainOutputParameter Z
2 56 3 foundMainOutputParam Z
3 56 4 stringLength I
4 56 5 inQuote Z
5 55 6 indx I
7 53 7 c C
21 31 8 right I
24 31 9 chopLocation I
25 31 10 param Ljava/lang/String;
35 45 8 right I
38 45 9 chopLocation I
39 45 10 param Ljava/lang/String;
Exception table:
from to target type
39 40 41 Class java.lang.NumberFormatException
Exceptions:
throws org.hibernate.QueryException
MethodParameters:
Name Flags
sqlString
recognizer
public static boolean startsWithEscapeCallTemplate(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: aload 0
ldc "{"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 1
aload 0
ldc "}"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
ldc "call"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 1
start local 1 3: iload 1
ifgt 5
4: iconst_0
ireturn
5: StackMap locals: int
StackMap stack:
aload 0
iconst_1
iload 1
iconst_4
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
start local 2 6: iconst_0
istore 3
start local 3 7: iconst_1
istore 4
start local 4 8: aload 2
invokevirtual java.lang.String.length:()I
istore 5
start local 5 9: iconst_0
istore 6
start local 6 10: goto 20
11: StackMap locals: java.lang.String int java.lang.String int int int int
StackMap stack:
aload 2
iload 6
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.toLowerCase:(C)C
istore 7
start local 7 12: iload 7
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 14
13: goto 19
14: StackMap locals: int
StackMap stack:
iload 7
ldc "?=call"
iload 3
invokevirtual java.lang.String.charAt:(I)C
if_icmpne 17
15: iinc 3 1
16: goto 19
17: StackMap locals:
StackMap stack:
iconst_0
istore 4
18: goto 21
end local 7 19: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
20: iload 6
iload 5
if_icmplt 11
end local 6 21: StackMap locals:
StackMap stack:
iload 4
ireturn
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 22 0 sqlString Ljava/lang/String;
3 22 1 chopLocation I
6 22 2 checkString Ljava/lang/String;
7 22 3 fixturePosition I
8 22 4 matches Z
9 22 5 max I
10 21 6 i I
12 19 7 c C
MethodParameters:
Name Flags
sqlString
}
SourceFile: "ParameterParser.java"
NestMembers:
org.hibernate.engine.query.spi.ParameterParser$Recognizer
InnerClasses:
public abstract Recognizer = org.hibernate.engine.query.spi.ParameterParser$Recognizer of org.hibernate.engine.query.spi.ParameterParser