Package org.apache.commons.lang3.reflect
Class TypeUtils.WildcardTypeBuilder
java.lang.Object
org.apache.commons.lang3.reflect.TypeUtils.WildcardTypeBuilder
- All Implemented Interfaces:
Builder<WildcardType>
- Enclosing class:
- TypeUtils
WildcardType
builder.- Since:
- 3.2
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a reference to the object being constructed or result being calculated by the builder.withLowerBounds
(Type... bounds) Specify lower bounds of the wildcard type to build.withUpperBounds
(Type... bounds) Specify upper bounds of the wildcard type to build.
-
Method Details
-
build
Returns a reference to the object being constructed or result being calculated by the builder.- Specified by:
build
in interfaceBuilder<WildcardType>
- Returns:
- the object constructed or result calculated by the builder.
-
withLowerBounds
Specify lower bounds of the wildcard type to build.- Parameters:
bounds
- to set- Returns:
this
-
withUpperBounds
Specify upper bounds of the wildcard type to build.- Parameters:
bounds
- to set- Returns:
this
-