Class SingletonColorFields
- java.lang.Object
-
- com.google.javascript.jscomp.colors.SingletonColorFields
-
- All Implemented Interfaces:
java.io.Serializable
@Immutable public abstract class SingletonColorFields extends java.lang.Object implements java.io.SerializableFields present on a color representing a primitive or object. Note that some may be null except for on certain colors like functionsOnly the
SingletonColorFields.Builderfor this class is public. This is intentional. All getters should be exposed via accessors onColorinstead of on this class directly, as we want to make the API of union and singleton colors almost identical.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSingletonColorFields.BuilderBuilder for a singleton color.
-
Constructor Summary
Constructors Constructor Description SingletonColorFields()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SingletonColorFields.Builderbuilder()
-
-
-
Method Detail
-
builder
public static SingletonColorFields.Builder builder()
-
-