Class WildcardTypeImpl
java.lang.Object
org.jboss.resteasy.reactive.common.util.types.WildcardTypeImpl
- All Implemented Interfaces:
Type,WildcardType
This code was mainly copied from Weld codebase.
Implementation of
WildcardType.
Note that per JLS a wildcard may define either the upper bound or the lower bound. A wildcard may not have multiple bounds.- Author:
- Jozef Hartinger
-
Method Summary
Modifier and TypeMethodDescriptionstatic WildcardTypeType[]Type[]static WildcardTypewithLowerBound(Type type) static WildcardTypewithUpperBound(Type type) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.reflect.Type
getTypeName
-
Method Details
-
defaultInstance
-
withUpperBound
-
withLowerBound
-
getUpperBounds
- Specified by:
getUpperBoundsin interfaceWildcardType
-
getLowerBounds
- Specified by:
getLowerBoundsin interfaceWildcardType
-