class com.oracle.truffle.polyglot.PolyglotList<T> extends java.util.AbstractList<T> implements com.oracle.truffle.polyglot.HostWrapper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.polyglot.PolyglotList
super_class: java.util.AbstractList
{
final java.lang.Object guestObject;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
final com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext;
descriptor: Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
flags: (0x0010) ACC_FINAL
final com.oracle.truffle.polyglot.PolyglotList$Cache cache;
descriptor: Lcom/oracle/truffle/polyglot/PolyglotList$Cache;
flags: (0x0010) ACC_FINAL
void <init>(java.lang.Class<T>, java.lang.reflect.Type, , com.oracle.truffle.polyglot.PolyglotLanguageContext);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Type;Ljava/lang/Object;Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.util.AbstractList.<init>:()V
1: aload 0
aload 3
putfield com.oracle.truffle.polyglot.PolyglotList.guestObject:Ljava/lang/Object;
2: aload 0
aload 4
putfield com.oracle.truffle.polyglot.PolyglotList.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
3: aload 0
aload 4
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
aload 2
invokestatic com.oracle.truffle.polyglot.PolyglotList$Cache.lookup:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/reflect/Type;)Lcom/oracle/truffle/polyglot/PolyglotList$Cache;
putfield com.oracle.truffle.polyglot.PolyglotList.cache:Lcom/oracle/truffle/polyglot/PolyglotList$Cache;
4: return
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/PolyglotList<TT;>;
0 5 1 elementClass Ljava/lang/Class<TT;>;
0 5 2 elementType Ljava/lang/reflect/Type;
0 5 3 array Ljava/lang/Object;
0 5 4 languageContext Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
Signature: (Ljava/lang/Class<TT;>;Ljava/lang/reflect/Type;Ljava/lang/Object;Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;)V
MethodParameters:
Name Flags
elementClass
elementType
array
languageContext
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.PolyglotList.guestObject:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotList<TT;>;
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.PolyglotList.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotList<TT;>;
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.PolyglotList.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/PolyglotList<TT;>;
public static <T> java.util.List<T> create(com.oracle.truffle.polyglot.PolyglotLanguageContext, , boolean, java.lang.Class<T>, java.lang.reflect.Type);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;ZLjava/lang/Class;Ljava/lang/reflect/Type;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
ifeq 2
1: new com.oracle.truffle.polyglot.PolyglotListAndFunction
dup
aload 3
aload 4
aload 1
aload 0
invokespecial com.oracle.truffle.polyglot.PolyglotListAndFunction.<init>:(Ljava/lang/Class;Ljava/lang/reflect/Type;Ljava/lang/Object;Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;)V
areturn
2: StackMap locals:
StackMap stack:
new com.oracle.truffle.polyglot.PolyglotList
dup
aload 3
aload 4
aload 1
aload 0
invokespecial com.oracle.truffle.polyglot.PolyglotList.<init>:(Ljava/lang/Class;Ljava/lang/reflect/Type;Ljava/lang/Object;Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;)V
areturn
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 array Ljava/lang/Object;
0 3 2 implementFunction Z
0 3 3 elementClass Ljava/lang/Class<TT;>;
0 3 4 elementType Ljava/lang/reflect/Type;
Signature: <T:Ljava/lang/Object;>(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;ZLjava/lang/Class<TT;>;Ljava/lang/reflect/Type;)Ljava/util/List<TT;>;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
languageContext
array
implementFunction
elementClass
elementType
public T get();
descriptor: (I)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.PolyglotList.cache:Lcom/oracle/truffle/polyglot/PolyglotList$Cache;
getfield com.oracle.truffle.polyglot.PolyglotList$Cache.get:Lcom/oracle/truffle/api/CallTarget;
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.oracle.truffle.polyglot.PolyglotList.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
aastore
dup
iconst_1
aload 0
getfield com.oracle.truffle.polyglot.PolyglotList.guestObject:Ljava/lang/Object;
aastore
dup
iconst_2
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
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/PolyglotList<TT;>;
0 1 1 index I
Signature: (I)TT;
MethodParameters:
Name Flags
index
public T set(int, );
descriptor: (ILjava/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
iload 1
invokevirtual com.oracle.truffle.polyglot.PolyglotList.get:(I)Ljava/lang/Object;
astore 3
start local 3 1: aload 0
getfield com.oracle.truffle.polyglot.PolyglotList.cache:Lcom/oracle/truffle/polyglot/PolyglotList$Cache;
getfield com.oracle.truffle.polyglot.PolyglotList$Cache.set:Lcom/oracle/truffle/api/CallTarget;
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.oracle.truffle.polyglot.PolyglotList.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
aastore
dup
iconst_1
aload 0
getfield com.oracle.truffle.polyglot.PolyglotList.guestObject:Ljava/lang/Object;
aastore
dup
iconst_2
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
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/PolyglotList<TT;>;
0 3 1 index I
0 3 2 element TT;
1 3 3 prev TT;
Signature: (ITT;)TT;
MethodParameters:
Name Flags
index
element
public T remove();
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual com.oracle.truffle.polyglot.PolyglotList.get:(I)Ljava/lang/Object;
astore 2
start local 2 1: aload 0
getfield com.oracle.truffle.polyglot.PolyglotList.cache:Lcom/oracle/truffle/polyglot/PolyglotList$Cache;
getfield com.oracle.truffle.polyglot.PolyglotList$Cache.remove:Lcom/oracle/truffle/api/CallTarget;
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.oracle.truffle.polyglot.PolyglotList.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
aastore
dup
iconst_1
aload 0
getfield com.oracle.truffle.polyglot.PolyglotList.guestObject:Ljava/lang/Object;
aastore
dup
iconst_2
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
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/PolyglotList<TT;>;
0 3 1 index I
1 3 2 prev TT;
Signature: (I)TT;
MethodParameters:
Name Flags
index
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotList.cache:Lcom/oracle/truffle/polyglot/PolyglotList$Cache;
getfield com.oracle.truffle.polyglot.PolyglotList$Cache.size:Lcom/oracle/truffle/api/CallTarget;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.oracle.truffle.polyglot.PolyglotList.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
aastore
dup
iconst_1
aload 0
getfield com.oracle.truffle.polyglot.PolyglotList.guestObject:Ljava/lang/Object;
aastore
invokeinterface com.oracle.truffle.api.CallTarget.call:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotList<TT;>;
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/PolyglotList<TT;>;
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.PolyglotList.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
aload 0
getfield com.oracle.truffle.polyglot.PolyglotList.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/PolyglotList<TT;>;
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.PolyglotList
ifeq 2
1: aload 0
getfield com.oracle.truffle.polyglot.PolyglotList.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
aload 0
getfield com.oracle.truffle.polyglot.PolyglotList.guestObject:Ljava/lang/Object;
aload 1
checkcast com.oracle.truffle.polyglot.PolyglotList
getfield com.oracle.truffle.polyglot.PolyglotList.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/PolyglotList<TT;>;
0 3 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
}
Signature: <T:Ljava/lang/Object;>Ljava/util/AbstractList<TT;>;Lcom/oracle/truffle/polyglot/HostWrapper;
SourceFile: "PolyglotList.java"
NestMembers:
com.oracle.truffle.polyglot.PolyglotList$Cache com.oracle.truffle.polyglot.PolyglotList$Cache$Apply com.oracle.truffle.polyglot.PolyglotList$Cache$GetNode com.oracle.truffle.polyglot.PolyglotList$Cache$Key com.oracle.truffle.polyglot.PolyglotList$Cache$PolyglotListNode com.oracle.truffle.polyglot.PolyglotList$Cache$RemoveNode com.oracle.truffle.polyglot.PolyglotList$Cache$SetNode com.oracle.truffle.polyglot.PolyglotList$Cache$SizeNode
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
final Cache = com.oracle.truffle.polyglot.PolyglotList$Cache of com.oracle.truffle.polyglot.PolyglotList