final class com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector extends com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$SectionsCollector
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector
super_class: com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$SectionsCollector
{
private final com.oracle.truffle.api.instrumentation.Instrumenter instrumenter;
descriptor: Lcom/oracle/truffle/api/instrumentation/Instrumenter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.oracle.truffle.api.nodes.Node rangeNode;
descriptor: Lcom/oracle/truffle/api/nodes/Node;
flags: (0x0002) ACC_PRIVATE
private final java.util.Map<com.oracle.truffle.api.nodes.Node, java.util.List<com.oracle.truffle.api.source.SourceSection>> sectionsMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lcom/oracle/truffle/api/nodes/Node;Ljava/util/List<Lcom/oracle/truffle/api/source/SourceSection;>;>;
void <init>(int, com.oracle.truffle.api.instrumentation.Instrumenter);
descriptor: (ILcom/oracle/truffle/api/instrumentation/Instrumenter;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokespecial com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$SectionsCollector.<init>:(I)V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector.sectionsMap:Ljava/util/Map;
2: aload 0
aload 2
putfield com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector.instrumenter:Lcom/oracle/truffle/api/instrumentation/Instrumenter;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/tools/chromeinspector/SuspendableLocationFinder$FunctionSectionsCollector;
0 4 1 startIndex I
0 4 2 instrumenter Lcom/oracle/truffle/api/instrumentation/Instrumenter;
MethodParameters:
Name Flags
startIndex
instrumenter
public void onLoad(com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent);
descriptor: (Lcom/oracle/truffle/api/instrumentation/LoadSourceSectionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent.getNode:()Lcom/oracle/truffle/api/nodes/Node;
astore 2
start local 2 1: aload 0
aload 2
invokevirtual com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector.findRoot:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
astore 3
start local 3 2: aload 3
ifnull 12
3: aload 1
invokevirtual com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent.getSourceSection:()Lcom/oracle/truffle/api/source/SourceSection;
astore 4
start local 4 4: aload 4
invokevirtual com.oracle.truffle.api.source.SourceSection.getCharIndex:()I
aload 0
getfield com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector.startIndex:I
if_icmplt 12
5: aload 0
getfield com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector.sectionsMap:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 5
start local 5 6: aload 5
ifnonnull 9
7: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
8: aload 0
getfield com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector.sectionsMap:Ljava/util/Map;
aload 3
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: StackMap locals: com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent com.oracle.truffle.api.nodes.Node com.oracle.truffle.api.nodes.Node com.oracle.truffle.api.source.SourceSection java.util.List
StackMap stack:
aload 5
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: aload 0
getfield com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector.rangeNode:Lcom/oracle/truffle/api/nodes/Node;
ifnull 11
aload 4
invokevirtual com.oracle.truffle.api.source.SourceSection.getCharIndex:()I
aload 0
getfield com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector.startIndex:I
isub
aload 0
getfield com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector.rangeNode:Lcom/oracle/truffle/api/nodes/Node;
invokevirtual com.oracle.truffle.api.nodes.Node.getSourceSection:()Lcom/oracle/truffle/api/source/SourceSection;
invokevirtual com.oracle.truffle.api.source.SourceSection.getCharIndex:()I
aload 0
getfield com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector.startIndex:I
isub
if_icmpge 12
11: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector.rangeNode:Lcom/oracle/truffle/api/nodes/Node;
end local 5 end local 4 12: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/tools/chromeinspector/SuspendableLocationFinder$FunctionSectionsCollector;
0 13 1 event Lcom/oracle/truffle/api/instrumentation/LoadSourceSectionEvent;
1 13 2 node Lcom/oracle/truffle/api/nodes/Node;
2 13 3 root Lcom/oracle/truffle/api/nodes/Node;
4 12 4 section Lcom/oracle/truffle/api/source/SourceSection;
6 12 5 list Ljava/util/List<Lcom/oracle/truffle/api/source/SourceSection;>;
MethodParameters:
Name Flags
event
java.util.List<com.oracle.truffle.api.source.SourceSection> getSections();
descriptor: ()Ljava/util/List;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector.rangeNode:Lcom/oracle/truffle/api/nodes/Node;
ifnonnull 2
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector.rangeNode:Lcom/oracle/truffle/api/nodes/Node;
invokevirtual com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector.findRoot:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
astore 1
start local 1 3: aload 0
getfield com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector.sectionsMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/tools/chromeinspector/SuspendableLocationFinder$FunctionSectionsCollector;
3 4 1 root Lcom/oracle/truffle/api/nodes/Node;
Signature: ()Ljava/util/List<Lcom/oracle/truffle/api/source/SourceSection;>;
private com.oracle.truffle.api.nodes.Node findRoot(com.oracle.truffle.api.nodes.Node);
descriptor: (Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector.instrumenter:Lcom/oracle/truffle/api/instrumentation/Instrumenter;
aload 1
invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.queryTags:(Lcom/oracle/truffle/api/nodes/Node;)Ljava/util/Set;
ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$RootTag;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.oracle.truffle.api.nodes.Node.getParent:()Lcom/oracle/truffle/api/nodes/Node;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: com.oracle.truffle.api.nodes.Node
StackMap stack:
aload 0
aload 2
invokevirtual com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector.findRoot:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/tools/chromeinspector/SuspendableLocationFinder$FunctionSectionsCollector;
0 6 1 node Lcom/oracle/truffle/api/nodes/Node;
3 6 2 parent Lcom/oracle/truffle/api/nodes/Node;
MethodParameters:
Name Flags
node
}
SourceFile: "SuspendableLocationFinder.java"
NestHost: com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder
InnerClasses:
public final RootTag = com.oracle.truffle.api.instrumentation.StandardTags$RootTag of com.oracle.truffle.api.instrumentation.StandardTags
private final FunctionSectionsCollector = com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$FunctionSectionsCollector of com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder
private SectionsCollector = com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder$SectionsCollector of com.oracle.truffle.tools.chromeinspector.SuspendableLocationFinder