-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNewArrayTree.java
More file actions
53 lines (50 loc) · 953 Bytes
/
Copy pathNewArrayTree.java
File metadata and controls
53 lines (50 loc) · 953 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
* 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();
}