You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
953 B
54 lines
953 B
/*
|
|
* 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:
|
|
* <pre>
|
|
* new <em>type</em> <em>dimensions</em> <em>initializers</em>
|
|
*
|
|
* new <em>type</em> <em>dimensions</em> [ ] <em>initializers</em>
|
|
* </pre>
|
|
*
|
|
* @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();
|
|
}
|