Enum Arg

java.lang.Object
java.lang.Enum<Arg>
manifold.internal.javac.Arg
All Implemented Interfaces:
Serializable, Comparable<Arg>, java.lang.constant.Constable

public enum Arg extends Enum<Arg>
Arguments for the javac plugin.
  • Enum Constant Details

    • 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 Details

    • values

      public static Arg[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 name
      NullPointerException - 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()
    • allRequired

      public static Set<Arg> allRequired()
    • allOptional

      public static Set<Arg> allOptional()
    • byName

      public static Arg byName(String name)
    • validate

      protected void validate(String arg, Map<Arg, Set<String>> map)