# Interface: com.pnfsoftware.jeb.core.units.code.android.ir.IDNewArrayInfo

`dexdec` IR element holding `new` array creation information. 

 Examples: 

```

 int[] ints = new int[3];
              ^^^^^^^^^^
 char[] chars = new char[]{'h', 'e', 'l', 'l', 'o'};
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
```

## Method: areSubExpsAllImms
- return type: `boolean`

Description: A convenience method to quickly determine whether all sub\-expressions of this IR are [immediates](IDImm).
return: true if all sub\-expressions \(as returned by [#collectSubExpressions(Collection)](#collectSubExpressions(Collection))\) are         immediates

## Method: duplicate
- return type: `com.pnfsoftware.jeb.core.units.code.android.ir.IDNewArrayInfo`


## Method: getCountOfInitialValues
- return type: `int`

Description: Retrieve the number of initial values.
return: the initial value count

## Method: getInitialValue
- parameter: `index`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.android.ir.IDExpression`

Description: Retrieve an initial value.
parameter: index: initial value index
return: the initial value expression

## Method: getInitialValues
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.code.android.ir.IDExpression>`

Description: Retrieve the initial values.
return: the initial value expressions

## Method: getSize
- return type: `com.pnfsoftware.jeb.core.units.code.android.ir.IDExpression`

Description: Retrieve the array size expression.
return: the array size expression

## Method: setInitialValue
- parameter: `index`, type: `int`
- parameter: `val`, type: `com.pnfsoftware.jeb.core.units.code.android.ir.IDExpression`

Description: Set an initial value.
parameter: index: initial value index
parameter: val: initial value expression

## Method: setInitialValues
- parameter: `initvals`, type: `java.util.List<com.pnfsoftware.jeb.core.units.code.android.ir.IDExpression>`

Description: Set the initial values.
parameter: initvals: initial value expressions

## Method: setSize
- parameter: `size`, type: `com.pnfsoftware.jeb.core.units.code.android.ir.IDExpression`

Description: Set the array size expression.
parameter: size: array size expression

