abstract static class CodeIterator.Switcher extends CodeIterator.Branch
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
defaultByte |
(package private) int |
gap |
(package private) int[] |
offsets |
(package private) CodeIterator.Pointers |
pointers |
orgPos, pos| Constructor and Description |
|---|
Switcher(int pos,
int defaultByte,
int[] offsets,
CodeIterator.Pointers ptrs) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
adjustOffsets(int size,
int nops) |
(package private) int |
deltaSize() |
(package private) int |
gapChanged() |
(package private) void |
shift(int where,
int gapLength,
boolean exclusive) |
(package private) abstract int |
tableSize() |
(package private) int |
write(int src,
byte[] code,
int dest,
byte[] newcode) |
(package private) abstract int |
write2(int dest,
byte[] newcode) |
expanded, shiftOffsetint gap
int defaultByte
int[] offsets
CodeIterator.Pointers pointers
Switcher(int pos,
int defaultByte,
int[] offsets,
CodeIterator.Pointers ptrs)
void shift(int where,
int gapLength,
boolean exclusive)
shift in class CodeIterator.Branchint gapChanged()
gapChanged in class CodeIterator.Branchint deltaSize()
deltaSize in class CodeIterator.Branchint write(int src,
byte[] code,
int dest,
byte[] newcode)
throws BadBytecode
write in class CodeIterator.BranchBadBytecodeabstract int write2(int dest,
byte[] newcode)
abstract int tableSize()
void adjustOffsets(int size,
int nops)
throws BadBytecode
BadBytecode