Class CodeIterator.Branch

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int orgPos  
      (package private) int pos  
    • Constructor Summary

      Constructors 
      Constructor Description
      Branch​(int p)  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) int deltaSize()  
      (package private) boolean expanded()  
      (package private) int gapChanged()  
      (package private) void shift​(int where, int gapLength, boolean exclusive)  
      (package private) static int shiftOffset​(int i, int offset, int where, int gapLength, boolean exclusive)  
      (package private) abstract int write​(int srcPos, byte[] code, int destPos, byte[] newcode)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • pos

        int pos
      • orgPos

        int orgPos
    • Constructor Detail

      • Branch

        Branch​(int p)
    • Method Detail

      • shift

        void shift​(int where,
                   int gapLength,
                   boolean exclusive)
      • shiftOffset

        static int shiftOffset​(int i,
                               int offset,
                               int where,
                               int gapLength,
                               boolean exclusive)
      • expanded

        boolean expanded()
      • gapChanged

        int gapChanged()
      • deltaSize

        int deltaSize()
      • write

        abstract int write​(int srcPos,
                           byte[] code,
                           int destPos,
                           byte[] newcode)
                    throws BadBytecode
        Throws:
        BadBytecode