Class IfBranchReplacer

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getBranchCount()
      Returns 2.
      java.lang.String getBranchSign​(int index)
      Returns "else" for the first branch, "end" for the next branch.
      java.lang.String getDescription()
      Returns a description for the user of what this replacer does.
      int getParameterCount()
      Returns 1
      java.lang.Object getReplacement​(java.lang.Object o)
      Replaces by the first branch if the predicate is true, else by the second branch.
      void setBranch​(int index, java.lang.Object obj)
      Set the index-th branch to obj.
      void setParameter​(int index, java.lang.Object obj)
      Sets the index-th parameter to obj
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait