Class JavaWildcardType

java.lang.Object
com.tngtech.archunit.core.domain.JavaWildcardType
All Implemented Interfaces:
JavaType, HasName, HasUpperBounds

public class JavaWildcardType extends Object implements JavaType, HasUpperBounds
Represents a wildcard type in a type signature (compare the JLS). Consider the generic type List<T>, then the parameterized type List<?> would have the wildcard ? as its type argument (also see JavaParameterizedType).
According to the JLS a wildcard may have upper and lower bounds.
An upper bound denotes a common supertype any substitution of this wildcard must be assignable to. It is denoted by ? extends SomeType.
A lower bound denotes a common subtype that must be assignable to all substitutions of this wildcard type. It is denoted by ? super SomeType.