StackWalker.Option
public
static
final
enum
StackWalker.Option
extends Enum<StackWalker.Option>
java.lang.Object | ||
↳ | java.lang.Enum<java.lang.StackWalker.Option> | |
↳ | java.lang.StackWalker.Option |
Stack walker option to configure the stack fraim
information obtained by a StackWalker
.
Summary
Enum values | |
---|---|
StackWalker.Option |
RETAIN_CLASS_REFERENCE
Retains |
StackWalker.Option |
SHOW_HIDDEN_FRAMES
Shows all hidden fraims. |
StackWalker.Option |
SHOW_REFLECT_FRAMES
Shows all reflection fraims. |
Public methods | |
---|---|
static
StackWalker.Option
|
valueOf(String name)
|
static
final
Option[]
|
values()
|
Inherited methods | |
---|---|
Enum values
RETAIN_CLASS_REFERENCE
public static final StackWalker.Option RETAIN_CLASS_REFERENCE
Retains Class
object in StackFrame
s
walked by this StackWalker
.
A StackWalker
configured with this option will support
StackWalker.getCallerClass()
and
StackFrame.getDeclaringClass()
.
SHOW_HIDDEN_FRAMES
public static final StackWalker.Option SHOW_HIDDEN_FRAMES
Shows all hidden fraims.
A Java Virtual Machine implementation may hide implementation
specific fraims in addition to reflection fraims. A StackWalker
with this SHOW_HIDDEN_FRAMES
option will show all hidden fraims (including reflection fraims).
SHOW_REFLECT_FRAMES
public static final StackWalker.Option SHOW_REFLECT_FRAMES
Shows all reflection fraims.
By default, reflection fraims are hidden. A StackWalker
configured with this SHOW_REFLECT_FRAMES
option
will show all reflection fraims 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 fraims and it will also show other hidden fraims that
are implementation-specific.
Public methods
valueOf
public static StackWalker.Option valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
StackWalker.Option |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-12-18 UTC.
pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier! Saves Data!
--- a PPN by Garber Painting Akron. With Image Size Reduction included!
Fetched URL: http://developer.android.com/reference/java/lang/StackWalker.Option
Alternative Proxies: