public class com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument extends com.oracle.truffle.api.instrumentation.TruffleInstrument
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument
super_class: com.oracle.truffle.api.instrumentation.TruffleInstrument
{
final com.oracle.truffle.api.ContextThreadLocal<com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument$ExampleLocal> local;
descriptor: Lcom/oracle/truffle/api/ContextThreadLocal;
flags: (0x0010) ACC_FINAL
Signature: Lcom/oracle/truffle/api/ContextThreadLocal<Lcom/oracle/truffle/api/test/polyglot/ContextLocalTest$ExampleInstrument$ExampleLocal;>;
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/oracle/truffle/api/test/polyglot/ContextLocalTest;
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.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument.$assertionsDisabled: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
aload 0
invokedynamic create()Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$ContextThreadLocalFactory;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lcom/oracle/truffle/api/TruffleContext;Ljava/lang/Thread;)Ljava/lang/Object;
com/oracle/truffle/api/test/polyglot/ContextLocalTest$ExampleInstrument$ExampleLocal.<init>(Lcom/oracle/truffle/api/TruffleContext;Ljava/lang/Thread;)V (8)
(Lcom/oracle/truffle/api/TruffleContext;Ljava/lang/Thread;)Lcom/oracle/truffle/api/test/polyglot/ContextLocalTest$ExampleInstrument$ExampleLocal;
invokevirtual com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument.createContextThreadLocal:(Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$ContextThreadLocalFactory;)Lcom/oracle/truffle/api/ContextThreadLocal;
putfield com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument.local:Lcom/oracle/truffle/api/ContextThreadLocal;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/api/test/polyglot/ContextLocalTest$ExampleInstrument;
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=3, args_size=2
start local 0 start local 1 0: new com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument$1
dup
aload 0
invokespecial com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument$1.<init>:(Lcom/oracle/truffle/api/test/polyglot/ContextLocalTest$ExampleInstrument;)V
astore 2
start local 2 1: aload 1
invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
2: getstatic com.oracle.truffle.api.instrumentation.SourceSectionFilter.ANY:Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
3: aload 2
4: invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachExecutionEventListener:(Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
pop
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/api/test/polyglot/ContextLocalTest$ExampleInstrument;
0 6 1 env Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
1 6 2 listener Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;
MethodParameters:
Name Flags
env
}
SourceFile: "ContextLocalTest.java"
NestHost: com.oracle.truffle.api.test.polyglot.ContextLocalTest
InnerClasses:
protected abstract ContextThreadLocalFactory = com.oracle.truffle.api.instrumentation.TruffleInstrument$ContextThreadLocalFactory of com.oracle.truffle.api.instrumentation.TruffleInstrument
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
public ExampleInstrument = com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument of com.oracle.truffle.api.test.polyglot.ContextLocalTest
com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument$1
ExampleLocal = com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument$ExampleLocal of com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
com.oracle.truffle.api.instrumentation.TruffleInstrument$Registration(id = "example", name = "Example Instrument")