class com.oracle.truffle.polyglot.PolyglotMap<K, V> extends java.util.AbstractMap<K, V> implements com.oracle.truffle.polyglot.HostWrapper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.polyglot.PolyglotMap
super_class: java.util.AbstractMap
{
final com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext;
descriptor: Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
flags: (0x0010) ACC_FINAL
final java.lang.Object guestObject;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
final com.oracle.truffle.polyglot.PolyglotMap$Cache cache;
descriptor: Lcom/oracle/truffle/polyglot/PolyglotMap$Cache;
flags: (0x0010) ACC_FINAL
void <init>(com.oracle.truffle.polyglot.PolyglotLanguageContext, , java.lang.Class<K>, java.lang.Class<V>, java.lang.reflect.Type);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/reflect/Type;)V
flags: (0x0000)
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.util.AbstractMap.<init>:()V
1: aload 0
aload 2
putfield com.oracle.truffle.polyglot.PolyglotMap.guestObject:Ljava/lang/Object;
2: aload 0
aload 1
putfield com.oracle.truffle.polyglot.PolyglotMap.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
3: aload 0
aload 1
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 3
aload 4
aload 5
invokestatic com.oracle.truffle.polyglot.PolyglotMap$Cache.lookup:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/reflect/Type;)Lcom/oracle/truffle/polyglot/PolyglotMap$Cache;
putfield com.oracle.truffle.polyglot.PolyglotMap.cache:Lcom/oracle/truffle/polyglot/PolyglotMap$Cache;
4: return
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 5 0 this Lcom/oracle/truffle/polyglot/PolyglotMap<TK;TV;>;
0 5 1 languageContext Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 5 2 obj Ljava/lang/Object;
0 5 3 keyClass Ljava/lang/Class<TK;>;
0 5 4 valueClass Ljava/lang/Class<TV;>;
0 5 5 valueType Ljava/lang/reflect/Type;
Signature: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Class<TK;>;Ljava/lang/Class<TV;>;Ljava/lang/reflect/Type;)V
MethodParameters:
Name Flags
languageContext
obj
keyClass
valueClass
valueType
static <K, V> java.util.Map<K, V> create(com.oracle.truffle.polyglot.PolyglotLanguageContext, , boolean, java.lang.Class<K>, java.lang.Class<V>, java.lang.reflect.Type);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;ZLjava/lang/Class;Ljava/lang/Class;Ljava/lang/reflect/Type;)Ljava/util/Map;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 2
ifeq 2
1: new com.oracle.truffle.polyglot.PolyglotMapAndFunction
dup
aload 0
aload 1
aload 3
aload 4
aload 5
invokespecial com.oracle.truffle.polyglot.PolyglotMapAndFunction.<init>:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/reflect/Type;)V
areturn
2: StackMap locals:
StackMap stack:
new com.oracle.truffle.polyglot.PolyglotMap
dup
aload 0
aload 1
aload 3
aload 4
aload 5
invokespecial com.oracle.truffle.polyglot.PolyglotMap.<init>:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/reflect/Type;)V
areturn
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 3 0 languageContext Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 3 1 foreignObject Ljava/lang/Object;
0 3 2 implementsFunction Z
0 3 3 keyClass Ljava/lang/Class<TK;>;
0 3 4 valueClass Ljava/lang/Class<TV;>;
0 3 5 valueType Ljava/lang/reflect/Type;
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;ZLjava/lang/Class<TK;>;Ljava/lang/Class<TV;>;Ljava/lang/reflect/Type;)Ljava/util/Map<TK;TV;>;
MethodParameters:
Name Flags
languageContext
foreignObject
implementsFunction
keyClass
valueClass
valueType
public com.oracle.truffle.polyglot.PolyglotLanguageContext getLanguageContext();
descriptor: ()Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotMap<TK;TV;>;
public java.lang.Object getGuestObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.guestObject:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotMap<TK;TV;>;
public com.oracle.truffle.polyglot.PolyglotContextImpl getContext();
descriptor: ()Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
getfield com.oracle.truffle.polyglot.PolyglotLanguageContext.context:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotMap<TK;TV;>;
public boolean containsKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.cache:Lcom/oracle/truffle/polyglot/PolyglotMap$Cache;
getfield com.oracle.truffle.polyglot.PolyglotMap$Cache.containsKey:Lcom/oracle/truffle/api/CallTarget;
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
aastore
dup
iconst_1
aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.guestObject:Ljava/lang/Object;
aastore
dup
iconst_2
aload 1
aastore
invokeinterface com.oracle.truffle.api.CallTarget.call:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotMap<TK;TV;>;
0 1 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
public java.util.Set<java.util.Map$Entry<K, V>> entrySet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.cache:Lcom/oracle/truffle/polyglot/PolyglotMap$Cache;
getfield com.oracle.truffle.polyglot.PolyglotMap$Cache.entrySet:Lcom/oracle/truffle/api/CallTarget;
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
aastore
dup
iconst_1
aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.guestObject:Ljava/lang/Object;
aastore
dup
iconst_2
aload 0
aastore
invokeinterface com.oracle.truffle.api.CallTarget.call:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotMap<TK;TV;>;
Signature: ()Ljava/util/Set<Ljava/util/Map$Entry<TK;TV;>;>;
public V get();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.cache:Lcom/oracle/truffle/polyglot/PolyglotMap$Cache;
getfield com.oracle.truffle.polyglot.PolyglotMap$Cache.get:Lcom/oracle/truffle/api/CallTarget;
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
aastore
dup
iconst_1
aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.guestObject:Ljava/lang/Object;
aastore
dup
iconst_2
aload 1
aastore
invokeinterface com.oracle.truffle.api.CallTarget.call:([Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotMap<TK;TV;>;
0 1 1 key Ljava/lang/Object;
Signature: (Ljava/lang/Object;)TV;
MethodParameters:
Name Flags
key
public V put(K, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.oracle.truffle.polyglot.PolyglotMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.cache:Lcom/oracle/truffle/polyglot/PolyglotMap$Cache;
getfield com.oracle.truffle.polyglot.PolyglotMap$Cache.put:Lcom/oracle/truffle/api/CallTarget;
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
aastore
dup
iconst_1
aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.guestObject:Ljava/lang/Object;
aastore
dup
iconst_2
aload 1
aastore
dup
iconst_3
aload 2
aastore
invokeinterface com.oracle.truffle.api.CallTarget.call:([Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/polyglot/PolyglotMap<TK;TV;>;
0 3 1 key TK;
0 3 2 value TV;
1 3 3 prev TV;
Signature: (TK;TV;)TV;
MethodParameters:
Name Flags
key
value
public V remove();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.truffle.polyglot.PolyglotMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.cache:Lcom/oracle/truffle/polyglot/PolyglotMap$Cache;
getfield com.oracle.truffle.polyglot.PolyglotMap$Cache.remove:Lcom/oracle/truffle/api/CallTarget;
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
aastore
dup
iconst_1
aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.guestObject:Ljava/lang/Object;
aastore
dup
iconst_2
aload 1
aastore
invokeinterface com.oracle.truffle.api.CallTarget.call:([Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/polyglot/PolyglotMap<TK;TV;>;
0 3 1 key Ljava/lang/Object;
1 3 2 prev TV;
Signature: (Ljava/lang/Object;)TV;
MethodParameters:
Name Flags
key
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.oracle.truffle.polyglot.HostWrapper.toString:(Lcom/oracle/truffle/polyglot/HostWrapper;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotMap<TK;TV;>;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.guestObject:Ljava/lang/Object;
invokestatic com.oracle.truffle.polyglot.HostWrapper.hashCode:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotMap<TK;TV;>;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.oracle.truffle.polyglot.PolyglotMap
ifeq 2
1: aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
aload 0
getfield com.oracle.truffle.polyglot.PolyglotMap.guestObject:Ljava/lang/Object;
aload 1
checkcast com.oracle.truffle.polyglot.PolyglotMap
getfield com.oracle.truffle.polyglot.PolyglotMap.guestObject:Ljava/lang/Object;
invokestatic com.oracle.truffle.polyglot.HostWrapper.equals:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/polyglot/PolyglotMap<TK;TV;>;
0 3 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
private static int intValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
checkcast java.lang.Number
invokevirtual java.lang.Number.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
key
}
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>Ljava/util/AbstractMap<TK;TV;>;Lcom/oracle/truffle/polyglot/HostWrapper;
SourceFile: "PolyglotMap.java"
NestMembers:
com.oracle.truffle.polyglot.PolyglotMap$Cache com.oracle.truffle.polyglot.PolyglotMap$Cache$Apply com.oracle.truffle.polyglot.PolyglotMap$Cache$ContainsKeyNode com.oracle.truffle.polyglot.PolyglotMap$Cache$EntrySet com.oracle.truffle.polyglot.PolyglotMap$Cache$GetNode com.oracle.truffle.polyglot.PolyglotMap$Cache$Key com.oracle.truffle.polyglot.PolyglotMap$Cache$PolyglotMapNode com.oracle.truffle.polyglot.PolyglotMap$Cache$Put com.oracle.truffle.polyglot.PolyglotMap$Cache$RemoveBoolean com.oracle.truffle.polyglot.PolyglotMap$Cache$RemoveNode com.oracle.truffle.polyglot.PolyglotMap$EntryImpl com.oracle.truffle.polyglot.PolyglotMap$LazyEntries com.oracle.truffle.polyglot.PolyglotMap$LazyEntries$CombinedIterator com.oracle.truffle.polyglot.PolyglotMap$LazyEntries$ElementsIterator com.oracle.truffle.polyglot.PolyglotMap$LazyEntries$LazyKeysIterator
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
final Cache = com.oracle.truffle.polyglot.PolyglotMap$Cache of com.oracle.truffle.polyglot.PolyglotMap
private final EntryImpl = com.oracle.truffle.polyglot.PolyglotMap$EntryImpl of com.oracle.truffle.polyglot.PolyglotMap
private final LazyEntries = com.oracle.truffle.polyglot.PolyglotMap$LazyEntries of com.oracle.truffle.polyglot.PolyglotMap
public abstract Entry = java.util.Map$Entry of java.util.Map