Modifier and type | Action and description |
---|---|
abstract int | getTypeArgumentConformance(List<E>,List<E>,ITypeReferenceOwner)
Replies the conformance of the to type parameters. |
default boolean | isTypeArgumentConformant(List<E>,List<E>,ITypeReferenceOwner)
Replies if the given type arguments are conform to the type parameters. |
abstract java.util.List<E> | substituteRootWildcard(List<E>,List<E>,ITypeReferenceOwner)
Substitute the root wildcards ? extends X by X . |
def getTypeArgumentConformance(List<E>,List<E>,ITypeReferenceOwner) : int
def isTypeArgumentConformant(List<E>,List<E>,ITypeReferenceOwner) : boolean
def substituteRootWildcard(List<E>,List<E>,ITypeReferenceOwner) : java.util.List<E>
? extends X
by X
. If there is no root wildcard, the argument is replied as-is. If the wildcard is ?
then it is substituted by the upper bound from the parameter declaration at the same index in the list of parameters; otherwise, Object
is used as replacement. The wildcards that are defined as type arguments inside X
are not substituted.