class com.oracle.truffle.polyglot.PolyglotManagement$1 implements com.oracle.truffle.api.instrumentation.SourceSectionFilter$SourcePredicate
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.polyglot.PolyglotManagement$1
super_class: java.lang.Object
{
final com.oracle.truffle.polyglot.PolyglotManagement this$0;
descriptor: Lcom/oracle/truffle/polyglot/PolyglotManagement;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final com.oracle.truffle.polyglot.PolyglotEngineImpl val$engine;
descriptor: Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.util.function.Predicate val$sourceFilter;
descriptor: Ljava/util/function/Predicate;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl val$config;
descriptor: Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.oracle.truffle.polyglot.PolyglotManagement, com.oracle.truffle.polyglot.PolyglotEngineImpl, java.util.function.Predicate, com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotManagement;Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;Ljava/util/function/Predicate;Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 0: aload 0
aload 1
putfield com.oracle.truffle.polyglot.PolyglotManagement$1.this$0:Lcom/oracle/truffle/polyglot/PolyglotManagement;
aload 0
aload 2
putfield com.oracle.truffle.polyglot.PolyglotManagement$1.val$engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
aload 0
aload 3
putfield com.oracle.truffle.polyglot.PolyglotManagement$1.val$sourceFilter:Ljava/util/function/Predicate;
aload 0
aload 4
putfield com.oracle.truffle.polyglot.PolyglotManagement$1.val$config:Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotManagement$1;
MethodParameters:
Name Flags
this$0 final
val$engine final
val$sourceFilter final
val$config final
public boolean test(com.oracle.truffle.api.source.Source);
descriptor: (Lcom/oracle/truffle/api/source/Source;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.oracle.truffle.api.source.Source.getLanguage:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.oracle.truffle.polyglot.PolyglotManagement$1.val$engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
getfield com.oracle.truffle.polyglot.PolyglotEngineImpl.idToLanguage:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.polyglot.PolyglotManagement$1.val$sourceFilter:Ljava/util/function/Predicate;
ifnull 12
6: aload 0
getfield com.oracle.truffle.polyglot.PolyglotManagement$1.val$sourceFilter:Ljava/util/function/Predicate;
aload 0
getfield com.oracle.truffle.polyglot.PolyglotManagement$1.this$0:Lcom/oracle/truffle/polyglot/PolyglotManagement;
getfield com.oracle.truffle.polyglot.PolyglotManagement.engineImpl:Lcom/oracle/truffle/polyglot/PolyglotImpl;
aload 1
invokevirtual com.oracle.truffle.polyglot.PolyglotImpl.getOrCreatePolyglotSource:(Lcom/oracle/truffle/api/source/Source;)Lorg/graalvm/polyglot/Source;
invokeinterface java.util.function.Predicate.test:(Ljava/lang/Object;)Z
7: ireturn
8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 9: aload 0
getfield com.oracle.truffle.polyglot.PolyglotManagement$1.val$config:Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.closing:Z
ifeq 11
10: iconst_0
ireturn
11: StackMap locals: java.lang.Throwable
StackMap stack:
new com.oracle.truffle.polyglot.HostException
dup
aload 3
invokespecial com.oracle.truffle.polyglot.HostException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 12: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/polyglot/PolyglotManagement$1;
0 13 1 s Lcom/oracle/truffle/api/source/Source;
1 13 2 language Ljava/lang/String;
9 12 3 e Ljava/lang/Throwable;
Exception table:
from to target type
6 7 8 Class java.lang.Throwable
MethodParameters:
Name Flags
s
public boolean test(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast com.oracle.truffle.api.source.Source
invokevirtual com.oracle.truffle.polyglot.PolyglotManagement$1.test:(Lcom/oracle/truffle/api/source/Source;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "PolyglotManagement.java"
EnclosingMethod: com.oracle.truffle.polyglot.PolyglotManagement.attachExecutionListener:(Lorg/graalvm/polyglot/Engine;Ljava/util/function/Consumer;Ljava/util/function/Consumer;ZZZLjava/util/function/Predicate;Ljava/util/function/Predicate;ZZZ)Ljava/lang/Object;
NestHost: com.oracle.truffle.polyglot.PolyglotManagement
InnerClasses:
public abstract SourcePredicate = com.oracle.truffle.api.instrumentation.SourceSectionFilter$SourcePredicate of com.oracle.truffle.api.instrumentation.SourceSectionFilter
com.oracle.truffle.polyglot.PolyglotManagement$1
ListenerImpl = com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl of com.oracle.truffle.polyglot.PolyglotManagement