public class org.graalvm.compiler.lir.phases.GenericContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.lir.phases.GenericContext
super_class: java.lang.Object
{
private java.util.ArrayList<java.lang.Object> context;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Ljava/lang/Object;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.graalvm.compiler.lir.phases.GenericContext.context:Ljava/util/ArrayList;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/lir/phases/GenericContext;
public <T> void contextAdd();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.phases.GenericContext.context:Ljava/util/ArrayList;
ifnonnull 2
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.graalvm.compiler.lir.phases.GenericContext.context:Ljava/util/ArrayList;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.phases.GenericContext.context:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/lir/phases/GenericContext;
0 4 1 obj TT;
Signature: <T:Ljava/lang/Object;>(TT;)V
MethodParameters:
Name Flags
obj
public <T> T contextLookup(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.phases.GenericContext.context:Ljava/util/ArrayList;
ifnull 6
1: aload 0
getfield org.graalvm.compiler.lir.phases.GenericContext.context:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.graalvm.compiler.lir.phases.GenericContext java.lang.Class top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 3: aload 1
aload 2
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 5
4: aload 2
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: StackMap locals: org.graalvm.compiler.lir.phases.GenericContext java.lang.Class
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/lir/phases/GenericContext;
0 7 1 clazz Ljava/lang/Class<TT;>;
3 5 2 e Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
clazz
public <T> T contextRemove(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.phases.GenericContext.context:Ljava/util/ArrayList;
ifnull 10
1: aload 0
getfield org.graalvm.compiler.lir.phases.GenericContext.context:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.listIterator:()Ljava/util/ListIterator;
astore 2
start local 2 2: goto 9
3: StackMap locals: java.util.ListIterator
StackMap stack:
aload 2
invokeinterface java.util.ListIterator.next:()Ljava/lang/Object;
astore 3
start local 3 4: aload 1
aload 3
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 9
5: aload 2
invokeinterface java.util.ListIterator.remove:()V
6: aload 0
getfield org.graalvm.compiler.lir.phases.GenericContext.context:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.isEmpty:()Z
ifeq 8
7: aload 0
aconst_null
putfield org.graalvm.compiler.lir.phases.GenericContext.context:Ljava/util/ArrayList;
8: StackMap locals: java.lang.Object
StackMap stack:
aload 3
areturn
end local 3 9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.ListIterator.hasNext:()Z
ifne 3
end local 2 10: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/lir/phases/GenericContext;
0 11 1 clazz Ljava/lang/Class<TT;>;
2 10 2 it Ljava/util/ListIterator<Ljava/lang/Object;>;
4 9 3 e Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
clazz
}
SourceFile: "GenericContext.java"