Module java.base
Package java.lang

Interface StackWalker.StackFrame

Enclosing class:
StackWalker

public static interfaceStackWalker.StackFrame
AStackFrame object represents a method invocation returned byStackWalker.

Stack walker options configure the stack frame information obtained by aStackWalker. If the stack walker is configured withDROP_METHOD_INFO option, method information such as themethod name, theline number, thebytecode index, etc will be dropped. If the stack walker is configured withRETAIN_CLASS_REFERENCE option, theClass object will be retained for access.

SeeJava Virtual Machine Specification:
2.6 Frames
Since:
9