public class com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest$InstrumentThatNeedsDebuggerLegacy 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.debug.test.DebuggerRetrievalLegacyTest$InstrumentThatNeedsDebuggerLegacy
super_class: com.oracle.truffle.api.instrumentation.TruffleInstrument
{
static final java.lang.String ID;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "instrument-that-needs-debugger-legacy"
static boolean haveDebugger;
descriptor: Z
flags: (0x0008) ACC_STATIC
private final org.graalvm.options.OptionKey<java.lang.String> debuggerKey;
descriptor: Lorg/graalvm/options/OptionKey;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/graalvm/options/OptionKey<Ljava/lang/String;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.api.instrumentation.TruffleInstrument.<init>:()V
1: aload 0
new org.graalvm.options.OptionKey
dup
ldc ""
invokespecial org.graalvm.options.OptionKey.<init>:(Ljava/lang/Object;)V
putfield com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest$InstrumentThatNeedsDebuggerLegacy.debuggerKey:Lorg/graalvm/options/OptionKey;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/api/debug/test/DebuggerRetrievalLegacyTest$InstrumentThatNeedsDebuggerLegacy;
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: aload 1
aload 1
invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstruments:()Ljava/util/Map;
ldc "debugger"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.InstrumentInfo
ldc Lcom/oracle/truffle/api/debug/Debugger;
invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.lookup:(Lcom/oracle/truffle/api/InstrumentInfo;Ljava/lang/Class;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.debug.Debugger
astore 2
start local 2 1: aload 2
ifnull 2
iconst_1
goto 3
StackMap locals: com.oracle.truffle.api.debug.Debugger
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: putstatic com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest$InstrumentThatNeedsDebuggerLegacy.haveDebugger:Z
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/api/debug/test/DebuggerRetrievalLegacyTest$InstrumentThatNeedsDebuggerLegacy;
0 5 1 env Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
1 5 2 debugger Lcom/oracle/truffle/api/debug/Debugger;
MethodParameters:
Name Flags
env
protected org.graalvm.options.OptionDescriptors getOptionDescriptors();
descriptor: ()Lorg/graalvm/options/OptionDescriptors;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest$InstrumentThatNeedsDebuggerLegacy.debuggerKey:Lorg/graalvm/options/OptionKey;
ldc "instrument-that-needs-debugger-legacy.dbg"
invokestatic org.graalvm.options.OptionDescriptor.newBuilder:(Lorg/graalvm/options/OptionKey;Ljava/lang/String;)Lorg/graalvm/options/OptionDescriptor$Builder;
invokevirtual org.graalvm.options.OptionDescriptor$Builder.build:()Lorg/graalvm/options/OptionDescriptor;
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
invokestatic org.graalvm.options.OptionDescriptors.create:(Ljava/util/List;)Lorg/graalvm/options/OptionDescriptors;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/debug/test/DebuggerRetrievalLegacyTest$InstrumentThatNeedsDebuggerLegacy;
}
SourceFile: "DebuggerRetrievalLegacyTest.java"
NestHost: com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest
InnerClasses:
public InstrumentThatNeedsDebuggerLegacy = com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest$InstrumentThatNeedsDebuggerLegacy of com.oracle.truffle.api.debug.test.DebuggerRetrievalLegacyTest
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 final Builder = org.graalvm.options.OptionDescriptor$Builder of org.graalvm.options.OptionDescriptor
RuntimeVisibleAnnotations:
com.oracle.truffle.api.instrumentation.TruffleInstrument$Registration(id = "instrument-that-needs-debugger-legacy", name = "Instrument That Needs Debugger")