ArrayTypeTree (Java SE 23 & JDK 23)
Description: declaration: module: jdk.compiler, package: com.sun.source.tree, interface: ArrayTypeTree
Keywords: com.sun.source.tree.ArrayTypeTree interface

# Interface ArrayTypeTree

All Superinterfaces:
  `Tree`

public interface ArrayTypeTree extends Tree
A tree node for an array type. For example:

       type []

See Java Language Specification:
  10.1 Array Types
Since:
  1.6

- ## Nested Class Summary

  ### Nested classes/interfaces declared in interface com.sun.source.tree.Tree

  `Tree.Kind`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Tree`
  `getType()`
  Returns the element type of this array type.

  ### Methods declared in interface com.sun.source.tree.Tree

  `accept, getKind`

- ## Method Details

  - ### getType

    Tree getType()
    Returns the element type of this array type.
    Returns:
      the element type