Package io.quarkus.runtime.types
Class WildcardTypeImpl
java.lang.Object
io.quarkus.runtime.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 WildcardTypebooleanType[]Type[]inthashCode()static WildcardTypewithLowerBound(Type type) static WildcardTypewithUpperBound(Type type) Methods inherited from class java.lang.Object
clone, finalize, getClass, 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
-
equals
-
hashCode
public int hashCode()
-