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.Serializable
Fields present on a color representing a primitive or object. Note that some may be null except for on certain colors like functionsOnly the
SingletonColorFields.Builder
for this class is public. This is intentional. All getters should be exposed via accessors onColor
instead 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 class
SingletonColorFields.Builder
Builder 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.Builder
builder()
-
-
-
Method Detail
-
builder
public static SingletonColorFields.Builder builder()
-
-