Class OperandManager
- java.lang.Object
-
- kala.compress.harmony.unpack200.bytecode.OperandManager
-
public class OperandManager extends java.lang.ObjectTracks 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.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int[]bcByte(package private) intbcByteIndex(package private) int[]bcCaseCount(package private) intbcCaseCountIndex(package private) int[]bcCaseValue(package private) intbcCaseValueIndex(package private) int[]bcClassRef(package private) intbcClassRefIndex(package private) int[]bcDoubleRef(package private) intbcDoubleRefIndex(package private) int[]bcFieldRef(package private) intbcFieldRefIndex(package private) int[]bcFloatRef(package private) intbcFloatRefIndex(package private) int[]bcIMethodRef(package private) intbcIMethodRefIndex(package private) int[]bcInitRef(package private) intbcInitRefIndex(package private) int[]bcIntRef(package private) intbcIntRefIndex(package private) int[]bcLabel(package private) intbcLabelIndex(package private) int[]bcLocal(package private) intbcLocalIndex(package private) int[]bcLongRef(package private) intbcLongRefIndex(package private) int[]bcMethodRef(package private) intbcMethodRefIndex(package private) int[]bcShort(package private) intbcShortIndex(package private) int[]bcStringRef(package private) intbcStringRefIndex(package private) int[]bcSuperField(package private) intbcSuperFieldIndex(package private) int[]bcSuperMethod(package private) intbcSuperMethodIndex(package private) int[]bcThisField(package private) intbcThisFieldIndex(package private) int[]bcThisMethod(package private) intbcThisMethodIndex(package private) java.lang.StringcurrentClass(package private) java.lang.StringnewClass(package private) Segmentsegment(package private) java.lang.StringsuperClass(package private) intwideByteCodeIndex(package private) int[]wideByteCodes
-
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)
-
-
-
Field Detail
-
bcCaseCount
int[] bcCaseCount
-
bcCaseValue
int[] bcCaseValue
-
bcByte
int[] bcByte
-
bcShort
int[] bcShort
-
bcLocal
int[] bcLocal
-
bcLabel
int[] bcLabel
-
bcIntRef
int[] bcIntRef
-
bcFloatRef
int[] bcFloatRef
-
bcLongRef
int[] bcLongRef
-
bcDoubleRef
int[] bcDoubleRef
-
bcStringRef
int[] bcStringRef
-
bcClassRef
int[] bcClassRef
-
bcFieldRef
int[] bcFieldRef
-
bcMethodRef
int[] bcMethodRef
-
bcIMethodRef
int[] bcIMethodRef
-
bcThisField
int[] bcThisField
-
bcSuperField
int[] bcSuperField
-
bcThisMethod
int[] bcThisMethod
-
bcSuperMethod
int[] bcSuperMethod
-
bcInitRef
int[] bcInitRef
-
wideByteCodes
int[] wideByteCodes
-
bcCaseCountIndex
int bcCaseCountIndex
-
bcCaseValueIndex
int bcCaseValueIndex
-
bcByteIndex
int bcByteIndex
-
bcShortIndex
int bcShortIndex
-
bcLocalIndex
int bcLocalIndex
-
bcLabelIndex
int bcLabelIndex
-
bcIntRefIndex
int bcIntRefIndex
-
bcFloatRefIndex
int bcFloatRefIndex
-
bcLongRefIndex
int bcLongRefIndex
-
bcDoubleRefIndex
int bcDoubleRefIndex
-
bcStringRefIndex
int bcStringRefIndex
-
bcClassRefIndex
int bcClassRefIndex
-
bcFieldRefIndex
int bcFieldRefIndex
-
bcMethodRefIndex
int bcMethodRefIndex
-
bcIMethodRefIndex
int bcIMethodRefIndex
-
bcThisFieldIndex
int bcThisFieldIndex
-
bcSuperFieldIndex
int bcSuperFieldIndex
-
bcThisMethodIndex
int bcThisMethodIndex
-
bcSuperMethodIndex
int bcSuperMethodIndex
-
bcInitRefIndex
int bcInitRefIndex
-
wideByteCodeIndex
int wideByteCodeIndex
-
segment
Segment segment
-
currentClass
java.lang.String currentClass
-
superClass
java.lang.String superClass
-
newClass
java.lang.String newClass
-
-
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)
-
-