public class WildcardType extends ReferenceType
| Modifier and Type | Field and Description |
|---|---|
protected ReferenceType |
upperBound |
| Modifier | Constructor and Description |
|---|---|
protected |
WildcardType(ReferenceType upperBound,
ReferenceType lowerBound) |
| Modifier and Type | Method and Description |
|---|---|
static WildcardType |
createExtends(ReferenceType upperBound) |
static WildcardType |
createSuper(ReferenceType lowerBound) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getFullName() |
ReferenceType |
getLowerBound() |
java.lang.String |
getName() |
ReferenceType |
getSuperType() |
ReferenceType |
getUpperBound() |
int |
hashCode() |
boolean |
isInfinite() |
boolean |
isSuper() |
boolean |
mentions(ReferenceType type) |
java.lang.String |
toString() |
getAllMethods, getDirectSuperTypes, getFunctionalInterfaceMethod, getMethods, resolveField, resolveMethodprotected ReferenceType upperBound
protected WildcardType(ReferenceType upperBound, ReferenceType lowerBound)
public ReferenceType getUpperBound()
getUpperBound in class ReferenceTypepublic ReferenceType getLowerBound()
getLowerBound in class ReferenceTypepublic ReferenceType getSuperType()
getSuperType in class ReferenceTypepublic boolean isSuper()
public boolean isInfinite()
public static WildcardType createExtends(ReferenceType upperBound)
public static WildcardType createSuper(ReferenceType lowerBound)
public java.lang.String getFullName()
getFullName in class ATypepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean mentions(ReferenceType type)
mentions in class ReferenceTypepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object