Class TypeUtils.WildcardTypeBuilder
- java.lang.Object
-
- org.int4.dirk.org.apache.commons.lang3.reflect.TypeUtils.WildcardTypeBuilder
-
- Enclosing class:
- TypeUtils
public static class TypeUtils.WildcardTypeBuilder extends java.lang.ObjectWildcardTypebuilder.- Since:
- 3.2
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.WildcardTypebuild()Builds the type.TypeUtils.WildcardTypeBuilderwithLowerBounds(java.lang.reflect.Type... bounds)Specify lower bounds of the wildcard type to build.TypeUtils.WildcardTypeBuilderwithUpperBounds(java.lang.reflect.Type... bounds)Specify upper bounds of the wildcard type to build.
-
-
-
Method Detail
-
build
public java.lang.reflect.WildcardType build()
Builds the type.- Returns:
- a
WildcardType, nevernull
-
withLowerBounds
public TypeUtils.WildcardTypeBuilder withLowerBounds(java.lang.reflect.Type... bounds)
Specify lower bounds of the wildcard type to build.- Parameters:
bounds- to set- Returns:
this
-
withUpperBounds
public TypeUtils.WildcardTypeBuilder withUpperBounds(java.lang.reflect.Type... bounds)
Specify upper bounds of the wildcard type to build.- Parameters:
bounds- to set- Returns:
this
-
-