Modifier and Type | Method and Description |
---|---|
WildcardType |
WildcardType.asWildcardType() |
WildcardType |
Type.asWildcardType()
Casts this type to a
WildcardType and returns it if the kind is
Type.Kind.WILDCARD_TYPE
Throws an exception otherwise. |
static WildcardType |
WildcardType.create(Type bound,
boolean isExtends)
Create a new mock instance of WildcardType.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.