StackWalker.StackFrame (Java SE 26 & JDK 26)
- Enclosing class:
StackWalker
-
Method Summary
intReturns the index to the code array of the
Codeattribute containing the execution point represented by this stack frame.Returns the binary name of the declaring class of the method represented by this stack frame.
Returns the declaring
Classfor the method represented by this stack frame.Returns the descriptor of the method represented by this stack frame as defined by The Java Virtual Machine Specification.
Returns the name of the source file containing the execution point represented by this stack frame.
intReturns the line number of the source line containing the execution point represented by this stack frame.
Returns the name of the method represented by this stack frame.
Returns the
MethodTyperepresenting the parameter types and the return type for the method represented by this stack frame.booleanReturns
trueif the method containing the execution point represented by this stack frame is a native method.Returns
StackTraceElementfor this stack frame.
-
Method Details
-
getClassName
-
getMethodName
-
getDeclaringClass
-
getMethodType
-
getDescriptor
-
getByteCodeIndex
-
getFileName
-
getLineNumber
-
isNativeMethod
-
toStackTraceElement
-