Package spoon.reflect.declaration
Enum CtImportKind
- java.lang.Object
-
- java.lang.Enum<CtImportKind>
-
- spoon.reflect.declaration.CtImportKind
-
- All Implemented Interfaces:
Serializable
,Comparable<CtImportKind>
public enum CtImportKind extends Enum<CtImportKind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_STATIC_MEMBERS
ALL_TYPES
FIELD
METHOD
TYPE
UNRESOLVED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CtImportKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static CtImportKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE
public static final CtImportKind TYPE
-
ALL_TYPES
public static final CtImportKind ALL_TYPES
-
ALL_STATIC_MEMBERS
public static final CtImportKind ALL_STATIC_MEMBERS
-
FIELD
public static final CtImportKind FIELD
-
METHOD
public static final CtImportKind METHOD
-
UNRESOLVED
public static final CtImportKind UNRESOLVED
-
-
Method Detail
-
values
public static CtImportKind[] 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 (CtImportKind c : CtImportKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CtImportKind valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-