Package com.google.gson.internal
Class $Gson$Types.WildcardTypeImpl
java.lang.Object
com.google.gson.internal.$Gson$Types.WildcardTypeImpl
- All Implemented Interfaces:
Serializable
,Type
,WildcardType
- Enclosing class:
$Gson$Types
private static final class $Gson$Types.WildcardTypeImpl
extends Object
implements WildcardType, Serializable
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
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-