public abstract class com.jayway.jsonpath.internal.path.PathToken
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.jayway.jsonpath.internal.path.PathToken
super_class: java.lang.Object
{
private com.jayway.jsonpath.internal.path.PathToken prev;
descriptor: Lcom/jayway/jsonpath/internal/path/PathToken;
flags: (0x0002) ACC_PRIVATE
private com.jayway.jsonpath.internal.path.PathToken next;
descriptor: Lcom/jayway/jsonpath/internal/path/PathToken;
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean definite;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean upstreamDefinite;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/jayway/jsonpath/internal/path/PathToken;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.jayway.jsonpath.internal.path.PathToken.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.jayway.jsonpath.internal.path.PathToken.definite:Ljava/lang/Boolean;
2: aload 0
aconst_null
putfield com.jayway.jsonpath.internal.path.PathToken.upstreamDefinite:Ljava/lang/Boolean;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/jayway/jsonpath/internal/path/PathToken;
com.jayway.jsonpath.internal.path.PathToken appendTailToken(com.jayway.jsonpath.internal.path.PathToken);
descriptor: (Lcom/jayway/jsonpath/internal/path/PathToken;)Lcom/jayway/jsonpath/internal/path/PathToken;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.jayway.jsonpath.internal.path.PathToken.next:Lcom/jayway/jsonpath/internal/path/PathToken;
1: aload 0
getfield com.jayway.jsonpath.internal.path.PathToken.next:Lcom/jayway/jsonpath/internal/path/PathToken;
aload 0
putfield com.jayway.jsonpath.internal.path.PathToken.prev:Lcom/jayway/jsonpath/internal/path/PathToken;
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/jayway/jsonpath/internal/path/PathToken;
0 3 1 next Lcom/jayway/jsonpath/internal/path/PathToken;
MethodParameters:
Name Flags
next
void handleObjectProperty(java.lang.String, , com.jayway.jsonpath.internal.path.EvaluationContextImpl, java.util.List<java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Lcom/jayway/jsonpath/internal/path/EvaluationContextImpl;Ljava/util/List;)V
flags: (0x0000)
Code:
stack=5, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 27
1: aload 4
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 2: iconst_4
anewarray java.lang.CharSequence
dup
iconst_0
aload 1
aastore
dup
iconst_1
ldc "['"
aastore
dup
iconst_2
aload 5
aastore
dup
iconst_3
ldc "']"
aastore
invokestatic com.jayway.jsonpath.internal.Utils.concat:([Ljava/lang/CharSequence;)Ljava/lang/String;
astore 6
start local 6 3: aload 5
aload 2
aload 3
invokestatic com.jayway.jsonpath.internal.path.PathToken.readObjectProperty:(Ljava/lang/String;Ljava/lang/Object;Lcom/jayway/jsonpath/internal/path/EvaluationContextImpl;)Ljava/lang/Object;
astore 7
start local 7 4: aload 7
getstatic com.jayway.jsonpath.spi.json.JsonProvider.UNDEFINED:Ljava/lang/Object;
if_acmpne 19
5: getstatic com.jayway.jsonpath.internal.path.PathToken.$assertionsDisabled:Z
ifne 6
aload 0
instanceof com.jayway.jsonpath.internal.path.PropertyPathToken
ifne 6
new java.lang.AssertionError
dup
ldc "only PropertyPathToken is supported"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals: java.lang.String java.lang.String java.lang.Object
StackMap stack:
aload 0
invokevirtual com.jayway.jsonpath.internal.path.PathToken.isLeaf:()Z
ifeq 14
7: aload 3
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.options:()Ljava/util/Set;
getstatic com.jayway.jsonpath.Option.DEFAULT_PATH_LEAF_TO_NULL:Lcom/jayway/jsonpath/Option;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 10
8: aconst_null
astore 7
9: goto 19
10: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.options:()Ljava/util/Set;
getstatic com.jayway.jsonpath.Option.SUPPRESS_EXCEPTIONS:Lcom/jayway/jsonpath/Option;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 12
11: aload 3
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.options:()Ljava/util/Set;
getstatic com.jayway.jsonpath.Option.REQUIRE_PROPERTIES:Lcom/jayway/jsonpath/Option;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 13
12: StackMap locals:
StackMap stack:
return
13: StackMap locals:
StackMap stack:
new com.jayway.jsonpath.PathNotFoundException
dup
new java.lang.StringBuilder
dup
ldc "No results for path: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.jayway.jsonpath.PathNotFoundException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.jayway.jsonpath.internal.path.PathToken.isUpstreamDefinite:()Z
ifeq 15
aload 0
invokevirtual com.jayway.jsonpath.internal.path.PathToken.isTokenDefinite:()Z
ifne 16
15: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.options:()Ljava/util/Set;
getstatic com.jayway.jsonpath.Option.REQUIRE_PROPERTIES:Lcom/jayway/jsonpath/Option;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 17
16: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.options:()Ljava/util/Set;
getstatic com.jayway.jsonpath.Option.SUPPRESS_EXCEPTIONS:Lcom/jayway/jsonpath/Option;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 18
17: StackMap locals:
StackMap stack:
return
18: StackMap locals:
StackMap stack:
new com.jayway.jsonpath.PathNotFoundException
dup
new java.lang.StringBuilder
dup
ldc "Missing property in path "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.jayway.jsonpath.PathNotFoundException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.forUpdate:()Z
ifeq 20
aload 2
aload 5
invokestatic com.jayway.jsonpath.internal.PathRef.create:(Ljava/lang/Object;Ljava/lang/String;)Lcom/jayway/jsonpath/internal/PathRef;
goto 21
StackMap locals:
StackMap stack:
20: getstatic com.jayway.jsonpath.internal.PathRef.NO_OP:Lcom/jayway/jsonpath/internal/PathRef;
StackMap locals:
StackMap stack: com.jayway.jsonpath.internal.PathRef
21: astore 8
start local 8 22: aload 0
invokevirtual com.jayway.jsonpath.internal.path.PathToken.isLeaf:()Z
ifeq 25
23: aload 3
aload 6
aload 8
aload 7
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.addResult:(Ljava/lang/String;Lcom/jayway/jsonpath/internal/PathRef;Ljava/lang/Object;)V
24: goto 49
25: StackMap locals: com.jayway.jsonpath.internal.PathRef
StackMap stack:
aload 0
invokevirtual com.jayway.jsonpath.internal.path.PathToken.next:()Lcom/jayway/jsonpath/internal/path/PathToken;
aload 6
aload 8
aload 7
aload 3
invokevirtual com.jayway.jsonpath.internal.path.PathToken.evaluate:(Ljava/lang/String;Lcom/jayway/jsonpath/internal/PathRef;Ljava/lang/Object;Lcom/jayway/jsonpath/internal/path/EvaluationContextImpl;)V
end local 8 end local 7 end local 6 end local 5 26: goto 49
27: StackMap locals: com.jayway.jsonpath.internal.path.PathToken java.lang.String java.lang.Object com.jayway.jsonpath.internal.path.EvaluationContextImpl java.util.List
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", "
ldc "'"
aload 4
invokestatic com.jayway.jsonpath.internal.Utils.join:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Iterable;)Ljava/lang/String;
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;
astore 5
start local 5 28: getstatic com.jayway.jsonpath.internal.path.PathToken.$assertionsDisabled:Z
ifne 29
aload 0
invokevirtual com.jayway.jsonpath.internal.path.PathToken.isLeaf:()Z
ifne 29
new java.lang.AssertionError
dup
ldc "non-leaf multi props handled elsewhere"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
29: StackMap locals: java.lang.String
StackMap stack:
aload 3
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.jsonProvider:()Lcom/jayway/jsonpath/spi/json/JsonProvider;
invokeinterface com.jayway.jsonpath.spi.json.JsonProvider.createMap:()Ljava/lang/Object;
astore 6
start local 6 30: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 44
StackMap locals: com.jayway.jsonpath.internal.path.PathToken java.lang.String java.lang.Object com.jayway.jsonpath.internal.path.EvaluationContextImpl java.util.List java.lang.String java.lang.Object top java.util.Iterator
StackMap stack:
31: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 32: aload 7
aload 2
aload 3
invokestatic com.jayway.jsonpath.internal.path.PathToken.hasProperty:(Ljava/lang/String;Ljava/lang/Object;Lcom/jayway/jsonpath/internal/path/EvaluationContextImpl;)Z
ifeq 38
33: aload 7
aload 2
aload 3
invokestatic com.jayway.jsonpath.internal.path.PathToken.readObjectProperty:(Ljava/lang/String;Ljava/lang/Object;Lcom/jayway/jsonpath/internal/path/EvaluationContextImpl;)Ljava/lang/Object;
astore 9
start local 9 34: aload 9
getstatic com.jayway.jsonpath.spi.json.JsonProvider.UNDEFINED:Ljava/lang/Object;
if_acmpne 43
35: aload 3
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.options:()Ljava/util/Set;
getstatic com.jayway.jsonpath.Option.DEFAULT_PATH_LEAF_TO_NULL:Lcom/jayway/jsonpath/Option;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 44
36: aconst_null
astore 9
37: goto 43
end local 9 38: StackMap locals: com.jayway.jsonpath.internal.path.PathToken java.lang.String java.lang.Object com.jayway.jsonpath.internal.path.EvaluationContextImpl java.util.List java.lang.String java.lang.Object java.lang.String java.util.Iterator
StackMap stack:
aload 3
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.options:()Ljava/util/Set;
getstatic com.jayway.jsonpath.Option.DEFAULT_PATH_LEAF_TO_NULL:Lcom/jayway/jsonpath/Option;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 41
39: aconst_null
astore 9
start local 9 40: goto 43
end local 9 StackMap locals:
StackMap stack:
41: aload 3
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.options:()Ljava/util/Set;
getstatic com.jayway.jsonpath.Option.REQUIRE_PROPERTIES:Lcom/jayway/jsonpath/Option;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 44
42: new com.jayway.jsonpath.PathNotFoundException
dup
new java.lang.StringBuilder
dup
ldc "Missing property in path "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.jayway.jsonpath.PathNotFoundException.<init>:(Ljava/lang/String;)V
athrow
start local 9 43: StackMap locals: java.lang.Object
StackMap stack:
aload 3
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.jsonProvider:()Lcom/jayway/jsonpath/spi/json/JsonProvider;
aload 6
aload 7
aload 9
invokeinterface com.jayway.jsonpath.spi.json.JsonProvider.setProperty:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
end local 9 end local 7 44: StackMap locals: com.jayway.jsonpath.internal.path.PathToken java.lang.String java.lang.Object com.jayway.jsonpath.internal.path.EvaluationContextImpl java.util.List java.lang.String java.lang.Object top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 31
45: aload 3
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.forUpdate:()Z
ifeq 46
aload 2
aload 4
invokestatic com.jayway.jsonpath.internal.PathRef.create:(Ljava/lang/Object;Ljava/util/Collection;)Lcom/jayway/jsonpath/internal/PathRef;
goto 47
StackMap locals: com.jayway.jsonpath.internal.path.PathToken java.lang.String java.lang.Object com.jayway.jsonpath.internal.path.EvaluationContextImpl java.util.List java.lang.String java.lang.Object
StackMap stack:
46: getstatic com.jayway.jsonpath.internal.PathRef.NO_OP:Lcom/jayway/jsonpath/internal/PathRef;
StackMap locals:
StackMap stack: com.jayway.jsonpath.internal.PathRef
47: astore 7
start local 7 48: aload 3
aload 5
aload 7
aload 6
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.addResult:(Ljava/lang/String;Lcom/jayway/jsonpath/internal/PathRef;Ljava/lang/Object;)V
end local 7 end local 6 end local 5 49: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 this Lcom/jayway/jsonpath/internal/path/PathToken;
0 50 1 currentPath Ljava/lang/String;
0 50 2 model Ljava/lang/Object;
0 50 3 ctx Lcom/jayway/jsonpath/internal/path/EvaluationContextImpl;
0 50 4 properties Ljava/util/List<Ljava/lang/String;>;
2 26 5 property Ljava/lang/String;
3 26 6 evalPath Ljava/lang/String;
4 26 7 propertyVal Ljava/lang/Object;
22 26 8 pathRef Lcom/jayway/jsonpath/internal/PathRef;
28 49 5 evalPath Ljava/lang/String;
30 49 6 merged Ljava/lang/Object;
32 44 7 property Ljava/lang/String;
34 38 9 propertyVal Ljava/lang/Object;
40 41 9 propertyVal Ljava/lang/Object;
43 44 9 propertyVal Ljava/lang/Object;
48 49 7 pathRef Lcom/jayway/jsonpath/internal/PathRef;
Signature: (Ljava/lang/String;Ljava/lang/Object;Lcom/jayway/jsonpath/internal/path/EvaluationContextImpl;Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
currentPath
model
ctx
properties
private static boolean hasProperty(java.lang.String, java.lang.Object, com.jayway.jsonpath.internal.path.EvaluationContextImpl);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Lcom/jayway/jsonpath/internal/path/EvaluationContextImpl;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.jsonProvider:()Lcom/jayway/jsonpath/spi/json/JsonProvider;
aload 1
invokeinterface com.jayway.jsonpath.spi.json.JsonProvider.getPropertyKeys:(Ljava/lang/Object;)Ljava/util/Collection;
aload 0
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 property Ljava/lang/String;
0 1 1 model Ljava/lang/Object;
0 1 2 ctx Lcom/jayway/jsonpath/internal/path/EvaluationContextImpl;
MethodParameters:
Name Flags
property
model
ctx
private static java.lang.Object readObjectProperty(java.lang.String, java.lang.Object, com.jayway.jsonpath.internal.path.EvaluationContextImpl);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Lcom/jayway/jsonpath/internal/path/EvaluationContextImpl;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.jsonProvider:()Lcom/jayway/jsonpath/spi/json/JsonProvider;
aload 1
aload 0
invokeinterface com.jayway.jsonpath.spi.json.JsonProvider.getMapValue:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 property Ljava/lang/String;
0 1 1 model Ljava/lang/Object;
0 1 2 ctx Lcom/jayway/jsonpath/internal/path/EvaluationContextImpl;
MethodParameters:
Name Flags
property
model
ctx
protected void handleArrayIndex(int, java.lang.String, java.lang.Object, com.jayway.jsonpath.internal.path.EvaluationContextImpl);
descriptor: (ILjava/lang/String;Ljava/lang/Object;Lcom/jayway/jsonpath/internal/path/EvaluationContextImpl;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_4
anewarray java.lang.CharSequence
dup
iconst_0
aload 2
aastore
dup
iconst_1
ldc "["
aastore
dup
iconst_2
iload 1
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
aastore
dup
iconst_3
ldc "]"
aastore
invokestatic com.jayway.jsonpath.internal.Utils.concat:([Ljava/lang/CharSequence;)Ljava/lang/String;
astore 5
start local 5 1: aload 4
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.forUpdate:()Z
ifeq 2
aload 3
iload 1
invokestatic com.jayway.jsonpath.internal.PathRef.create:(Ljava/lang/Object;I)Lcom/jayway/jsonpath/internal/PathRef;
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: getstatic com.jayway.jsonpath.internal.PathRef.NO_OP:Lcom/jayway/jsonpath/internal/PathRef;
StackMap locals:
StackMap stack: com.jayway.jsonpath.internal.PathRef
3: astore 6
start local 6 4: iload 1
ifge 5
aload 4
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.jsonProvider:()Lcom/jayway/jsonpath/spi/json/JsonProvider;
aload 3
invokeinterface com.jayway.jsonpath.spi.json.JsonProvider.length:(Ljava/lang/Object;)I
iload 1
iadd
goto 6
StackMap locals: com.jayway.jsonpath.internal.PathRef
StackMap stack:
5: iload 1
StackMap locals:
StackMap stack: int
6: istore 7
start local 7 7: aload 4
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.jsonProvider:()Lcom/jayway/jsonpath/spi/json/JsonProvider;
aload 3
iload 7
invokeinterface com.jayway.jsonpath.spi.json.JsonProvider.getArrayIndex:(Ljava/lang/Object;I)Ljava/lang/Object;
astore 8
start local 8 8: aload 0
invokevirtual com.jayway.jsonpath.internal.path.PathToken.isLeaf:()Z
ifeq 11
9: aload 4
aload 5
aload 6
aload 8
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.addResult:(Ljava/lang/String;Lcom/jayway/jsonpath/internal/PathRef;Ljava/lang/Object;)V
10: goto 14
11: StackMap locals: int java.lang.Object
StackMap stack:
aload 0
invokevirtual com.jayway.jsonpath.internal.path.PathToken.next:()Lcom/jayway/jsonpath/internal/path/PathToken;
aload 5
aload 6
aload 8
aload 4
invokevirtual com.jayway.jsonpath.internal.path.PathToken.evaluate:(Ljava/lang/String;Lcom/jayway/jsonpath/internal/PathRef;Ljava/lang/Object;Lcom/jayway/jsonpath/internal/path/EvaluationContextImpl;)V
end local 8 12: goto 14
StackMap locals: com.jayway.jsonpath.internal.path.PathToken int java.lang.String java.lang.Object com.jayway.jsonpath.internal.path.EvaluationContextImpl java.lang.String com.jayway.jsonpath.internal.PathRef int
StackMap stack: java.lang.IndexOutOfBoundsException
13: pop
14: StackMap locals:
StackMap stack:
return
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 15 0 this Lcom/jayway/jsonpath/internal/path/PathToken;
0 15 1 index I
0 15 2 currentPath Ljava/lang/String;
0 15 3 model Ljava/lang/Object;
0 15 4 ctx Lcom/jayway/jsonpath/internal/path/EvaluationContextImpl;
1 15 5 evalPath Ljava/lang/String;
4 15 6 pathRef Lcom/jayway/jsonpath/internal/PathRef;
7 15 7 effectiveIndex I
8 12 8 evalHit Ljava/lang/Object;
Exception table:
from to target type
7 12 13 Class java.lang.IndexOutOfBoundsException
MethodParameters:
Name Flags
index
currentPath
model
ctx
com.jayway.jsonpath.internal.path.PathToken prev();
descriptor: ()Lcom/jayway/jsonpath/internal/path/PathToken;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.jayway.jsonpath.internal.path.PathToken.prev:Lcom/jayway/jsonpath/internal/path/PathToken;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/jayway/jsonpath/internal/path/PathToken;
com.jayway.jsonpath.internal.path.PathToken next();
descriptor: ()Lcom/jayway/jsonpath/internal/path/PathToken;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.jayway.jsonpath.internal.path.PathToken.isLeaf:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Current path token is a leaf"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.jayway.jsonpath.internal.path.PathToken.next:Lcom/jayway/jsonpath/internal/path/PathToken;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/jayway/jsonpath/internal/path/PathToken;
boolean isLeaf();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.jayway.jsonpath.internal.path.PathToken.next:Lcom/jayway/jsonpath/internal/path/PathToken;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/jayway/jsonpath/internal/path/PathToken;
boolean isRoot();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.jayway.jsonpath.internal.path.PathToken.prev:Lcom/jayway/jsonpath/internal/path/PathToken;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/jayway/jsonpath/internal/path/PathToken;
boolean isUpstreamDefinite();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.jayway.jsonpath.internal.path.PathToken.upstreamDefinite:Ljava/lang/Boolean;
ifnonnull 5
1: aload 0
aload 0
invokevirtual com.jayway.jsonpath.internal.path.PathToken.isRoot:()Z
ifne 3
aload 0
getfield com.jayway.jsonpath.internal.path.PathToken.prev:Lcom/jayway/jsonpath/internal/path/PathToken;
invokevirtual com.jayway.jsonpath.internal.path.PathToken.isTokenDefinite:()Z
ifeq 2
aload 0
getfield com.jayway.jsonpath.internal.path.PathToken.prev:Lcom/jayway/jsonpath/internal/path/PathToken;
invokevirtual com.jayway.jsonpath.internal.path.PathToken.isUpstreamDefinite:()Z
ifne 3
StackMap locals:
StackMap stack: com.jayway.jsonpath.internal.path.PathToken
2: iconst_0
goto 4
StackMap locals:
StackMap stack: com.jayway.jsonpath.internal.path.PathToken
3: iconst_1
StackMap locals: com.jayway.jsonpath.internal.path.PathToken
StackMap stack: com.jayway.jsonpath.internal.path.PathToken int
4: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
putfield com.jayway.jsonpath.internal.path.PathToken.upstreamDefinite:Ljava/lang/Boolean;
5: StackMap locals:
StackMap stack:
aload 0
getfield com.jayway.jsonpath.internal.path.PathToken.upstreamDefinite:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/jayway/jsonpath/internal/path/PathToken;
public int getTokenCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: aload 0
astore 2
start local 2 2: goto 5
3: StackMap locals: int com.jayway.jsonpath.internal.path.PathToken
StackMap stack:
aload 2
invokevirtual com.jayway.jsonpath.internal.path.PathToken.next:()Lcom/jayway/jsonpath/internal/path/PathToken;
astore 2
4: iinc 1 1
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.jayway.jsonpath.internal.path.PathToken.isLeaf:()Z
ifeq 3
6: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/jayway/jsonpath/internal/path/PathToken;
1 7 1 cnt I
2 7 2 token Lcom/jayway/jsonpath/internal/path/PathToken;
public boolean isPathDefinite();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.jayway.jsonpath.internal.path.PathToken.definite:Ljava/lang/Boolean;
ifnull 2
1: aload 0
getfield com.jayway.jsonpath.internal.path.PathToken.definite:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.jayway.jsonpath.internal.path.PathToken.isTokenDefinite:()Z
istore 1
start local 1 3: iload 1
ifeq 5
aload 0
invokevirtual com.jayway.jsonpath.internal.path.PathToken.isLeaf:()Z
ifne 5
4: aload 0
getfield com.jayway.jsonpath.internal.path.PathToken.next:Lcom/jayway/jsonpath/internal/path/PathToken;
invokevirtual com.jayway.jsonpath.internal.path.PathToken.isPathDefinite:()Z
istore 1
5: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
putfield com.jayway.jsonpath.internal.path.PathToken.definite:Ljava/lang/Boolean;
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/jayway/jsonpath/internal/path/PathToken;
3 7 1 isDefinite Z
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.jayway.jsonpath.internal.path.PathToken.isLeaf:()Z
ifeq 2
1: aload 0
invokevirtual com.jayway.jsonpath.internal.path.PathToken.getPathFragment:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual com.jayway.jsonpath.internal.path.PathToken.getPathFragment:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.jayway.jsonpath.internal.path.PathToken.next:()Lcom/jayway/jsonpath/internal/path/PathToken;
invokevirtual com.jayway.jsonpath.internal.path.PathToken.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/jayway/jsonpath/internal/path/PathToken;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.jayway.jsonpath.internal.path.PathToken.toString:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/jayway/jsonpath/internal/path/PathToken;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.lang.Object.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/jayway/jsonpath/internal/path/PathToken;
0 1 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public void invoke(com.jayway.jsonpath.internal.function.PathFunction, java.lang.String, com.jayway.jsonpath.internal.PathRef, java.lang.Object, com.jayway.jsonpath.internal.path.EvaluationContextImpl);
descriptor: (Lcom/jayway/jsonpath/internal/function/PathFunction;Ljava/lang/String;Lcom/jayway/jsonpath/internal/PathRef;Ljava/lang/Object;Lcom/jayway/jsonpath/internal/path/EvaluationContextImpl;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 5
aload 2
aload 3
aload 1
aload 2
aload 3
aload 4
aload 5
aconst_null
invokeinterface com.jayway.jsonpath.internal.function.PathFunction.invoke:(Ljava/lang/String;Lcom/jayway/jsonpath/internal/PathRef;Ljava/lang/Object;Lcom/jayway/jsonpath/internal/EvaluationContext;Ljava/util/List;)Ljava/lang/Object;
invokevirtual com.jayway.jsonpath.internal.path.EvaluationContextImpl.addResult:(Ljava/lang/String;Lcom/jayway/jsonpath/internal/PathRef;Ljava/lang/Object;)V
1: 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 2 0 this Lcom/jayway/jsonpath/internal/path/PathToken;
0 2 1 pathFunction Lcom/jayway/jsonpath/internal/function/PathFunction;
0 2 2 currentPath Ljava/lang/String;
0 2 3 parent Lcom/jayway/jsonpath/internal/PathRef;
0 2 4 model Ljava/lang/Object;
0 2 5 ctx Lcom/jayway/jsonpath/internal/path/EvaluationContextImpl;
MethodParameters:
Name Flags
pathFunction
currentPath
parent
model
ctx
public abstract void evaluate(java.lang.String, com.jayway.jsonpath.internal.PathRef, java.lang.Object, com.jayway.jsonpath.internal.path.EvaluationContextImpl);
descriptor: (Ljava/lang/String;Lcom/jayway/jsonpath/internal/PathRef;Ljava/lang/Object;Lcom/jayway/jsonpath/internal/path/EvaluationContextImpl;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
currentPath
parent
model
ctx
public abstract boolean isTokenDefinite();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
protected abstract java.lang.String getPathFragment();
descriptor: ()Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
public void setNext(com.jayway.jsonpath.internal.path.PathToken);
descriptor: (Lcom/jayway/jsonpath/internal/path/PathToken;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.jayway.jsonpath.internal.path.PathToken.next:Lcom/jayway/jsonpath/internal/path/PathToken;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/jayway/jsonpath/internal/path/PathToken;
0 2 1 next Lcom/jayway/jsonpath/internal/path/PathToken;
MethodParameters:
Name Flags
next final
}
SourceFile: "PathToken.java"