Java org.eclipse.jdt.core.dom ArrayCreation fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.dom ArrayCreation fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.dom ArrayCreation.

The text is from its open source code.

Field

ChildPropertyDescriptorTYPE_PROPERTY
The "type" structural property of this node type (child type: ArrayType ).
ChildListPropertyDescriptorDIMENSIONS_PROPERTY
The "dimensions" structural property of this node type (element type: Expression ).
ASTNode.NodeListdimensions
The list of dimension expressions (element type: Expression ).

Constructor

ArrayCreation(AST ast)
Creates a new AST node for an array creation expression owned by the given AST.

Method

ArrayInitializergetInitializer()
Returns the array initializer of this array creation expression, or null if there is none.
ArrayTypegetType()
Returns the array type in this array creation expression.
voidsetInitializer(ArrayInitializer initializer)
Sets or clears the array initializer of this array creation expression.
voidsetType(ArrayType type)
Sets the array type in this array creation expression.