ExpressionTree
, Tree
public interface NewArrayTree extends ExpressionTree
new type dimensions initializers new type dimensions [ ] initializers
Modifier and Type | Method | Description |
---|---|---|
List<? extends AnnotationTree> |
getAnnotations() |
Returns the annotations on the base type.
|
List<? extends List<? extends AnnotationTree>> |
getDimAnnotations() |
Returns the annotations on each of the dimension
expressions.
|
List<? extends ExpressionTree> |
getDimensions() |
Returns the dimension expressions for the type.
|
List<? extends ExpressionTree> |
getInitializers() |
Returns the initializer expressions.
|
Tree |
getType() |
Returns the base type of the expression.
|
Tree getType()
null
for an array initializer expression.List<? extends ExpressionTree> getDimensions()
List<? extends ExpressionTree> getInitializers()
List<? extends AnnotationTree> getAnnotations()
List<? extends List<? extends AnnotationTree>> getDimAnnotations()
Copyright © 2005, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b144-1