OpenJDK 27
jdk.compiler
com.sun.source.tree
ArrayTypeTree
APIdia Launch Partner
Top
Description
Methods
com.sun.source.tree
public
Interface ArrayTypeTree
extends
Tree
Known Direct Implementers
com.
sun.
tools.
javac.
tree.
JCTree.
JCArrayTypeTree
A tree node for an array type. For example:
type
[]
Authors
Peter von der Ahé, Jonathan Gibbons
Since
1.6
Java Language Specification
10.1 Array Types
Method Summary
Modifier and Type
Method and Description
public
Tree
Returns:
the element type
getType
()
Returns the element type of this array type.
Inherited from
com.sun.source.tree.Tree
:
accept
getKind
Method Detail
getType
back to summary
public
Tree
getType
()
Returns the element type of this array type.
Returns:
Tree
the element type