Class OperandManager
- java.lang.Object
-
- org.apache.commons.compress.harmony.unpack200.bytecode.OperandManager
-
public class OperandManager extends java.lang.Object
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
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCurrentClass()java.lang.StringgetNewClass()java.lang.StringgetSuperClass()SegmentConstantPoolglobalConstantPool()intnextByte()intnextCaseCount()intnextCaseValues()intnextClassRef()intnextDoubleRef()intnextFieldRef()intnextFloatRef()intnextIMethodRef()intnextInitRef()intnextIntRef()intnextLabel()intnextLocal()intnextLongRef()intnextMethodRef()intnextShort()intnextStringRef()intnextSuperFieldRef()intnextSuperMethodRef()intnextThisFieldRef()intnextThisMethodRef()intnextWideByteCode()voidsetCurrentClass(java.lang.String string)voidsetNewClass(java.lang.String string)voidsetSegment(Segment segment)voidsetSuperClass(java.lang.String string)
-
-
-
Constructor Detail
-
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 Detail
-
getCurrentClass
public java.lang.String getCurrentClass()
-
getNewClass
public java.lang.String getNewClass()
-
getSuperClass
public java.lang.String getSuperClass()
-
globalConstantPool
public SegmentConstantPool globalConstantPool()
-
nextByte
public int nextByte()
-
nextCaseCount
public int nextCaseCount()
-
nextCaseValues
public int nextCaseValues()
-
nextClassRef
public int nextClassRef()
-
nextDoubleRef
public int nextDoubleRef()
-
nextFieldRef
public int nextFieldRef()
-
nextFloatRef
public int nextFloatRef()
-
nextIMethodRef
public int nextIMethodRef()
-
nextInitRef
public int nextInitRef()
-
nextIntRef
public int nextIntRef()
-
nextLabel
public int nextLabel()
-
nextLocal
public int nextLocal()
-
nextLongRef
public int nextLongRef()
-
nextMethodRef
public int nextMethodRef()
-
nextShort
public int nextShort()
-
nextStringRef
public int nextStringRef()
-
nextSuperFieldRef
public int nextSuperFieldRef()
-
nextSuperMethodRef
public int nextSuperMethodRef()
-
nextThisFieldRef
public int nextThisFieldRef()
-
nextThisMethodRef
public int nextThisMethodRef()
-
nextWideByteCode
public int nextWideByteCode()
-
setCurrentClass
public void setCurrentClass(java.lang.String string)
-
setNewClass
public void setNewClass(java.lang.String string)
-
setSegment
public void setSegment(Segment segment)
-
setSuperClass
public void setSuperClass(java.lang.String string)
-
-