public class com.oracle.truffle.api.instrumentation.test.InternalInstrumentTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.api.instrumentation.test.InternalInstrumentTest
super_class: java.lang.Object
{
private static final java.lang.String INTERNAL_ID;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "internalInstrumentId"
private static final java.lang.String EXTERNAL_ID;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "externalInstrumentId"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // com.oracle.truffle.api.instrumentation.test.InternalInstrumentTest this
0: .line 51
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.oracle.truffle.api.instrumentation.test.InternalInstrumentTest this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/instrumentation/test/InternalInstrumentTest;
public void testInternalInstrument();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 // com.oracle.truffle.api.instrumentation.test.InternalInstrumentTest this
0: .line 58
invokestatic org.graalvm.polyglot.Engine.create:()Lorg/graalvm/polyglot/Engine;
astore 1 /* engine */
start local 1 // org.graalvm.polyglot.Engine engine
1: .line 60
aload 1 /* engine */
invokevirtual org.graalvm.polyglot.Engine.getInstruments:()Ljava/util/Map;
ldc "internalInstrumentId"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertFalse:(Z)V
2: .line 61
aload 1 /* engine */
invokevirtual org.graalvm.polyglot.Engine.getInstruments:()Ljava/util/Map;
ldc "externalInstrumentId"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertTrue:(Z)V
3: .line 63
aload 1 /* engine */
invokevirtual org.graalvm.polyglot.Engine.getInstruments:()Ljava/util/Map;
ldc "externalInstrumentId"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Instrument
ldc Lcom/oracle/truffle/api/instrumentation/test/InternalInstrumentTest$Lookup;
invokevirtual org.graalvm.polyglot.Instrument.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.instrumentation.test.InternalInstrumentTest$Lookup
invokeinterface com.oracle.truffle.api.instrumentation.test.InternalInstrumentTest$Lookup.getEnv:()Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
astore 2 /* env */
start local 2 // com.oracle.truffle.api.instrumentation.TruffleInstrument$Env env
4: .line 65
aload 2 /* env */
invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstruments:()Ljava/util/Map;
ldc "internalInstrumentId"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertTrue:(Z)V
5: .line 66
aload 2 /* env */
invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstruments:()Ljava/util/Map;
ldc "externalInstrumentId"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertTrue:(Z)V
6: .line 67
return
end local 2 // com.oracle.truffle.api.instrumentation.TruffleInstrument$Env env
end local 1 // org.graalvm.polyglot.Engine engine
end local 0 // com.oracle.truffle.api.instrumentation.test.InternalInstrumentTest this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/api/instrumentation/test/InternalInstrumentTest;
1 7 1 engine Lorg/graalvm/polyglot/Engine;
4 7 2 env Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
RuntimeVisibleAnnotations:
org.junit.Test()
}
SourceFile: "InternalInstrumentTest.java"
NestMembers:
com.oracle.truffle.api.instrumentation.test.InternalInstrumentTest$ExternalInstrument com.oracle.truffle.api.instrumentation.test.InternalInstrumentTest$InternalInstrument com.oracle.truffle.api.instrumentation.test.InternalInstrumentTest$Lookup
InnerClasses:
public final Env = com.oracle.truffle.api.instrumentation.TruffleInstrument$Env of com.oracle.truffle.api.instrumentation.TruffleInstrument
public ExternalInstrument = com.oracle.truffle.api.instrumentation.test.InternalInstrumentTest$ExternalInstrument of com.oracle.truffle.api.instrumentation.test.InternalInstrumentTest
public InternalInstrument = com.oracle.truffle.api.instrumentation.test.InternalInstrumentTest$InternalInstrument of com.oracle.truffle.api.instrumentation.test.InternalInstrumentTest
abstract Lookup = com.oracle.truffle.api.instrumentation.test.InternalInstrumentTest$Lookup of com.oracle.truffle.api.instrumentation.test.InternalInstrumentTest