Enum ScopeHandler.ScopeState
java.lang.Object
java.lang.Enum<ScopeHandler.ScopeState>
org.inferred.freebuilder.processor.source.ScopeHandler.ScopeState
- All Implemented Interfaces:
Serializable, Comparable<ScopeHandler.ScopeState>, java.lang.constant.Constable
- Enclosing class:
ScopeHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionType is hidden by another type of the same name.Type can safely be imported.Type is already visible due to scoping rules. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScopeHandler.ScopeStateReturns the enum constant of this type with the specified name.static ScopeHandler.ScopeState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IN_SCOPE
Type is already visible due to scoping rules. -
HIDDEN
Type is hidden by another type of the same name. -
IMPORTABLE
Type can safely be imported.
-
-
Constructor Details
-
ScopeState
private ScopeState()
-
-
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
-