Class ArrayTypeSignature

    • Constructor Detail

      • ArrayTypeSignature

        public ArrayTypeSignature​(TypeSignature elementTypeSignature,
                                  int numArrayDims)
        Parameters:
        elementTypeSignature - The type signature of the array elements.
        numArrayDims - The number of array dimensions.
    • Method Detail

      • getElementTypeSignature

        public TypeSignature getElementTypeSignature()
        Get the type signature of the array elements.
        Returns:
        The type signature of the array elements.
      • getNumArrayDims

        public int getNumArrayDims()
        Get the number of dimensions of the array.
        Returns:
        The number of dimensions of the array.
      • instantiate

        public Class<?> instantiate​(ScanResult scanResult)
        Description copied from class: TypeSignature
        Instantiate the type signature into a class reference. The ScanResult is used to ensure the correct classloader is used to load the class.
        Specified by:
        instantiate in class TypeSignature
        Parameters:
        scanResult - The scan result.
        Returns:
        The instantiation of the type signature as a Class<?>.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object