Package javassist.bytecode
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 java.lang.Object
-
-
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)
-
-
-
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
-
-