TypeUtils.WildcardTypeBuilder¶
- public static class org.apache.commons.lang3.reflect.TypeUtils.WildcardTypeBuilder implements Builder<WildcardType>[source]¶
WildcardTypebuilder.- Since:
3.2
Methods¶
Returns a reference to the object being constructed or result being calculated by the builder. |
|
Specify lower bounds of the wildcard type to build. |
|
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:
thisinstance.
- public TypeUtils.WildcardTypeBuilder withUpperBounds(Type... bounds)[source]¶
Specify upper bounds of the wildcard type to build.
- Parameters:
bounds – to set.
- Returns:
thisinstance.