public static enum Taint.State extends Enum<Taint.State>
| Enum Constant and Description |
|---|
INVALID |
NULL |
SAFE |
TAINTED |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static Taint.State |
merge(Taint.State a,
Taint.State b)
Returns the "more dangerous" state (TAINTED > UNKNOWN > SAFE
> NULL > INVALID) as a merge of two states
|
static Taint.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Taint.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Taint.State TAINTED
public static final Taint.State UNKNOWN
public static final Taint.State SAFE
public static final Taint.State NULL
public static final Taint.State INVALID
public static Taint.State[] values()
for (Taint.State c : Taint.State.values()) System.out.println(c);
public static Taint.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Taint.State merge(Taint.State a, Taint.State b)
a - first state to mergeb - second state to mergeCopyright © 2017. All rights reserved.