public static class MoreTypes.WildcardTypeImpl extends java.lang.Object implements java.lang.reflect.WildcardType, java.io.Serializable, MoreTypes.CompositeType
Modifier and Type | Field and Description |
---|---|
private java.lang.reflect.Type |
lowerBound |
private static long |
serialVersionUID |
private java.lang.reflect.Type |
upperBound |
Constructor and Description |
---|
WildcardTypeImpl(java.lang.reflect.Type[] upperBounds,
java.lang.reflect.Type[] lowerBounds) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
java.lang.reflect.Type[] |
getLowerBounds() |
java.lang.reflect.Type[] |
getUpperBounds() |
int |
hashCode() |
boolean |
isFullySpecified()
Returns true if there are no type variables in this type.
|
java.lang.String |
toString() |
private final java.lang.reflect.Type upperBound
private final java.lang.reflect.Type lowerBound
private static final long serialVersionUID
public WildcardTypeImpl(java.lang.reflect.Type[] upperBounds, java.lang.reflect.Type[] lowerBounds)
public java.lang.reflect.Type[] getUpperBounds()
getUpperBounds
in interface java.lang.reflect.WildcardType
public java.lang.reflect.Type[] getLowerBounds()
getLowerBounds
in interface java.lang.reflect.WildcardType
public boolean isFullySpecified()
MoreTypes.CompositeType
isFullySpecified
in interface MoreTypes.CompositeType
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object