Package com.github.tadukoo.java
Class JavaParameter.JavaParameterBuilder
java.lang.Object
com.github.tadukoo.java.JavaParameter.JavaParameterBuilder
- Enclosing class:
- JavaParameter
A builder used to build a
JavaParameter. It takes the following parameters:
| Parameter Name | Description | Required or Default |
|---|---|---|
| type | The JavaType of the parameter |
Required |
| name | The name of the parameter | Required |
| vararg | Whether the parameter is a variable argument or not | Defaults to false |
- Version:
- Beta v.0.6
- Author:
- Logan Ferree (Tadukoo)
-
Method Details
-
type
- Parameters:
type- TheJavaTypeof the parameter- Returns:
- this, to continue building
-
name
- Parameters:
name- The name of the parameter- Returns:
- this, to continue building
-
vararg
Sets the parameter as a variable argument- Returns:
- this, to continue building
-
vararg
- Parameters:
vararg- Whether the parameter is a variable argument or not- Returns:
- this, to continue building
-
build
- Returns:
- A newly built
JavaParameterusing the given parameters
-