Package io.quarkus.arc.impl
Class WildcardTypeImpl
- java.lang.Object
-
- io.quarkus.arc.impl.WildcardTypeImpl
-
- All Implemented Interfaces:
Type
,WildcardType
public class WildcardTypeImpl extends Object implements WildcardType
This code was mainly copied from Weld codebase. Implementation ofWildcardType
. 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WildcardType
defaultInstance()
Type[]
getLowerBounds()
Type[]
getUpperBounds()
static WildcardType
withLowerBound(Type type)
static WildcardType
withUpperBound(Type type)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.reflect.Type
getTypeName
-
-
-
-
Method Detail
-
defaultInstance
public static WildcardType defaultInstance()
-
withUpperBound
public static WildcardType withUpperBound(Type type)
-
withLowerBound
public static WildcardType withLowerBound(Type type)
-
getUpperBounds
public Type[] getUpperBounds()
- Specified by:
getUpperBounds
in interfaceWildcardType
-
getLowerBounds
public Type[] getLowerBounds()
- Specified by:
getLowerBounds
in interfaceWildcardType
-
-