| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final Visitor
Visitor object v)Implements abstract org. |
| public void | dump(final DataOutputStream
Output stream out)Overrides org. |
| public final int | |
| public Type | Returns: int typeOverrides org. Implements org. |
| protected void | initFromFile(final ByteSequence
byte sequence to read from bytes, final boolean "wide" instruction flag wide)Overrides org. |
| public final void | |
| public final void | setIndex(final int n)
Overrides org. Implements org. |
| private void | |
| public String | Returns: mnemonic for instruction.long/short format switch verbose)Overrides org. |
| IINC | back to summary |
|---|---|
| pack-priv IINC() Empty constructor needed for Instruction.readInstruction. Not to be used otherwise. | |
| IINC | back to summary |
|---|---|
public IINC(final int n, final int c)
| |
| accept | back to summary |
|---|---|
| public void accept(final Visitor v) Implements abstract org. Calls corresponding visitor method(s). The order is: Call visitor methods of implemented interfaces first, then call methods according to the class hierarchy in descending order, i.e., the most specific visitXXX() call comes last. | |
| dump | back to summary |
|---|---|
| public void dump(final DataOutputStream out) throws IOException Overrides org. Dumps instruction as byte code to stream out.
| |
| getIncrement | back to summary |
|---|---|
public final int getIncrement()
| |
| getType | back to summary |
|---|---|
| public Type getType(final ConstantPoolGen cp) Overrides org. Implements org. Doc from org. Returns the type associated with the instruction - in case of ALOAD or ASTORE Type.OBJECT is returned. This is just a bit incorrect, because ALOAD and ASTORE may work on every ReferenceType (including Type.NULL) and ASTORE may even work on a ReturnaddressType . | |
| initFromFile | back to summary |
|---|---|
| protected void initFromFile(final ByteSequence bytes, final boolean wide) throws IOException Overrides org. Reads needed data (e.g. index) from file.
| |
| setIncrement | back to summary |
|---|---|
| public final void setIncrement(final int c) Sets increment factor. | |
| setIndex | back to summary |
|---|---|
| public final void setIndex(final int n) Overrides org. Implements org. Sets index of local variable.
| |
| setWide | back to summary |
|---|---|
| private void setWide() | |
| toString | back to summary |
|---|---|
| public String toString(final boolean verbose) Overrides org. Returns mnemonic for instruction.
| |