Compiler Tree API

com.sun.source.tree
Interface NewArrayTree

All Superinterfaces:
ExpressionTree, Tree

public interface NewArrayTree
extends ExpressionTree

A tree node for an expression to create a new instance of an array. For example:

   new type dimensions initializers

   new type dimensions [ ] initializers
 

Since:
1.6
See Also:
"The Java Language Specification, 3rd ed, section 15.10"

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.source.tree.Tree
Tree.Kind
 
Method Summary
 List<? extends ExpressionTree> getDimensions()
           
 List<? extends ExpressionTree> getInitializers()
           
 Tree getType()
           
 
Methods inherited from interface com.sun.source.tree.Tree
accept, getKind
 

Method Detail

getType

Tree getType()

getDimensions

List<? extends ExpressionTree> getDimensions()

getInitializers

List<? extends ExpressionTree> getInitializers()

Compiler Tree API

Submit a bug or feature
Copyright © 2005, 2015, Oracle and/or its affiliates. All rights reserved.