Package com.google.turbine.type
Class Type.IntersectionTy
- java.lang.Object
-
- com.google.turbine.type.Type.IntersectionTy
-
-
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 IntersectionTy()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract com.google.common.collect.ImmutableList<Type>bounds()static Type.IntersectionTycreate(com.google.common.collect.ImmutableList<Type> bounds)abstract inthashCode()java.lang.StringtoString()Type.TyKindtyKind()The type kind.
-
-
-
Method Detail
-
bounds
public abstract com.google.common.collect.ImmutableList<Type> bounds()
-
create
public static Type.IntersectionTy create(com.google.common.collect.ImmutableList<Type> bounds)
-
tyKind
public Type.TyKind tyKind()
Description copied from interface:TypeThe type kind.
-
hashCode
@Memoized public abstract int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-