Enum SimpleNameLookupMode
- java.lang.Object
-
- java.lang.Enum<SimpleNameLookupMode>
-
- com.strobel.decompiler.languages.java.ast.SimpleNameLookupMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SimpleNameLookupMode>
public enum SimpleNameLookupMode extends java.lang.Enum<SimpleNameLookupMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASE_TYPE_REFERENCE
EXPRESSION
INVOCATION_TARGET
TYPE
TYPE_IN_IMPORT_DECLARATION
-
Constructor Summary
Constructors Modifier Constructor Description private
SimpleNameLookupMode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SimpleNameLookupMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SimpleNameLookupMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXPRESSION
public static final SimpleNameLookupMode EXPRESSION
-
INVOCATION_TARGET
public static final SimpleNameLookupMode INVOCATION_TARGET
-
TYPE
public static final SimpleNameLookupMode TYPE
-
TYPE_IN_IMPORT_DECLARATION
public static final SimpleNameLookupMode TYPE_IN_IMPORT_DECLARATION
-
BASE_TYPE_REFERENCE
public static final SimpleNameLookupMode BASE_TYPE_REFERENCE
-
-
Method Detail
-
values
public static SimpleNameLookupMode[] 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 (SimpleNameLookupMode c : SimpleNameLookupMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SimpleNameLookupMode 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
-
-