public class com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$TestContextsInstrument extends com.oracle.truffle.api.instrumentation.TruffleInstrument implements com.oracle.truffle.api.instrumentation.ContextsListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$TestContextsInstrument
super_class: com.oracle.truffle.api.instrumentation.TruffleInstrument
{
static boolean includeActiveContexts;
descriptor: Z
flags: (0x0008) ACC_STATIC
final java.util.List<com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$ContextEvent> events;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Lcom/oracle/truffle/api/instrumentation/test/ContextsEventsTest$ContextEvent;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
putstatic com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$TestContextsInstrument.includeActiveContexts:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.api.instrumentation.TruffleInstrument.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
invokestatic java.util.Collections.synchronizedList:(Ljava/util/List;)Ljava/util/List;
putfield com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$TestContextsInstrument.events:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/api/instrumentation/test/ContextsEventsTest$TestContextsInstrument;
protected void onCreate(com.oracle.truffle.api.instrumentation.TruffleInstrument$Env);
descriptor: (Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
aload 0
getstatic com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$TestContextsInstrument.includeActiveContexts:Z
invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachContextsListener:(Lcom/oracle/truffle/api/instrumentation/ContextsListener;Z)Lcom/oracle/truffle/api/instrumentation/EventBinding;
pop
1: aload 1
aload 0
invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.registerService:(Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/api/instrumentation/test/ContextsEventsTest$TestContextsInstrument;
0 3 1 env Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
MethodParameters:
Name Flags
env
public void onContextCreated(com.oracle.truffle.api.TruffleContext);
descriptor: (Lcom/oracle/truffle/api/TruffleContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$TestContextsInstrument.events:Ljava/util/List;
new com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$ContextEvent
dup
aload 1
invokevirtual com.oracle.truffle.api.TruffleContext.isEntered:()Z
iconst_1
aload 1
aconst_null
invokespecial com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$ContextEvent.<init>:(ZZLcom/oracle/truffle/api/TruffleContext;Lcom/oracle/truffle/api/nodes/LanguageInfo;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/api/instrumentation/test/ContextsEventsTest$TestContextsInstrument;
0 2 1 context Lcom/oracle/truffle/api/TruffleContext;
MethodParameters:
Name Flags
context
public void onLanguageContextCreated(com.oracle.truffle.api.TruffleContext, com.oracle.truffle.api.nodes.LanguageInfo);
descriptor: (Lcom/oracle/truffle/api/TruffleContext;Lcom/oracle/truffle/api/nodes/LanguageInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$TestContextsInstrument.events:Ljava/util/List;
new com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$ContextEvent
dup
aload 1
invokevirtual com.oracle.truffle.api.TruffleContext.isEntered:()Z
iconst_1
aload 1
aload 2
invokespecial com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$ContextEvent.<init>:(ZZLcom/oracle/truffle/api/TruffleContext;Lcom/oracle/truffle/api/nodes/LanguageInfo;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/api/instrumentation/test/ContextsEventsTest$TestContextsInstrument;
0 2 1 context Lcom/oracle/truffle/api/TruffleContext;
0 2 2 language Lcom/oracle/truffle/api/nodes/LanguageInfo;
MethodParameters:
Name Flags
context
language
public void onLanguageContextInitialized(com.oracle.truffle.api.TruffleContext, com.oracle.truffle.api.nodes.LanguageInfo);
descriptor: (Lcom/oracle/truffle/api/TruffleContext;Lcom/oracle/truffle/api/nodes/LanguageInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$TestContextsInstrument.events:Ljava/util/List;
new com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$ContextEvent
dup
aload 1
invokevirtual com.oracle.truffle.api.TruffleContext.isEntered:()Z
iconst_0
aload 1
aload 2
iconst_1
iconst_0
invokespecial com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$ContextEvent.<init>:(ZZLcom/oracle/truffle/api/TruffleContext;Lcom/oracle/truffle/api/nodes/LanguageInfo;ZZ)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/api/instrumentation/test/ContextsEventsTest$TestContextsInstrument;
0 2 1 context Lcom/oracle/truffle/api/TruffleContext;
0 2 2 language Lcom/oracle/truffle/api/nodes/LanguageInfo;
MethodParameters:
Name Flags
context
language
public void onLanguageContextFinalized(com.oracle.truffle.api.TruffleContext, com.oracle.truffle.api.nodes.LanguageInfo);
descriptor: (Lcom/oracle/truffle/api/TruffleContext;Lcom/oracle/truffle/api/nodes/LanguageInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$TestContextsInstrument.events:Ljava/util/List;
new com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$ContextEvent
dup
aload 1
invokevirtual com.oracle.truffle.api.TruffleContext.isEntered:()Z
iconst_0
aload 1
aload 2
iconst_0
iconst_1
invokespecial com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$ContextEvent.<init>:(ZZLcom/oracle/truffle/api/TruffleContext;Lcom/oracle/truffle/api/nodes/LanguageInfo;ZZ)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/api/instrumentation/test/ContextsEventsTest$TestContextsInstrument;
0 2 1 context Lcom/oracle/truffle/api/TruffleContext;
0 2 2 language Lcom/oracle/truffle/api/nodes/LanguageInfo;
MethodParameters:
Name Flags
context
language
public void onLanguageContextDisposed(com.oracle.truffle.api.TruffleContext, com.oracle.truffle.api.nodes.LanguageInfo);
descriptor: (Lcom/oracle/truffle/api/TruffleContext;Lcom/oracle/truffle/api/nodes/LanguageInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$TestContextsInstrument.events:Ljava/util/List;
new com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$ContextEvent
dup
aload 1
invokevirtual com.oracle.truffle.api.TruffleContext.isEntered:()Z
iconst_0
aload 1
aload 2
invokespecial com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$ContextEvent.<init>:(ZZLcom/oracle/truffle/api/TruffleContext;Lcom/oracle/truffle/api/nodes/LanguageInfo;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/api/instrumentation/test/ContextsEventsTest$TestContextsInstrument;
0 2 1 context Lcom/oracle/truffle/api/TruffleContext;
0 2 2 language Lcom/oracle/truffle/api/nodes/LanguageInfo;
MethodParameters:
Name Flags
context
language
public void onContextClosed(com.oracle.truffle.api.TruffleContext);
descriptor: (Lcom/oracle/truffle/api/TruffleContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$TestContextsInstrument.events:Ljava/util/List;
new com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$ContextEvent
dup
aload 1
invokevirtual com.oracle.truffle.api.TruffleContext.isEntered:()Z
iconst_0
aload 1
aconst_null
invokespecial com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$ContextEvent.<init>:(ZZLcom/oracle/truffle/api/TruffleContext;Lcom/oracle/truffle/api/nodes/LanguageInfo;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/api/instrumentation/test/ContextsEventsTest$TestContextsInstrument;
0 2 1 context Lcom/oracle/truffle/api/TruffleContext;
MethodParameters:
Name Flags
context
}
SourceFile: "ContextsEventsTest.java"
NestHost: com.oracle.truffle.api.instrumentation.test.ContextsEventsTest
InnerClasses:
public final Env = com.oracle.truffle.api.instrumentation.TruffleInstrument$Env of com.oracle.truffle.api.instrumentation.TruffleInstrument
public abstract Registration = com.oracle.truffle.api.instrumentation.TruffleInstrument$Registration of com.oracle.truffle.api.instrumentation.TruffleInstrument
private ContextEvent = com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$ContextEvent of com.oracle.truffle.api.instrumentation.test.ContextsEventsTest
public TestContextsInstrument = com.oracle.truffle.api.instrumentation.test.ContextsEventsTest$TestContextsInstrument of com.oracle.truffle.api.instrumentation.test.ContextsEventsTest
RuntimeVisibleAnnotations:
com.oracle.truffle.api.instrumentation.TruffleInstrument$Registration(id = "testContexsInstrument", services = {Lcom/oracle/truffle/api/instrumentation/test/ContextsEventsTest$TestContextsInstrument;})