org.apache.commons.compress.harmony.unpack200.bytecode

## Class OperandManager

- java.lang.Object
- - org.apache.commons.compress.harmony.unpack200.bytecode.OperandManager

-     public class OperandManager
      extends Object

  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

    Constructors
    Constructor and 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 and Description
    --- | ---
    `String` | `getCurrentClass()`
    `String` | `getNewClass()`
    `String` | `getSuperClass()`
    `SegmentConstantPool` | `globalConstantPool()`
    `int` | `nextByte()`
    `int` | `nextCaseCount()`
    `int` | `nextCaseValues()`
    `int` | `nextClassRef()`
    `int` | `nextDoubleRef()`
    `int` | `nextFieldRef()`
    `int` | `nextFloatRef()`
    `int` | `nextIMethodRef()`
    `int` | `nextInitRef()`
    `int` | `nextIntRef()`
    `int` | `nextLabel()`
    `int` | `nextLocal()`
    `int` | `nextLongRef()`
    `int` | `nextMethodRef()`
    `int` | `nextShort()`
    `int` | `nextStringRef()`
    `int` | `nextSuperFieldRef()`
    `int` | `nextSuperMethodRef()`
    `int` | `nextThisFieldRef()`
    `int` | `nextThisMethodRef()`
    `int` | `nextWideByteCode()`
    `void` | `setCurrentClass(String string)`
    `void` | `setNewClass(String string)`
    `void` | `setSegment(Segment segment)`
    `void` | `setSuperClass(String string)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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

    - #### nextCaseCount

          public int nextCaseCount()

    - #### nextCaseValues

          public int nextCaseValues()

    - #### nextByte

          public int nextByte()

    - #### nextShort

          public int nextShort()

    - #### nextLocal

          public int nextLocal()

    - #### nextLabel

          public int nextLabel()

    - #### nextIntRef

          public int nextIntRef()

    - #### nextFloatRef

          public int nextFloatRef()

    - #### nextLongRef

          public int nextLongRef()

    - #### nextDoubleRef

          public int nextDoubleRef()

    - #### nextStringRef

          public int nextStringRef()

    - #### nextClassRef

          public int nextClassRef()

    - #### nextFieldRef

          public int nextFieldRef()

    - #### nextMethodRef

          public int nextMethodRef()

    - #### nextIMethodRef

          public int nextIMethodRef()

    - #### nextThisFieldRef

          public int nextThisFieldRef()

    - #### nextSuperFieldRef

          public int nextSuperFieldRef()

    - #### nextThisMethodRef

          public int nextThisMethodRef()

    - #### nextSuperMethodRef

          public int nextSuperMethodRef()

    - #### nextInitRef

          public int nextInitRef()

    - #### nextWideByteCode

          public int nextWideByteCode()

    - #### setSegment

          public void setSegment(Segment segment)

    - #### globalConstantPool

          public SegmentConstantPool globalConstantPool()

    - #### setCurrentClass

          public void setCurrentClass(String string)

    - #### setSuperClass

          public void setSuperClass(String string)

    - #### setNewClass

          public void setNewClass(String string)

    - #### getCurrentClass

          public String getCurrentClass()

    - #### getSuperClass

          public String getSuperClass()

    - #### getNewClass

          public String getNewClass()

Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.