com.sun.tools.javac.main
Enum JavaCompiler.ImplicitSourcePolicy

java.lang.Object
  extended by java.lang.Enum<JavaCompiler.ImplicitSourcePolicy>
      extended by com.sun.tools.javac.main.JavaCompiler.ImplicitSourcePolicy
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JavaCompiler.ImplicitSourcePolicy>
Enclosing class:
JavaCompiler

protected static enum JavaCompiler.ImplicitSourcePolicy
extends java.lang.Enum<JavaCompiler.ImplicitSourcePolicy>


Enum Constant Summary
CLASS
          Generate classes for implicitly read source files.
NONE
          Don't generate or process implicitly read source files.
UNSET
          Like CLASS, but generate warnings if annotation processing occurs
 
Method Summary
(package private) static JavaCompiler.ImplicitSourcePolicy decode(java.lang.String option)
           
static JavaCompiler.ImplicitSourcePolicy valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JavaCompiler.ImplicitSourcePolicy[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final JavaCompiler.ImplicitSourcePolicy NONE
Don't generate or process implicitly read source files.


CLASS

public static final JavaCompiler.ImplicitSourcePolicy CLASS
Generate classes for implicitly read source files.


UNSET

public static final JavaCompiler.ImplicitSourcePolicy UNSET
Like CLASS, but generate warnings if annotation processing occurs

Method Detail

values

public static final JavaCompiler.ImplicitSourcePolicy[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(JavaCompiler.ImplicitSourcePolicy c : JavaCompiler.ImplicitSourcePolicy.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static JavaCompiler.ImplicitSourcePolicy 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 name

decode

static JavaCompiler.ImplicitSourcePolicy decode(java.lang.String option)