Class SignatureAttribute.ArrayType

Enclosing class:
SignatureAttribute

public static class SignatureAttribute.ArrayType extends SignatureAttribute.ObjectType
Array types.
  • Constructor Details

    • ArrayType

      public ArrayType(int d, SignatureAttribute.Type comp)
      Constructs an ArrayType.
      Parameters:
      d - dimension.
      comp - the component type.
  • Method Details

    • getDimension

      public int getDimension()
      Returns the dimension of the array.
    • getComponentType

      public SignatureAttribute.Type getComponentType()
      Returns the component type.
    • toString

      public String toString()
      Returns the string representation.
      Overrides:
      toString in class Object