Package manifold.internal.javac
Enum Arg
- java.lang.Object
-
- java.lang.Enum<Arg>
-
- manifold.internal.javac.Arg
-
- All Implemented Interfaces:
Serializable,Comparable<Arg>
public enum Arg extends Enum<Arg>
Arguments for the javac plugin.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description bootstrapBootstrap package list.dynamicdynamic compilation flagdynamic_deprecatedno_bootstrapNo bootstrap flagno_bootstrap_deprecated
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Set<Arg>allOptional()static Set<Arg>allRequired()static ArgbyName(String name)StringgetDefaultValue()StringgetDescription()StringgetName()booleanisDeprecated()booleanisFlag()booleanisRequired()protected voidvalidate(String arg, Map<Arg,Set<String>> map)static ArgvalueOf(String name)Returns the enum constant of this type with the specified name.static Arg[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
bootstrap
public static final Arg bootstrap
Bootstrap package list.
-
no_bootstrap
public static final Arg no_bootstrap
No bootstrap flag
-
no_bootstrap_deprecated
public static final Arg no_bootstrap_deprecated
-
dynamic
public static final Arg dynamic
dynamic compilation flag
-
dynamic_deprecated
public static final Arg dynamic_deprecated
-
-
Method Detail
-
values
public static Arg[] 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 (Arg c : Arg.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Arg 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
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getDefaultValue
public String getDefaultValue()
-
isRequired
public boolean isRequired()
-
isFlag
public boolean isFlag()
-
isDeprecated
public boolean isDeprecated()
-
-