Class EnumType.Builder
- java.lang.Object
-
- com.google.javascript.rhino.jstype.EnumType.Builder
-
- Enclosing class:
- EnumType
public static final class EnumType.Builder extends java.lang.Object
Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnumType
build()
EnumType.Builder
setElementType(JSType x)
The base type of the individual elements.EnumType.Builder
setGoogModuleId(java.lang.String x)
The ID of the goog.module in which this enum was declared.EnumType.Builder
setName(java.lang.String x)
EnumType.Builder
setSource(Node x)
The object literal that creates the enum, a reference to another enum, or null.
-
-
-
Method Detail
-
setName
public EnumType.Builder setName(java.lang.String x)
-
setSource
public EnumType.Builder setSource(Node x)
The object literal that creates the enum, a reference to another enum, or null.
-
setGoogModuleId
public EnumType.Builder setGoogModuleId(java.lang.String x)
The ID of the goog.module in which this enum was declared.
-
setElementType
public EnumType.Builder setElementType(JSType x)
The base type of the individual elements.
-
build
public EnumType build()
-
-