public static class TypeUtils.WildcardTypeBuilder extends Object implements Builder<WildcardType>
WildcardType builder.| Modifier and Type | Method and Description |
|---|---|
WildcardType |
build()
构建
|
TypeUtils.WildcardTypeBuilder |
withLowerBounds(Type... bounds)
Specify lower bounds of the wildcard type to build.
|
TypeUtils.WildcardTypeBuilder |
withUpperBounds(Type... bounds)
Specify upper bounds of the wildcard type to build.
|
public TypeUtils.WildcardTypeBuilder withUpperBounds(Type... bounds)
bounds - to setthispublic TypeUtils.WildcardTypeBuilder withLowerBounds(Type... bounds)
bounds - to setthispublic WildcardType build()
Builderbuild in interface Builder<WildcardType>Copyright © 2019. All rights reserved.