Package com.google.turbine.type
Class Type.WildUpperBoundedTy
- java.lang.Object
-
- com.google.turbine.type.Type.WildTy
-
- com.google.turbine.type.Type.WildUpperBoundedTy
-
- All Implemented Interfaces:
Type
- Enclosing interface:
- Type
public abstract static class Type.WildUpperBoundedTy extends Type.WildTy
An upper-bounded wildcard type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.turbine.type.Type.WildTy
Type.WildTy.BoundKind
-
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 WildUpperBoundedTy()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Typebound()The upper bound.Type.WildTy.BoundKindboundKind()static Type.WildUpperBoundedTycreate(Type bound, com.google.common.collect.ImmutableList<AnnoInfo> annotations)abstract inthashCode()java.lang.StringtoString()-
Methods inherited from class com.google.turbine.type.Type.WildTy
annotations, tyKind
-
-
-
-
Method Detail
-
create
public static Type.WildUpperBoundedTy create(Type bound, com.google.common.collect.ImmutableList<AnnoInfo> annotations)
-
bound
public abstract Type bound()
The upper bound.- Specified by:
boundin classType.WildTy
-
boundKind
public Type.WildTy.BoundKind boundKind()
- Specified by:
boundKindin classType.WildTy
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
@Memoized public abstract int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-