public static enum PromisePrototypeBuiltins.PromisePrototype extends Enum<PromisePrototypeBuiltins.PromisePrototype> implements BuiltinEnum<PromisePrototypeBuiltins.PromisePrototype>
Enum.EnumDesc<E extends Enum<E>>| Modifier and Type | Method and Description |
|---|---|
int |
getLength() |
static PromisePrototypeBuiltins.PromisePrototype |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PromisePrototypeBuiltins.PromisePrototype[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfargs, asEnum, createNode, getECMAScriptVersion, getKey, getName, isAnnexB, isAOTSupported, isConfigurable, isConstructor, isEnabled, isEnumerable, isGetter, isNewTargetConstructor, isSetter, isWritable, prependAccessorPrefix, stripNamepublic static final PromisePrototypeBuiltins.PromisePrototype then
public static final PromisePrototypeBuiltins.PromisePrototype catch_
public static final PromisePrototypeBuiltins.PromisePrototype finally_
public static PromisePrototypeBuiltins.PromisePrototype[] values()
public static PromisePrototypeBuiltins.PromisePrototype valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getLength()
getLength in interface BuiltinEnum<PromisePrototypeBuiltins.PromisePrototype>