# ArgumentList

A list of arguments to be passed to a function, constructor, enum, and so forth. Includes parenthesis when arguments are passed, otherwise returns an empty string.

* jsx

  ```tsx
  import { ArgumentList } from "@alloy-js/java";


  <ArgumentList args={Children[]} omitParensWhenEmpty />
  ```

* stc

  ```ts
  import { ArgumentList } from "@alloy-js/java/stc";


  ArgumentList({
    args: Children[],
    omitParensWhenEmpty: boolean,
  }).children(children)
  ```

## Props

|                     |                                                       |   |
| ------------------- | ----------------------------------------------------- | - |
| args                | optional [Children](../../../core/types/children/)\[] |   |
| omitParensWhenEmpty | optional boolean                                      |   |
