Class CodeIterator.Branch

java.lang.Object
javassist.bytecode.CodeIterator.Branch
Direct Known Subclasses:
CodeIterator.Branch16, CodeIterator.Jump32, CodeIterator.LdcW, CodeIterator.Switcher
Enclosing class:
CodeIterator

abstract static class CodeIterator.Branch extends Object
  • Field Summary

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

    Constructors
    Constructor
    Description
    Branch(int p)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) int
     
    (package private) boolean
     
    (package private) int
     
    (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 Details

    • pos

      int pos
    • orgPos

      int orgPos
  • Constructor Details

    • Branch

      Branch(int p)
  • Method Details

    • 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