Class OperandManager
java.lang.Object
org.apache.commons.compress.harmony.unpack200.bytecode.OperandManager
Tracks operands, provides methods to let other classes get next elements, and also knows about which classes have been used recently in super, this and new
references.
-
Constructor Summary
ConstructorDescriptionOperandManager
(int[] bcCaseCount, int[] bcCaseValue, int[] bcByte, int[] bcShort, int[] bcLocal, int[] bcLabel, int[] bcIntRef, int[] bcFloatRef, int[] bcLongRef, int[] bcDoubleRef, int[] bcStringRef, int[] bcClassRef, int[] bcFieldRef, int[] bcMethodRef, int[] bcIMethodRef, int[] bcThisField, int[] bcSuperField, int[] bcThisMethod, int[] bcSuperMethod, int[] bcInitRef, int[] wideByteCodes) -
Method Summary
Modifier and TypeMethodDescriptionint
nextByte()
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
void
setCurrentClass
(String string) void
setNewClass
(String string) void
setSegment
(Segment segment) void
setSuperClass
(String string)
-
Constructor Details
-
OperandManager
public OperandManager(int[] bcCaseCount, int[] bcCaseValue, int[] bcByte, int[] bcShort, int[] bcLocal, int[] bcLabel, int[] bcIntRef, int[] bcFloatRef, int[] bcLongRef, int[] bcDoubleRef, int[] bcStringRef, int[] bcClassRef, int[] bcFieldRef, int[] bcMethodRef, int[] bcIMethodRef, int[] bcThisField, int[] bcSuperField, int[] bcThisMethod, int[] bcSuperMethod, int[] bcInitRef, int[] wideByteCodes)
-
-
Method Details
-
getCurrentClass
-
getNewClass
-
getSuperClass
-
globalConstantPool
-
nextByte
-
nextCaseCount
-
nextCaseValues
-
nextClassRef
-
nextDoubleRef
-
nextFieldRef
-
nextFloatRef
-
nextIMethodRef
-
nextInitRef
-
nextIntRef
-
nextLabel
-
nextLocal
-
nextLongRef
-
nextMethodRef
-
nextShort
-
nextStringRef
-
nextSuperFieldRef
-
nextSuperMethodRef
-
nextThisFieldRef
-
nextThisMethodRef
-
nextWideByteCode
-
setCurrentClass
-
setNewClass
-
setSegment
-
setSuperClass
-