public static enum VisibleForTesting.Visibility extends Enum<VisibleForTesting.Visibility>
Enum Constant and Description |
---|
PACKAGE
The visibility is intended to be package.
|
PRIVATE
The visibility is intended to be private.
|
PROTECTED
The visibility is intended to be protected.
|
PUBLIC
The visibility is intended to be public.
|
Modifier and Type | Method and Description |
---|---|
static VisibleForTesting.Visibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VisibleForTesting.Visibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VisibleForTesting.Visibility PUBLIC
public static final VisibleForTesting.Visibility PACKAGE
public static final VisibleForTesting.Visibility PROTECTED
public static final VisibleForTesting.Visibility PRIVATE
public static VisibleForTesting.Visibility[] values()
for (VisibleForTesting.Visibility c : VisibleForTesting.Visibility.values()) System.out.println(c);
public static VisibleForTesting.Visibility 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 null