public final class org.graalvm.compiler.hotspot.replacements.ReflectionGetCallerClassNode extends org.graalvm.compiler.replacements.nodes.MacroStateSplitNode implements org.graalvm.compiler.graph.spi.Canonicalizable, org.graalvm.compiler.nodes.spi.Lowerable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.replacements.ReflectionGetCallerClassNode
super_class: org.graalvm.compiler.replacements.nodes.MacroStateSplitNode
{
public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.hotspot.replacements.ReflectionGetCallerClassNode> TYPE;
descriptor: Lorg/graalvm/compiler/graph/NodeClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/graph/NodeClass<Lorg/graalvm/compiler/hotspot/replacements/ReflectionGetCallerClassNode;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/hotspot/replacements/ReflectionGetCallerClassNode;
invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
putstatic org.graalvm.compiler.hotspot.replacements.ReflectionGetCallerClassNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.nodes.CallTargetNode$InvokeKind, jdk.vm.ci.meta.ResolvedJavaMethod, int, org.graalvm.compiler.core.common.type.StampPair, org.graalvm.compiler.nodes.ValueNode[]);
descriptor: (Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
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: aload 0
getstatic org.graalvm.compiler.hotspot.replacements.ReflectionGetCallerClassNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
aload 1
aload 2
iload 3
aload 4
aload 5
invokespecial org.graalvm.compiler.replacements.nodes.MacroStateSplitNode.<init>:(Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;)V
1: 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 2 0 this Lorg/graalvm/compiler/hotspot/replacements/ReflectionGetCallerClassNode;
0 2 1 invokeKind Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
0 2 2 targetMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 2 3 bci I
0 2 4 returnStamp Lorg/graalvm/compiler/core/common/type/StampPair;
0 2 5 arguments [Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
invokeKind
targetMethod
bci
returnStamp
arguments
public org.graalvm.compiler.graph.Node canonical(org.graalvm.compiler.graph.spi.CanonicalizerTool);
descriptor: (Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;)Lorg/graalvm/compiler/graph/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.graalvm.compiler.graph.spi.CanonicalizerTool.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
invokeinterface org.graalvm.compiler.graph.spi.CanonicalizerTool.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
invokevirtual org.graalvm.compiler.hotspot.replacements.ReflectionGetCallerClassNode.getCallerClassNode:(Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
areturn
3: StackMap locals: org.graalvm.compiler.nodes.ConstantNode
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/replacements/ReflectionGetCallerClassNode;
0 4 1 tool Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;
1 4 2 callerClassNode Lorg/graalvm/compiler/nodes/ConstantNode;
MethodParameters:
Name Flags
tool
public void lower(org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
invokevirtual org.graalvm.compiler.hotspot.replacements.ReflectionGetCallerClassNode.getCallerClassNode:(Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 2
start local 2 1: aload 2
ifnull 4
2: aload 0
invokevirtual org.graalvm.compiler.hotspot.replacements.ReflectionGetCallerClassNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 0
aload 0
invokevirtual org.graalvm.compiler.hotspot.replacements.ReflectionGetCallerClassNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addOrUniqueWithInputs:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.replaceFixedWithFloating:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
3: goto 7
4: StackMap locals: org.graalvm.compiler.nodes.ConstantNode
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.hotspot.replacements.ReflectionGetCallerClassNode.createInvoke:()Lorg/graalvm/compiler/nodes/InvokeNode;
astore 3
start local 3 5: aload 0
invokevirtual org.graalvm.compiler.hotspot.replacements.ReflectionGetCallerClassNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 0
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.replaceFixedWithFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
6: aload 3
aload 1
invokevirtual org.graalvm.compiler.nodes.InvokeNode.lower:(Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
end local 3 7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/hotspot/replacements/ReflectionGetCallerClassNode;
0 8 1 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 8 2 callerClassNode Lorg/graalvm/compiler/nodes/ConstantNode;
5 7 3 invoke Lorg/graalvm/compiler/nodes/InvokeNode;
MethodParameters:
Name Flags
tool
private org.graalvm.compiler.nodes.ConstantNode getCallerClassNode(jdk.vm.ci.meta.MetaAccessProvider, jdk.vm.ci.meta.ConstantReflectionProvider);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;)Lorg/graalvm/compiler/nodes/ConstantNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.graalvm.compiler.hotspot.replacements.ReflectionGetCallerClassNode.stateAfter:()Lorg/graalvm/compiler/nodes/FrameState;
astore 3
start local 3 1: iconst_1
istore 4
start local 4 2: goto 12
3: StackMap locals: org.graalvm.compiler.nodes.FrameState int
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.nodes.FrameState.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
astore 5
start local 5 4: iload 4
tableswitch { // 0 - 1
0: 5
1: 6
default: 8
}
5: StackMap locals: jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
StackMap stack:
ldc "current frame state does not include the Reflection.getCallerClass frame"
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
6: StackMap locals:
StackMap stack:
aload 5
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.isCallerSensitive:()Z
ifne 11
7: aconst_null
areturn
8: StackMap locals:
StackMap stack:
aload 5
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.ignoredBySecurityStackWalk:()Z
ifne 11
9: aload 5
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
astore 6
start local 6 10: aload 2
aload 6
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.asJavaClass:(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljdk/vm/ci/meta/JavaConstant;
aload 1
invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Ljdk/vm/ci/meta/JavaConstant;Ljdk/vm/ci/meta/MetaAccessProvider;)Lorg/graalvm/compiler/nodes/ConstantNode;
areturn
end local 6 end local 5 11: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.nodes.FrameState.outerFrameState:()Lorg/graalvm/compiler/nodes/FrameState;
astore 3
iinc 4 1
StackMap locals:
StackMap stack:
12: aload 3
ifnonnull 3
end local 4 13: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/compiler/hotspot/replacements/ReflectionGetCallerClassNode;
0 14 1 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
0 14 2 constantReflection Ljdk/vm/ci/meta/ConstantReflectionProvider;
1 14 3 state Lorg/graalvm/compiler/nodes/FrameState;
2 13 4 n I
4 11 5 method Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
10 11 6 callerClass Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
MethodParameters:
Name Flags
metaAccess
constantReflection
}
SourceFile: "ReflectionGetCallerClassNode.java"
InnerClasses:
public final InvokeKind = org.graalvm.compiler.nodes.CallTargetNode$InvokeKind of org.graalvm.compiler.nodes.CallTargetNode
RuntimeVisibleAnnotations:
org.graalvm.compiler.nodeinfo.NodeInfo()