Module java.compiler

Interface ArrayType

所有超级接口:
AnnotatedConstruct, ReferenceType, TypeMirror

public interface ArrayType extends ReferenceType
代表一个数组类型。多维数组类型被表示为其组件类型也是数组类型的数组类型。
自1.6版本起:
1.6
  • Method Details

    • getComponentType

      TypeMirror getComponentType()
      返回此数组类型的组件类型。
      返回:
      此数组类型的组件类型