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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) int
(package private) boolean
expanded()
(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)
-
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
- Throws:
BadBytecode
-