Class ArrayType


public final class ArrayType extends ReferenceType
  • Method Details

    • create

      @NonNull public static ArrayType create(@NonNull String typeDesc)
    • getDimensions

      public @org.checkerframework.checker.index.qual.NonNegative int getDimensions()
      Returns the number of dimensions of this array type.
    • getElementType

      @NonNull public JavaType getElementType()
      Returns the type of the elements of this array type.
    • getClassName

      @NonNull public String getClassName()
      Description copied from class: JavaType
      Returns the binary name of the class corresponding to this type. This method must not be used on method types.
      Specified by:
      getClassName in class JavaType