public static class TypeUtils.WildcardTypeBuilder extends Object implements Builder<WildcardType>
WildcardType builder.| Modifier and Type | Method and Description |
|---|---|
WildcardType |
build()
Returns a reference to the object being constructed or result being
calculated by the builder.
|
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()
build in interface Builder<WildcardType>Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.