Package com.iizigo.java
Enum Class JavaSource.Type
- All Implemented Interfaces:
Serializable
,Comparable<JavaSource.Type>
,Constable
- Enclosing class:
- JavaSource
The Java source types.
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Enum Constant Summary
Enum ConstantDescriptionBinary class file, separate ".class" or inside a ".jar" file.Parsed source file ".java" file extension, can be refactored.An unresolved class from the listener has this state.Method Summary
Modifier and TypeMethodDescriptionstatic JavaSource.Type
Returns the enum constant of this class with the specified name.static JavaSource.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
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
Binary class file, separate ".class" or inside a ".jar" file.PARSED
Parsed source file ".java" file extension, can be refactored.
Method Details
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
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 nameNullPointerException
- if the argument is null