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.ObjectBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnumTypebuild()EnumType.BuildersetElementType(JSType x)The base type of the individual elements.EnumType.BuildersetGoogModuleId(java.lang.String x)The ID of the goog.module in which this enum was declared.EnumType.BuildersetName(java.lang.String x)EnumType.BuildersetSource(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()
-
-