Enum ScopeHandler.ScopeState
- java.lang.Object
-
- java.lang.Enum<ScopeHandler.ScopeState>
-
- org.inferred.freebuilder.processor.source.ScopeHandler.ScopeState
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ScopeHandler.ScopeState>
- Enclosing class:
- ScopeHandler
static enum ScopeHandler.ScopeState extends java.lang.Enum<ScopeHandler.ScopeState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HIDDENType is hidden by another type of the same name.IMPORTABLEType can safely be imported.IN_SCOPEType is already visible due to scoping rules.
-
Constructor Summary
Constructors Modifier Constructor Description privateScopeState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ScopeHandler.ScopeStatevalueOf(java.lang.String name)Returns 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 Detail
-
IN_SCOPE
public static final ScopeHandler.ScopeState IN_SCOPE
Type is already visible due to scoping rules.
-
HIDDEN
public static final ScopeHandler.ScopeState HIDDEN
Type is hidden by another type of the same name.
-
IMPORTABLE
public static final ScopeHandler.ScopeState IMPORTABLE
Type can safely be imported.
-
-
Method Detail
-
values
public static ScopeHandler.ScopeState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ScopeHandler.ScopeState c : ScopeHandler.ScopeState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScopeHandler.ScopeState valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-