Class ChangeMethodSignatureArguments.ThrownException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getOldIndex()
      Returns the index of the thrown exception in the original method or -1 if the thrown exception has been added.
      java.lang.String getType()
      Returns the new type of the thrown exception in signature notation (See Signature).
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ThrownException

        public ThrownException​(int oldIndex,
                               java.lang.String newSignature)
        Parameters:
        oldIndex - the index of the thrown exception in the original method or -1 if the thrown exception is a new thrown exception.
        newSignature - the new type of the thrown exception in signature notation (See Signature).
    • Method Detail

      • getOldIndex

        public int getOldIndex()
        Returns the index of the thrown exception in the original method or -1 if the thrown exception has been added.
        Returns:
        the index of the parameter in the original method or -1 if the thrown exception has been added.
      • getType

        public java.lang.String getType()
        Returns the new type of the thrown exception in signature notation (See Signature).
        Returns:
        the the new type
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object