Enum Class JavaSource.Type

java.lang.Object
java.lang.Enum<JavaSource.Type>
com.iizigo.java.JavaSource.Type
All Implemented Interfaces:
Serializable, Comparable<JavaSource.Type>, Constable
Enclosing class:
JavaSource

public static enum JavaSource.Type extends Enum<JavaSource.Type>
The Java source types.
  • Enum Constant Details

    • UNRESOLVED

      public static final JavaSource.Type UNRESOLVED
      An unresolved class from the listener has this state. An error will be set for the project of the listener if the reference cannot be granted, i.e. because no match can be found, binary or source, or that the classpath settings must be changed.
    • BINARY

      public static final JavaSource.Type BINARY
      Binary class file, separate ".class" or inside a ".jar" file.
    • PARSED

      public static final JavaSource.Type PARSED
      Parsed source file ".java" file extension, can be refactored.
  • Method Details

    • values

      public static JavaSource.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JavaSource.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null