Package com.google.turbine.type
Class Type.TyVar
- java.lang.Object
-
- com.google.turbine.type.Type.TyVar
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.turbine.type.Type
Type.ArrayTy, Type.ClassTy, Type.ErrorTy, Type.IntersectionTy, Type.MethodTy, Type.PrimTy, Type.TyKind, Type.TyVar, Type.WildLowerBoundedTy, Type.WildTy, Type.WildUnboundedTy, Type.WildUpperBoundedTy
-
-
Constructor Summary
Constructors Constructor Description TyVar()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract com.google.common.collect.ImmutableList<AnnoInfo>annos()The type annotations.static Type.TyVarcreate(TyVarSymbol sym, com.google.common.collect.ImmutableList<AnnoInfo> annos)abstract inthashCode()abstract TyVarSymbolsym()The type variable's symbol.java.lang.StringtoString()Type.TyKindtyKind()The type kind.
-
-
-
Method Detail
-
create
public static Type.TyVar create(TyVarSymbol sym, com.google.common.collect.ImmutableList<AnnoInfo> annos)
-
sym
public abstract TyVarSymbol sym()
The type variable's symbol.
-
tyKind
public Type.TyKind tyKind()
Description copied from interface:TypeThe type kind.
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
annos
public abstract com.google.common.collect.ImmutableList<AnnoInfo> annos()
The type annotations.
-
hashCode
@Memoized public abstract int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-