Class 
Use 
SUMMARY: NESTED | ENUM CONSTANTS | METHOD      DETAIL: ENUM CONSTANTS | METHOD
FlexDoc/Javadoc 2.0
Demo Java Doc

java.base / java.lang
Enum StackWalker.Option
java.lang.Object
  java.lang.Enum<StackWalker.Option>
      java.lang.StackWalker.Option
All Implemented Interfaces:
Serializable, Comparable<StackWalker.Option>, Constable
Enclosing class:
StackWalker

public static enum StackWalker.Option
extends Enum<StackWalker.Option>
Stack walker option to configure the stack frame information obtained by a StackWalker.
Since:
9

Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Enum Constant Summary
Retains Class object in StackFrames walked by this StackWalker.
Shows all hidden frames.
Shows all reflection frames.
Method Summary
Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
Enum Constant Detail
RETAIN_CLASS_REFERENCE
public static final StackWalker.Option RETAIN_CLASS_REFERENCE
Retains Class object in StackFrames walked by this StackWalker.

A StackWalker configured with this option will support StackWalker.getCallerClass() and StackFrame.getDeclaringClass().


SHOW_REFLECT_FRAMES
public static final StackWalker.Option SHOW_REFLECT_FRAMES
Shows all reflection frames.

By default, reflection frames are hidden. A StackWalker configured with this SHOW_REFLECT_FRAMES option will show all reflection frames that include Method.invoke(Object, Object...) and Constructor.newInstance(Object...) and their reflection implementation classes.

The SHOW_HIDDEN_FRAMES option can also be used to show all reflection frames and it will also show other hidden frames that are implementation-specific.


SHOW_HIDDEN_FRAMES
public static final StackWalker.Option SHOW_HIDDEN_FRAMES
Shows all hidden frames.

A Java Virtual Machine implementation may hide implementation specific frames in addition to reflection frames. A StackWalker with this SHOW_HIDDEN_FRAMES option will show all hidden frames (including reflection frames).

Method Detail
values
static StackWalker.Option[] values
()

valueOf
static StackWalker.Option valueOf
(String name)

 Class 
Use 
SUMMARY: NESTED | ENUM CONSTANTS | METHOD      DETAIL: ENUM CONSTANTS | METHOD
FlexDoc/Javadoc 2.0
Demo Java Doc

Java API documentation generated with FlexDoc/Javadoc 2.0 using JavadocClassic 3.0 template set.
FlexDoc/Javadoc is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch, FlexDoc/Javadoc may be the only tool able to help you! Find out more at www.flexdoc.xyz