Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Compiler Tree API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Compiler Tree API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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