Package com.google.turbine.type
Class Type.PrimTy
- java.lang.Object
-
- com.google.turbine.type.Type.PrimTy
-
-
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 PrimTy()
-
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.PrimTycreate(TurbineConstantTypeKind tykind, com.google.common.collect.ImmutableList<AnnoInfo> annos)abstract inthashCode()abstract TurbineConstantTypeKindprimkind()The primtive type kind.java.lang.StringtoString()Type.TyKindtyKind()The type kind.
-
-
-
Method Detail
-
create
public static Type.PrimTy create(TurbineConstantTypeKind tykind, com.google.common.collect.ImmutableList<AnnoInfo> annos)
-
primkind
public abstract TurbineConstantTypeKind primkind()
The primtive type kind.
-
tyKind
public Type.TyKind tyKind()
Description copied from interface:TypeThe type kind.
-
annos
public abstract com.google.common.collect.ImmutableList<AnnoInfo> annos()
The type annotations.
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
@Memoized public abstract int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-