Package org.apache.jorphan.documentation
Enum VisibleForTesting.Visibility
java.lang.Object
java.lang.Enum<VisibleForTesting.Visibility>
org.apache.jorphan.documentation.VisibleForTesting.Visibility
- All Implemented Interfaces:
Serializable
,Comparable<VisibleForTesting.Visibility>
,java.lang.constant.Constable
- Enclosing class:
- VisibleForTesting
Intended visibility if the element had not been made public or package-private for
testing.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic VisibleForTesting.Visibility
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.
-
Enum Constant Details
-
PROTECTED
The element should be considered protected. -
PACKAGE
The element should be considered package-private. -
PRIVATE
The element should be considered private.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-