/* * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.source.tree; import java.util.List; /** * A tree node for an expression to create a new instance of an array. * * For example: *
* new type dimensions initializers * * new type dimensions [ ] initializers ** * @jls section 15.10 * * @author Peter von der Ahé * @author Jonathan Gibbons * @since 1.6 */ @jdk.Exported public interface NewArrayTree extends ExpressionTree { Tree getType(); List extends ExpressionTree> getDimensions(); List extends ExpressionTree> getInitializers(); List extends AnnotationTree> getAnnotations(); List extends List extends AnnotationTree>> getDimAnnotations(); }