Enum Class ScopeInfo
- All Implemented Interfaces:
Serializable,Comparable<ScopeInfo>,Constable
A scope tag for java
shadow chains. This gives information about why a declaration is in
scope.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn enclosing class.Member of an enclosing class, that is not inherited.Method or constructor formal parameter (lambdas are treated as locals).Inherited by some enclosing class.Local var, including lambda parameters and catch parameters.This mergesENCLOSING_TYPE_MEMBERandINHERITED.Sibling types in the same file, that are not nested into one another.A type parameter of some enclosing class. -
Method Summary
-
Enum Constant Details
-
ENCLOSING_TYPE
An enclosing class. -
ENCLOSING_TYPE_MEMBER
Member of an enclosing class, that is not inherited. -
INHERITED
Inherited by some enclosing class. -
METHOD_MEMBER
This mergesENCLOSING_TYPE_MEMBERandINHERITED. -
TYPE_PARAM
A type parameter of some enclosing class. -
LOCAL
Local var, including lambda parameters and catch parameters. -
MODULE_IMPORT
-
IMPORT_ON_DEMAND
-
SAME_PACKAGE
-
JAVA_LANG
-
SINGLE_IMPORT
-
SIMPLE_COMPILATION_UNIT
-
SAME_FILE
Sibling types in the same file, that are not nested into one another. -
FORMAL_PARAM
Method or constructor formal parameter (lambdas are treated as locals).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-