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 SummaryEnum ConstantsEnum 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 SummaryModifier and TypeMethodDescription- static JavaSource.TypeReturns 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- UNRESOLVEDAn 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.
- BINARYBinary class file, separate ".class" or inside a ".jar" file.
- PARSEDParsed source file ".java" file extension, can be refactored.
 
- Method Details- valuesReturns 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
 
- valueOfReturns 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