类 ResolvableType.WildcardBounds
java.lang.Object
cn.taketoday.core.ResolvableType.WildcardBounds
- 封闭类:
- ResolvableType
Internal helper to handle bounds from
WildcardTypes.-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器构造器说明WildcardBounds(ResolvableType.WildcardBounds.Kind kind, ResolvableType[] bounds) Internal constructor to create a newResolvableType.WildcardBoundsinstance. -
方法概要
修饰符和类型方法说明get(ResolvableType type) Get aResolvableType.WildcardBoundsinstance for the specified type, returningnullif the specified type cannot be resolved to aWildcardTypeor an equivalent unresolvable type variable.booleanisAssignableFrom(ResolvableType[] types, Map<Type, Type> matchedBefore) Returntrueif these bounds are assignable from all the specified types.booleanisAssignableFrom(ResolvableType type, Map<Type, Type> matchedBefore) Returntrueif these bounds are assignable from the specified type.booleanisAssignableTo(ResolvableType type, Map<Type, Type> matchedBefore) Returntrueif these bounds are assignable to the specified type.booleanReturntrueif these bounds are the same kind as the specified bounds.
-
字段详细资料
-
kind
-
bounds
-
-
构造器详细资料
-
WildcardBounds
Internal constructor to create a newResolvableType.WildcardBoundsinstance.- 参数:
kind- the kind of boundsbounds- the bounds- 另请参阅:
-
-
方法详细资料
-
isSameKind
Returntrueif these bounds are the same kind as the specified bounds. -
isAssignableFrom
Returntrueif these bounds are assignable from all the specified types.- 参数:
types- the types to test against- 返回:
trueif these bounds are assignable from all types
-
isAssignableFrom
Returntrueif these bounds are assignable from the specified type.- 参数:
type- the type to test against- 返回:
trueif these bounds are assignable from the type
-
isAssignableTo
Returntrueif these bounds are assignable to the specified type.- 参数:
type- the type to test against- 返回:
trueif these bounds are assignable to the type
-
get
Get aResolvableType.WildcardBoundsinstance for the specified type, returningnullif the specified type cannot be resolved to aWildcardTypeor an equivalent unresolvable type variable.- 参数:
type- the source type- 返回:
- a
ResolvableType.WildcardBoundsinstance ornull
-