TypeUtils.WildcardTypeBuilder

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

WildcardType builder.

Since:

3.2

Methods

build()

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

withLowerBounds(Type[])

Specify lower bounds of the wildcard type to build.

withUpperBounds(Type[])

Specify upper bounds of the wildcard type to build.

@Override public WildcardType build()[source]

Returns a reference to the object being constructed or result being calculated by the 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.