Class Type.TyVar

  • All Implemented Interfaces:
    Type
    Enclosing interface:
    Type

    public abstract static class Type.TyVar
    extends java.lang.Object
    implements Type
    A type variable.
    • Constructor Detail

      • TyVar

        public TyVar()
    • Method Detail

      • sym

        public abstract TyVarSymbol sym()
        The type variable's symbol.
      • tyKind

        public Type.TyKind tyKind()
        Description copied from interface: Type
        The type kind.
        Specified by:
        tyKind in interface Type
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • annos

        public abstract com.google.common.collect.ImmutableList<AnnoInfo> annos()
        The type annotations.
      • hashCode

        @Memoized
        public abstract int hashCode()
        Overrides:
        hashCode in class java.lang.Object