Module io.inverno.mod.base
Package io.inverno.mod.base.reflect
Interface ArrayTypeArgumentBuilder<A>
- Type Parameters:
A
- the type of the parent builder
public interface ArrayTypeArgumentBuilder<A>
An array type argument builder is used to specify the component type of an array type.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionand()
Finalizes this builder and returns the parent builder.Specifies an array type as component type of the array type.componentType
(Class<?> rawType) Specifies the component type of the array type.componentType
(Type type) Specifies the component type of the array type.
-
Method Details
-
componentType
Specifies the component type of the array type.
- Parameters:
rawType
- an erased type- Returns:
- a type argument builder with this builder as parent
-
componentType
Specifies the component type of the array type.
- Parameters:
type
- a type- Returns:
- this builder
-
componentArrayType
ArrayTypeArgumentBuilder<ArrayTypeArgumentBuilder<A>> componentArrayType()Specifies an array type as component type of the array type.
- Returns:
- an array type argument builder with this builder as parent
-
and
Finalizes this builder and returns the parent builder.
- Returns:
- the parent builder
- Throws:
IllegalStateException
- if the builder is not in a proper state to be finalized
-