Package asteroid
Enum Local.TO
- java.lang.Object
-
- java.lang.Enum<Local.TO>
-
- asteroid.Local.TO
-
- All Implemented Interfaces:
Serializable,Comparable<Local.TO>
- Enclosing class:
- Local
public static enum Local.TO extends Enum<Local.TO>
Targets available to apply a specific transformation- Since:
- 0.1.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNOTATEDApplies to anyAnnotatedNodeCONSTRUCTORApplies to aConstructorNodeFIELDApplies to a given class fieldLOCAL_VARIABLEApplies to aVariableMETHODApplies to a given methodPACKAGEApplies to aPackageNodePARAMETERApplies to aParameterTYPEApplies to a given class
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Local.TOvalueOf(String name)Returns the enum constant of this type with the specified name.static Local.TO[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIELD
public static final Local.TO FIELD
Applies to a given class field- Since:
- 0.1.0
-
TYPE
public static final Local.TO TYPE
Applies to a given class- Since:
- 0.1.0
-
METHOD
public static final Local.TO METHOD
Applies to a given method- Since:
- 0.1.0
-
CONSTRUCTOR
public static final Local.TO CONSTRUCTOR
Applies to aConstructorNode- Since:
- 0.2.5
-
PACKAGE
public static final Local.TO PACKAGE
Applies to aPackageNode- Since:
- 0.2.5
-
ANNOTATED
public static final Local.TO ANNOTATED
Applies to anyAnnotatedNode- Since:
- 0.2.5
-
-
Method Detail
-
values
public static Local.TO[] 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 (Local.TO c : Local.TO.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Local.TO 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
-
-