public enum Reachability extends java.lang.Enum<Reachability>
Reachability.Inspector.expectedReachability(LeakTraceElement).| Modifier and Type | Class and Description |
|---|---|
static interface |
Reachability.Inspector
Evaluates whether a
LeakTraceElement should be reachable or not. |
| Enum Constant and Description |
|---|
REACHABLE
The instance was needed and therefore expected to be reachable.
|
UNKNOWN
No decision can be made about the provided instance.
|
UNREACHABLE
The instance was no longer needed and therefore expected to be unreachable.
|
| Modifier and Type | Method and Description |
|---|---|
static Reachability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Reachability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Reachability REACHABLE
public static final Reachability UNREACHABLE
public static final Reachability UNKNOWN
public static Reachability[] values()
for (Reachability c : Reachability.values()) System.out.println(c);
public static Reachability valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null