Class ObjectColor

  • All Implemented Interfaces:
    Color

    @Immutable
    public abstract class ObjectColor
    extends java.lang.Object
    implements Color
    A user-defined object type. For now each type is defined by a unique class name and file source.
    • Constructor Detail

      • ObjectColor

        public ObjectColor()
    • Method Detail

      • isPrimitive

        public boolean isPrimitive()
        Specified by:
        isPrimitive in interface Color
      • isUnion

        public boolean isUnion()
        Specified by:
        isUnion in interface Color
      • isObject

        public boolean isObject()
        Specified by:
        isObject in interface Color
      • getAlternates

        public com.google.common.collect.ImmutableCollection<Color> getAlternates()
        Specified by:
        getAlternates in interface Color
      • getId

        public abstract java.lang.String getId()
      • getDebugInfo

        public abstract DebugInfo getDebugInfo()
      • getPrototype

        @Nullable
        public abstract Color getPrototype()
      • getInstanceColor

        @Nullable
        public abstract Color getInstanceColor()
      • getDisambiguationSupertypes

        public abstract com.google.common.collect.ImmutableList<Color> getDisambiguationSupertypes()
      • isInvalidating

        public abstract boolean isInvalidating()
        Specified by:
        isInvalidating in interface Color
      • isConstructor

        public abstract boolean isConstructor()