Class StacktraceFormatToolkit
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.stacktrace.StacktraceFormatToolkit
-
public class StacktraceFormatToolkit extends java.lang.Object
Toolkit for presenting stack traces and stack frames in textual form.
-
-
Constructor Summary
Constructors Constructor Description StacktraceFormatToolkit()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.String
asString(java.lang.Object element)
static java.lang.String
formatFrame(IMCFrame frame, FrameSeparator frameSeparator)
Return a text representation of a frame with only the information that is relevant according to the frame categorization.static java.lang.String
formatFrame(IMCFrame frame, FrameSeparator frameSeparator, boolean showReturnValue, boolean showReturnValuePackage, boolean showClassName, boolean showClassPackageName, boolean showArguments, boolean showArgumentsPackage)
Return a text representation of a frame with only the information that is relevant according to the frame categorization.
-
-
-
Method Detail
-
formatFrame
public static java.lang.String formatFrame(IMCFrame frame, FrameSeparator frameSeparator)
Return a text representation of a frame with only the information that is relevant according to the frame categorization.
-
formatFrame
public static java.lang.String formatFrame(IMCFrame frame, FrameSeparator frameSeparator, boolean showReturnValue, boolean showReturnValuePackage, boolean showClassName, boolean showClassPackageName, boolean showArguments, boolean showArgumentsPackage)
Return a text representation of a frame with only the information that is relevant according to the frame categorization. All the boolean parameters are passed on toFormatToolkit.getHumanReadable(org.openjdk.jmc.common.IMCMethod, boolean, boolean, boolean, boolean, boolean, boolean)
.
-
asString
private static java.lang.String asString(java.lang.Object element)
-
-