Interface IJavaArrayType

    • Method Detail

      • newInstance

        IJavaArray newInstance​(int size)
                        throws DebugException
        Returns a new instance of an array of this type, with the specified length.
        Parameters:
        size - the length of the new array
        Returns:
        a new array of the specified length
        Throws:
        DebugException - if this method fails. Reasons include:
        • Failure communicating with the VM. The DebugException's status code contains the underlying exception responsible for the failure.
      • getComponentType

        IJavaType getComponentType()
                            throws DebugException
        Returns the type of the elements in this array.
        Returns:
        type
        Throws:
        DebugException - if this method fails. Reasons include:
        • Failure communicating with the VM. The exception's status code contains the underlying exception responsible for the failure.