TypeUtils.WildcardTypeBuilder

public static class org.apache.commons.lang3.reflect.TypeUtils.WildcardTypeBuilder implements Builder<WildcardType>[source]

WildcardType builder.

Since:

3.2

Methods

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()[source]

Returns a reference to the object being constructed or result being calculated by the builder.

Specified by:

build in interface Builder

Returns:

The object constructed or result calculated by the builder.

public TypeUtils.WildcardTypeBuilder withLowerBounds(Type... bounds)[source]

Specify lower bounds of the wildcard type to build.

Parameters:

bounds – to set.

Returns:

this instance.

public TypeUtils.WildcardTypeBuilder withUpperBounds(Type... bounds)[source]

Specify upper bounds of the wildcard type to build.

Parameters:

bounds – to set.

Returns:

this instance.