Package com.google.gson.internal
Class GsonTypes.WildcardTypeImpl
java.lang.Object
com.google.gson.internal.GsonTypes.WildcardTypeImpl
- All Implemented Interfaces:
Type,WildcardType
- Enclosing class:
- GsonTypes
The WildcardType interface supports multiple upper bounds and multiple lower bounds. We only
support what the target Java version supports - at most one bound, see also
https://bugs.openjdk.java.net/browse/JDK-8250660. If a lower bound is set, the upper bound must
be Object.class.
-
Field Details
-
upperBound
-
lowerBound
-
-
Constructor Details
-
WildcardTypeImpl
-
-
Method Details
-
getUpperBounds
- Specified by:
getUpperBoundsin interfaceWildcardType
-
getLowerBounds
- Specified by:
getLowerBoundsin interfaceWildcardType
-
equals
-
hashCode
public int hashCode() -
toString
-