TypeUtils.WildcardTypeBuilder (Apache Commons Lang 3.20.0 API)
Description: declaration: package: org.apache.commons.lang3.reflect, class: TypeUtils, class: WildcardTypeBuilder

# Class TypeUtils.WildcardTypeBuilder

java.lang.Object
org.apache.commons.lang3.reflect.TypeUtils.WildcardTypeBuilder

All Implemented Interfaces:
  `Builder<WildcardType>`

Enclosing class:
  `TypeUtils`

public static class TypeUtils.WildcardTypeBuilder extends Object implements Builder<WildcardType>
`WildcardType` builder.

Since:
  3.2

- ## Method Summary

  Modifier and Type
  Method
  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.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### build

    public WildcardType build()
    Returns a reference to the object being constructed or result being calculated by the builder.
    Specified by:
      `build` in interface `Builder<WildcardType>`
    Returns:
      the object constructed or result calculated by the builder.

  - ### withLowerBounds

    public TypeUtils.WildcardTypeBuilder withLowerBounds(Type... bounds)
    Specify lower bounds of the wildcard type to build.
    Parameters:
      `bounds` - to set
    Returns:
      `this` instance.

  - ### withUpperBounds

    public TypeUtils.WildcardTypeBuilder withUpperBounds(Type... bounds)
    Specify upper bounds of the wildcard type to build.
    Parameters:
      `bounds` - to set.
    Returns:
      `this` instance.