final class com.oracle.truffle.polyglot.PolyglotManagement extends org.graalvm.polyglot.impl.AbstractPolyglotImpl$AbstractManagementImpl
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.polyglot.PolyglotManagement
super_class: org.graalvm.polyglot.impl.AbstractPolyglotImpl$AbstractManagementImpl
{
static final java.lang.Object[] EMPTY_ARRAY;
descriptor: [Ljava/lang/Object;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private final com.oracle.truffle.polyglot.PolyglotImpl engineImpl;
descriptor: Lcom/oracle/truffle/polyglot/PolyglotImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray java.lang.Object
putstatic com.oracle.truffle.polyglot.PolyglotManagement.EMPTY_ARRAY:[Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.oracle.truffle.polyglot.PolyglotImpl);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotImpl;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.graalvm.polyglot.impl.AbstractPolyglotImpl$AbstractManagementImpl.<init>:(Lorg/graalvm/polyglot/impl/AbstractPolyglotImpl;)V
1: aload 0
aload 1
putfield com.oracle.truffle.polyglot.PolyglotManagement.engineImpl:Lcom/oracle/truffle/polyglot/PolyglotImpl;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/polyglot/PolyglotManagement;
0 3 1 engineImpl Lcom/oracle/truffle/polyglot/PolyglotImpl;
MethodParameters:
Name Flags
engineImpl
public attachExecutionListener(org.graalvm.polyglot.Engine, java.util.function.Consumer<org.graalvm.polyglot.management.ExecutionEvent>, java.util.function.Consumer<org.graalvm.polyglot.management.ExecutionEvent>, boolean, boolean, boolean, java.util.function.Predicate<org.graalvm.polyglot.Source>, java.util.function.Predicate<java.lang.String>, boolean, boolean, boolean);
descriptor: (Lorg/graalvm/polyglot/Engine;Ljava/util/function/Consumer;Ljava/util/function/Consumer;ZZZLjava/util/function/Predicate;Ljava/util/function/Predicate;ZZZ)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=22, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: aload 0
aload 1
invokevirtual com.oracle.truffle.polyglot.PolyglotManagement.getEngine:(Lorg/graalvm/polyglot/Engine;)Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
astore 12
start local 12 1: getstatic com.oracle.truffle.polyglot.EngineAccessor.INSTRUMENT:Lcom/oracle/truffle/api/impl/Accessor$InstrumentSupport;
aload 12
getfield com.oracle.truffle.polyglot.PolyglotEngineImpl.instrumentationHandler:Ljava/lang/Object;
invokevirtual com.oracle.truffle.api.impl.Accessor$InstrumentSupport.getEngineInstrumenter:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.instrumentation.Instrumenter
astore 13
start local 13 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 14
start local 14 3: iload 4
ifeq 5
4: aload 14
ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$ExpressionTag;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals: com.oracle.truffle.polyglot.PolyglotEngineImpl com.oracle.truffle.api.instrumentation.Instrumenter java.util.List
StackMap stack:
iload 5
ifeq 7
6: aload 14
ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$StatementTag;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: StackMap locals:
StackMap stack:
iload 6
ifeq 9
8: aload 14
ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$RootTag;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: StackMap locals:
StackMap stack:
aload 14
invokeinterface java.util.List.isEmpty:()Z
ifeq 11
10: new java.lang.IllegalArgumentException
dup
ldc "No elements specified to listen to for execution listener. Need to specify at least one element kind: expressions, statements or roots."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 3
ifnonnull 13
aload 2
ifnonnull 13
12: new java.lang.IllegalArgumentException
dup
ldc "At least one event consumer must be provided for onEnter or onReturn."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
invokestatic com.oracle.truffle.api.instrumentation.SourceSectionFilter.newBuilder:()Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter$Builder;
aload 14
iconst_0
anewarray java.lang.Class
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.Class[]
invokevirtual com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder.tagIs:([Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter$Builder;
astore 15
start local 15 14: aload 15
iconst_0
invokevirtual com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder.includeInternal:(Z)Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter$Builder;
pop
15: new com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl
dup
aload 12
aload 2
aload 3
iload 9
iload 10
iload 11
invokespecial com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.<init>:(Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;Ljava/util/function/Consumer;Ljava/util/function/Consumer;ZZZ)V
astore 16
start local 16 16: aload 15
new com.oracle.truffle.polyglot.PolyglotManagement$1
dup
aload 0
aload 12
aload 7
aload 16
invokespecial com.oracle.truffle.polyglot.PolyglotManagement$1.<init>:(Lcom/oracle/truffle/polyglot/PolyglotManagement;Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;Ljava/util/function/Predicate;Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;)V
invokevirtual com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder.sourceIs:(Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter$SourcePredicate;)Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter$Builder;
pop
17: aload 8
ifnull 19
18: aload 15
new com.oracle.truffle.polyglot.PolyglotManagement$2
dup
aload 0
aload 8
aload 16
invokespecial com.oracle.truffle.polyglot.PolyglotManagement$2.<init>:(Lcom/oracle/truffle/polyglot/PolyglotManagement;Ljava/util/function/Predicate;Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;)V
invokevirtual com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder.rootNameIs:(Ljava/util/function/Predicate;)Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter$Builder;
pop
19: StackMap locals: com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl
StackMap stack:
aload 15
invokevirtual com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder.build:()Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
astore 17
start local 17 20: aload 16
getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.collectInputValues:Z
ifeq 21
aload 16
getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.onReturn:Ljava/util/function/Consumer;
ifnull 21
iconst_1
goto 22
StackMap locals: com.oracle.truffle.api.instrumentation.SourceSectionFilter
StackMap stack:
21: iconst_0
StackMap locals:
StackMap stack: int
22: istore 19
start local 19 23: aload 16
getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.collectReturnValues:Z
ifeq 24
aload 16
getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.onReturn:Ljava/util/function/Consumer;
ifnull 24
iconst_1
goto 25
StackMap locals: com.oracle.truffle.polyglot.PolyglotManagement org.graalvm.polyglot.Engine java.util.function.Consumer java.util.function.Consumer int int int java.util.function.Predicate java.util.function.Predicate int int int com.oracle.truffle.polyglot.PolyglotEngineImpl com.oracle.truffle.api.instrumentation.Instrumenter java.util.List com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl com.oracle.truffle.api.instrumentation.SourceSectionFilter top int
StackMap stack:
24: iconst_0
StackMap locals:
StackMap stack: int
25: istore 20
start local 20 26: aload 16
getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.collectExceptions:Z
istore 21
start local 21 27: iload 19
ifne 28
iload 20
ifne 28
iload 21
ifeq 32
28: StackMap locals: int int
StackMap stack:
aload 13
aload 17
iload 19
ifeq 29
aload 17
goto 30
StackMap locals: com.oracle.truffle.polyglot.PolyglotManagement org.graalvm.polyglot.Engine java.util.function.Consumer java.util.function.Consumer int int int java.util.function.Predicate java.util.function.Predicate int int int com.oracle.truffle.polyglot.PolyglotEngineImpl com.oracle.truffle.api.instrumentation.Instrumenter java.util.List com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl com.oracle.truffle.api.instrumentation.SourceSectionFilter top int int int
StackMap stack: com.oracle.truffle.api.instrumentation.Instrumenter com.oracle.truffle.api.instrumentation.SourceSectionFilter
29: aconst_null
StackMap locals: com.oracle.truffle.polyglot.PolyglotManagement org.graalvm.polyglot.Engine java.util.function.Consumer java.util.function.Consumer int int int java.util.function.Predicate java.util.function.Predicate int int int com.oracle.truffle.polyglot.PolyglotEngineImpl com.oracle.truffle.api.instrumentation.Instrumenter java.util.List com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl com.oracle.truffle.api.instrumentation.SourceSectionFilter top int int int
StackMap stack: com.oracle.truffle.api.instrumentation.Instrumenter com.oracle.truffle.api.instrumentation.SourceSectionFilter com.oracle.truffle.api.instrumentation.SourceSectionFilter
30: new com.oracle.truffle.polyglot.PolyglotManagement$3
dup
aload 0
aload 16
invokespecial com.oracle.truffle.polyglot.PolyglotManagement$3.<init>:(Lcom/oracle/truffle/polyglot/PolyglotManagement;Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;)V
invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachExecutionEventFactory:(Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Lcom/oracle/truffle/api/instrumentation/ExecutionEventNodeFactory;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
astore 18
start local 18 31: goto 36
end local 18 32: StackMap locals:
StackMap stack:
aload 13
aload 17
aconst_null
new com.oracle.truffle.polyglot.PolyglotManagement$4
dup
aload 0
aload 16
invokespecial com.oracle.truffle.polyglot.PolyglotManagement$4.<init>:(Lcom/oracle/truffle/polyglot/PolyglotManagement;Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;)V
invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachExecutionEventFactory:(Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Lcom/oracle/truffle/api/instrumentation/ExecutionEventNodeFactory;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
astore 18
end local 21 end local 20 end local 19 start local 18 33: goto 36
end local 18 StackMap locals: com.oracle.truffle.polyglot.PolyglotManagement org.graalvm.polyglot.Engine java.util.function.Consumer java.util.function.Consumer int int int java.util.function.Predicate java.util.function.Predicate int int int com.oracle.truffle.polyglot.PolyglotEngineImpl com.oracle.truffle.api.instrumentation.Instrumenter java.util.List com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl com.oracle.truffle.api.instrumentation.SourceSectionFilter
StackMap stack: java.lang.Throwable
34: astore 19
start local 19 35: aload 12
aload 19
invokestatic com.oracle.truffle.polyglot.PolyglotManagement.wrapException:(Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 19 start local 18 36: StackMap locals: com.oracle.truffle.api.instrumentation.EventBinding
StackMap stack:
aload 16
aload 18
putfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.binding:Lcom/oracle/truffle/api/instrumentation/EventBinding;
37: aload 16
areturn
end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lcom/oracle/truffle/polyglot/PolyglotManagement;
0 38 1 engineAPI Lorg/graalvm/polyglot/Engine;
0 38 2 onEnter Ljava/util/function/Consumer<Lorg/graalvm/polyglot/management/ExecutionEvent;>;
0 38 3 onReturn Ljava/util/function/Consumer<Lorg/graalvm/polyglot/management/ExecutionEvent;>;
0 38 4 expressions Z
0 38 5 statements Z
0 38 6 roots Z
0 38 7 sourceFilter Ljava/util/function/Predicate<Lorg/graalvm/polyglot/Source;>;
0 38 8 rootFilter Ljava/util/function/Predicate<Ljava/lang/String;>;
0 38 9 collectInputValues Z
0 38 10 collectReturnValues Z
0 38 11 collectExceptions Z
1 38 12 engine Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
2 38 13 instrumenter Lcom/oracle/truffle/api/instrumentation/Instrumenter;
3 38 14 tags Ljava/util/List<Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;>;
14 38 15 filterBuilder Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter$Builder;
16 38 16 config Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
20 38 17 filter Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
31 32 18 binding Lcom/oracle/truffle/api/instrumentation/EventBinding<*>;
33 34 18 binding Lcom/oracle/truffle/api/instrumentation/EventBinding<*>;
36 38 18 binding Lcom/oracle/truffle/api/instrumentation/EventBinding<*>;
23 33 19 mayNeedInputValues Z
26 33 20 mayNeedReturnValue Z
27 33 21 mayNeedExceptions Z
35 36 19 t Ljava/lang/Throwable;
Exception table:
from to target type
20 33 34 Class java.lang.Throwable
Signature: (Lorg/graalvm/polyglot/Engine;Ljava/util/function/Consumer<Lorg/graalvm/polyglot/management/ExecutionEvent;>;Ljava/util/function/Consumer<Lorg/graalvm/polyglot/management/ExecutionEvent;>;ZZZLjava/util/function/Predicate<Lorg/graalvm/polyglot/Source;>;Ljava/util/function/Predicate<Ljava/lang/String;>;ZZZ)Ljava/lang/Object;
MethodParameters:
Name Flags
engineAPI
onEnter
onReturn
expressions
statements
roots
sourceFilter
rootFilter
collectInputValues
collectReturnValues
collectExceptions
public void closeExecutionListener(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl
iconst_1
putfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.closing:Z
1: aload 1
checkcast com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl
getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.binding:Lcom/oracle/truffle/api/instrumentation/EventBinding;
invokevirtual com.oracle.truffle.api.instrumentation.EventBinding.dispose:()V
2: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 2
start local 2 4: aload 1
checkcast com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl
getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
aload 2
invokestatic com.oracle.truffle.polyglot.PolyglotManagement.wrapException:(Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/polyglot/PolyglotManagement;
0 6 1 impl Ljava/lang/Object;
4 5 2 t Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class java.lang.Throwable
MethodParameters:
Name Flags
impl
public java.util.List<org.graalvm.polyglot.Value> getExecutionEventInputValues();
descriptor: (Ljava/lang/Object;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.oracle.truffle.polyglot.PolyglotManagement$Event
invokeinterface com.oracle.truffle.polyglot.PolyglotManagement$Event.getInputValues:()Ljava/util/List;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 3: aload 1
aload 2
invokestatic com.oracle.truffle.polyglot.PolyglotManagement.wrapException:(Ljava/lang/Object;Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/polyglot/PolyglotManagement;
0 4 1 impl Ljava/lang/Object;
3 4 2 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
Signature: (Ljava/lang/Object;)Ljava/util/List<Lorg/graalvm/polyglot/Value;>;
MethodParameters:
Name Flags
impl
public java.lang.String getExecutionEventRootName(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.oracle.truffle.polyglot.PolyglotManagement$Event
invokeinterface com.oracle.truffle.polyglot.PolyglotManagement$Event.getRootName:()Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 3: aload 1
aload 2
invokestatic com.oracle.truffle.polyglot.PolyglotManagement.wrapException:(Ljava/lang/Object;Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/polyglot/PolyglotManagement;
0 4 1 impl Ljava/lang/Object;
3 4 2 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
MethodParameters:
Name Flags
impl
public org.graalvm.polyglot.Value getExecutionEventReturnValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.oracle.truffle.polyglot.PolyglotManagement$Event
invokeinterface com.oracle.truffle.polyglot.PolyglotManagement$Event.getReturnValue:()Lorg/graalvm/polyglot/Value;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 3: aload 1
aload 2
invokestatic com.oracle.truffle.polyglot.PolyglotManagement.wrapException:(Ljava/lang/Object;Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/polyglot/PolyglotManagement;
0 4 1 impl Ljava/lang/Object;
3 4 2 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
MethodParameters:
Name Flags
impl
public org.graalvm.polyglot.SourceSection getExecutionEventLocation(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/graalvm/polyglot/SourceSection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.oracle.truffle.polyglot.PolyglotManagement$Event
invokeinterface com.oracle.truffle.polyglot.PolyglotManagement$Event.getLocation:()Lorg/graalvm/polyglot/SourceSection;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotManagement;
0 1 1 impl Ljava/lang/Object;
MethodParameters:
Name Flags
impl
public org.graalvm.polyglot.PolyglotException getExecutionEventException(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/graalvm/polyglot/PolyglotException;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.oracle.truffle.polyglot.PolyglotManagement$Event
invokeinterface com.oracle.truffle.polyglot.PolyglotManagement$Event.getException:()Lorg/graalvm/polyglot/PolyglotException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotManagement;
0 1 1 impl Ljava/lang/Object;
MethodParameters:
Name Flags
impl
public boolean isExecutionEventExpression(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$ExpressionTag;
invokestatic com.oracle.truffle.polyglot.PolyglotManagement.hasTag:(Ljava/lang/Object;Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotManagement;
0 1 1 impl Ljava/lang/Object;
MethodParameters:
Name Flags
impl
public boolean isExecutionEventStatement(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$StatementTag;
invokestatic com.oracle.truffle.polyglot.PolyglotManagement.hasTag:(Ljava/lang/Object;Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotManagement;
0 1 1 impl Ljava/lang/Object;
MethodParameters:
Name Flags
impl
public boolean isExecutionEventRoot(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$RootTag;
invokestatic com.oracle.truffle.polyglot.PolyglotManagement.hasTag:(Ljava/lang/Object;Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotManagement;
0 1 1 impl Ljava/lang/Object;
MethodParameters:
Name Flags
impl
private static boolean hasTag(, java.lang.Class<? extends com.oracle.truffle.api.instrumentation.Tag>);
descriptor: (Ljava/lang/Object;Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
checkcast com.oracle.truffle.polyglot.PolyglotManagement$Event
invokeinterface com.oracle.truffle.polyglot.PolyglotManagement$Event.getContext:()Lcom/oracle/truffle/api/instrumentation/EventContext;
aload 1
invokevirtual com.oracle.truffle.api.instrumentation.EventContext.hasTag:(Ljava/lang/Class;)Z
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 3: aload 0
aload 2
invokestatic com.oracle.truffle.polyglot.PolyglotManagement.wrapException:(Ljava/lang/Object;Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 impl Ljava/lang/Object;
0 4 1 tag Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;
3 4 2 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
Signature: (Ljava/lang/Object;Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;)Z
MethodParameters:
Name Flags
impl
tag
private static java.lang.RuntimeException wrapException(com.oracle.truffle.polyglot.PolyglotEngineImpl, java.lang.Throwable);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.PolyglotImpl.guestToHostException:(Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;Ljava/lang/Throwable;)Lorg/graalvm/polyglot/PolyglotException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 engine Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
0 1 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
engine
t
private static java.lang.RuntimeException wrapException(java.lang.Object, java.lang.Throwable);
descriptor: (Ljava/lang/Object;Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
checkcast com.oracle.truffle.polyglot.PolyglotManagement$DefaultNode
getfield com.oracle.truffle.polyglot.PolyglotManagement$DefaultNode.config:Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
aload 1
invokestatic com.oracle.truffle.polyglot.PolyglotManagement.wrapException:(Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 impl Ljava/lang/Object;
0 1 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
impl
t
private com.oracle.truffle.polyglot.PolyglotEngineImpl getEngine(org.graalvm.polyglot.Engine);
descriptor: (Lorg/graalvm/polyglot/Engine;)Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotManagement.engineImpl:Lcom/oracle/truffle/polyglot/PolyglotImpl;
invokevirtual com.oracle.truffle.polyglot.PolyglotImpl.getAPIAccess:()Lorg/graalvm/polyglot/impl/AbstractPolyglotImpl$APIAccess;
aload 1
invokevirtual org.graalvm.polyglot.impl.AbstractPolyglotImpl$APIAccess.getImpl:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/impl/AbstractPolyglotImpl$AbstractEngineImpl;
checkcast com.oracle.truffle.polyglot.PolyglotEngineImpl
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotManagement;
0 1 1 engineAPI Lorg/graalvm/polyglot/Engine;
MethodParameters:
Name Flags
engineAPI
}
SourceFile: "PolyglotManagement.java"
NestMembers:
com.oracle.truffle.polyglot.PolyglotManagement$1 com.oracle.truffle.polyglot.PolyglotManagement$2 com.oracle.truffle.polyglot.PolyglotManagement$3 com.oracle.truffle.polyglot.PolyglotManagement$4 com.oracle.truffle.polyglot.PolyglotManagement$AbstractNode com.oracle.truffle.polyglot.PolyglotManagement$DefaultNode com.oracle.truffle.polyglot.PolyglotManagement$DynamicEvent com.oracle.truffle.polyglot.PolyglotManagement$Event com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList
InnerClasses:
public abstract InstrumentSupport = com.oracle.truffle.api.impl.Accessor$InstrumentSupport of com.oracle.truffle.api.impl.Accessor
public final Builder = com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder of com.oracle.truffle.api.instrumentation.SourceSectionFilter
public abstract SourcePredicate = com.oracle.truffle.api.instrumentation.SourceSectionFilter$SourcePredicate of com.oracle.truffle.api.instrumentation.SourceSectionFilter
public final ExpressionTag = com.oracle.truffle.api.instrumentation.StandardTags$ExpressionTag of com.oracle.truffle.api.instrumentation.StandardTags
public final RootTag = com.oracle.truffle.api.instrumentation.StandardTags$RootTag of com.oracle.truffle.api.instrumentation.StandardTags
public final StatementTag = com.oracle.truffle.api.instrumentation.StandardTags$StatementTag of com.oracle.truffle.api.instrumentation.StandardTags
com.oracle.truffle.polyglot.PolyglotManagement$1
com.oracle.truffle.polyglot.PolyglotManagement$2
com.oracle.truffle.polyglot.PolyglotManagement$3
com.oracle.truffle.polyglot.PolyglotManagement$4
abstract AbstractNode = com.oracle.truffle.polyglot.PolyglotManagement$AbstractNode of com.oracle.truffle.polyglot.PolyglotManagement
DefaultNode = com.oracle.truffle.polyglot.PolyglotManagement$DefaultNode of com.oracle.truffle.polyglot.PolyglotManagement
final DynamicEvent = com.oracle.truffle.polyglot.PolyglotManagement$DynamicEvent of com.oracle.truffle.polyglot.PolyglotManagement
abstract Event = com.oracle.truffle.polyglot.PolyglotManagement$Event of com.oracle.truffle.polyglot.PolyglotManagement
ListenerImpl = com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl of com.oracle.truffle.polyglot.PolyglotManagement
ProfilingNode = com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode of com.oracle.truffle.polyglot.PolyglotManagement
ReadOnlyValueList = com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList of com.oracle.truffle.polyglot.PolyglotManagement
public abstract APIAccess = org.graalvm.polyglot.impl.AbstractPolyglotImpl$APIAccess of org.graalvm.polyglot.impl.AbstractPolyglotImpl
public abstract AbstractEngineImpl = org.graalvm.polyglot.impl.AbstractPolyglotImpl$AbstractEngineImpl of org.graalvm.polyglot.impl.AbstractPolyglotImpl
public abstract AbstractManagementImpl = org.graalvm.polyglot.impl.AbstractPolyglotImpl$AbstractManagementImpl of org.graalvm.polyglot.impl.AbstractPolyglotImpl