Class OperandManager
java.lang.Object
org.apache.commons.compress.harmony.unpack200.bytecode.OperandManager
This class keeps track of operands used. It provides API 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
ConstructorsConstructorDescriptionOperandManager(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 TypeMethodDescriptionintnextByte()intintintintintintintintintintintintintintintintintintintintvoidsetCurrentClass(String string) voidsetNewClass(String string) voidsetSegment(Segment segment) voidsetSuperClass(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
-