Class ColorRegistry
- java.lang.Object
-
- com.google.javascript.jscomp.colors.ColorRegistry
-
public final class ColorRegistry extends java.lang.ObjectStores "out of band" information about the set of Colors in use by a compilation.This includes any information that isn't specifically can't be set on a single Color object,
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classColorRegistry.BuilderBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ColorRegistry.Builderbuilder()Colorget(ColorId id)com.google.common.collect.ImmutableSet<Color>getDisambiguationSupertypes(Color x)The colors directly above `x` in the subtyping graph for the purposes of property (dis)ambiguation.
-
-
-
Method Detail
-
getDisambiguationSupertypes
public final com.google.common.collect.ImmutableSet<Color> getDisambiguationSupertypes(Color x)
The colors directly above `x` in the subtyping graph for the purposes of property (dis)ambiguation.
-
builder
public static ColorRegistry.Builder builder()
-
-