Package org.apache.commons.lang3.reflect
Class TypeUtils.WildcardTypeBuilder
- java.lang.Object
-
- org.apache.commons.lang3.reflect.TypeUtils.WildcardTypeBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.WildcardTypebuild()Returns a reference to the object being constructed or result being calculated by the builder.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()
Returns a reference to the object being constructed or result being calculated by the builder.
-
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
-
-