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 WildcardType build()
build
in interface Builder<WildcardType>
public TypeUtils.WildcardTypeBuilder withLowerBounds(Type... bounds)
bounds
- to setthis
public TypeUtils.WildcardTypeBuilder withUpperBounds(Type... bounds)
bounds
- to setthis
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.