public class com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest this
0: .line 67
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/debug/test/DebuggerRetrievalLegacyTest;
public void testFromLanguage();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 // com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest this
0: .line 71
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "language-that-needs-debugger-legacy"
aastore
invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
ldc "language-that-needs-debugger-legacy"
invokevirtual org.graalvm.polyglot.Context.getBindings:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
ldc "debugger"
invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 1 /* debuggerValue */
start local 1 // org.graalvm.polyglot.Value debuggerValue
1: .line 72
aload 1 /* debuggerValue */
invokevirtual org.graalvm.polyglot.Value.asBoolean:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
2: .line 73
return
end local 1 // org.graalvm.polyglot.Value debuggerValue
end local 0 // com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/api/debug/test/DebuggerRetrievalLegacyTest;
1 3 1 debuggerValue Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testFromInstrument();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 // com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest this
0: .line 77
iconst_0
putstatic com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest$InstrumentThatNeedsDebuggerLegacy.haveDebugger:Z
1: .line 78
iconst_0
anewarray java.lang.String
invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
iconst_1
invokevirtual org.graalvm.polyglot.Context$Builder.allowExperimentalOptions:(Z)Lorg/graalvm/polyglot/Context$Builder;
ldc "instrument-that-needs-debugger-legacy.dbg"
ldc ""
invokevirtual org.graalvm.polyglot.Context$Builder.option:(Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
pop
2: .line 79
getstatic com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest$InstrumentThatNeedsDebuggerLegacy.haveDebugger:Z
invokestatic org.junit.Assert.assertTrue:(Z)V
3: .line 80
return
end local 0 // com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/api/debug/test/DebuggerRetrievalLegacyTest;
RuntimeVisibleAnnotations:
org.junit.Test()
}
SourceFile: "DebuggerRetrievalLegacyTest.java"
NestMembers:
com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest$InstrumentThatNeedsDebuggerLegacy com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest$LanguageThatNeedsDebuggerLegacy com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest$LanguageThatNeedsDebuggerLegacy$TopScopeObjectLegacy
InnerClasses:
public InstrumentThatNeedsDebuggerLegacy = com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest$InstrumentThatNeedsDebuggerLegacy of com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest
public LanguageThatNeedsDebuggerLegacy = com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest$LanguageThatNeedsDebuggerLegacy of com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest
public final Builder = org.graalvm.polyglot.Context$Builder of org.graalvm.polyglot.Context