Enum Class DependencyInfo.Require.Type
java.lang.Object
java.lang.Enum<DependencyInfo.Require.Type>
com.google.javascript.jscomp.deps.DependencyInfo.Require.Type
- All Implemented Interfaces:
Serializable,Comparable<DependencyInfo.Require.Type>,Constable
- Enclosing class:
DependencyInfo.Require
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCommonJS require() call.Compiler module dependencies.ES6 import statement.Standard goog.require call for a symbol from a goog.provide or goog.module.Parsed from an existing Closure dependency file. -
Method Summary
Modifier and TypeMethodDescriptionstatic DependencyInfo.Require.TypeReturns the enum constant of this class with the specified name.static DependencyInfo.Require.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GOOG_REQUIRE_SYMBOL
Standard goog.require call for a symbol from a goog.provide or goog.module. -
ES6_IMPORT
ES6 import statement. -
PARSED_FROM_DEPS
Parsed from an existing Closure dependency file. -
COMMON_JS
CommonJS require() call. -
COMPILER_MODULE
Compiler module dependencies.
-
-
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
-