public static enum DependencyInfo.Require.Type extends java.lang.Enum<DependencyInfo.Require.Type>
| Enum Constant and Description |
|---|
COMMON_JS
CommonJS require() call.
|
COMPILER_MODULE
Compiler module dependencies.
|
ES6_IMPORT
ES6 import statement.
|
GOOG_REQUIRE_SYMBOL
Standard goog.require call for a symbol from a goog.provide or goog.module.
|
PARSED_FROM_DEPS
Parsed from an existing Closure dependency file.
|
| Modifier and Type | Method and Description |
|---|---|
static DependencyInfo.Require.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DependencyInfo.Require.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DependencyInfo.Require.Type GOOG_REQUIRE_SYMBOL
public static final DependencyInfo.Require.Type ES6_IMPORT
public static final DependencyInfo.Require.Type PARSED_FROM_DEPS
public static final DependencyInfo.Require.Type COMMON_JS
public static final DependencyInfo.Require.Type COMPILER_MODULE
public static DependencyInfo.Require.Type[] values()
for (DependencyInfo.Require.Type c : DependencyInfo.Require.Type.values()) System.out.println(c);
public static DependencyInfo.Require.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2009-2019 Google. All Rights Reserved.