public interface

IJavaNewArray

implements IJavaExpression IStatement
com.pnfsoftware.jeb.core.units.code.java.IJavaNewArray

Class Overview

Java AST interface to represent the instantiation of an array object.

Summary

Public Methods
abstract List<? extends IJavaExpression> getInitialValues()
Get the list of initial values for the array.
abstract List<? extends IJavaExpression> getSizes()
Get the list of dimensions for the array.
abstract IJavaType getType()
Get the type of array being instantiated.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement

Public Methods

public abstract List<? extends IJavaExpression> getInitialValues ()

Get the list of initial values for the array.

Returns
  • the list of initial values, may be null if the array is created by sizes

public abstract List<? extends IJavaExpression> getSizes ()

Get the list of dimensions for the array.

Returns
  • the list of dimensions, may be null if the array is created by providing a list of initial values

public abstract IJavaType getType ()

Get the type of array being instantiated.

Returns
  • the type string