Module java.base
Package java.lang

Interface StackWalker.StackFrame

Enclosing class:
StackWalker

public static interface StackWalker.StackFrame
A StackFrame object represents a method invocation returned by StackWalker.

Stack walker options configure the stack frame information obtained by a StackWalker. If the stack walker is configured with DROP_METHOD_INFO option, method information such as the method name, the line number, the bytecode index, etc will be dropped. If the stack walker is configured with RETAIN_CLASS_REFERENCE option, the Class object will be retained for access.

See Java Virtual Machine Specification:
2.6 Frames
Since:
9