Package com.google.inject.internal
Class MoreTypes.WildcardTypeImpl
java.lang.Object
com.google.inject.internal.MoreTypes.WildcardTypeImpl
- All Implemented Interfaces:
MoreTypes.CompositeType
,Serializable
,Type
,WildcardType
- Enclosing class:
- MoreTypes
public static class MoreTypes.WildcardTypeImpl
extends Object
implements WildcardType, Serializable, MoreTypes.CompositeType
The WildcardType interface supports multiple upper bounds and multiple lower bounds. We only
support what the Java 6 language needs - at most one bound. If a lower bound is set, the upper
bound must be Object.class.
- See Also:
-
Field Details
-
upperBound
-
lowerBound
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
WildcardTypeImpl
-
-
Method Details
-
getUpperBounds
- Specified by:
getUpperBounds
in interfaceWildcardType
-
getLowerBounds
- Specified by:
getLowerBounds
in interfaceWildcardType
-
isFullySpecified
public boolean isFullySpecified()Description copied from interface:MoreTypes.CompositeType
Returns true if there are no type variables in this type.- Specified by:
isFullySpecified
in interfaceMoreTypes.CompositeType
-
equals
-
hashCode
public int hashCode() -
toString
-