org.apache.bcel.generic.Instruction used to mark locations of
interest in an com.sun.org.apache.bcel.internal.generic.InstructionList . It and
its subclasses are only used as placeholders, and do not contribute to the
actual byte code instruction stream.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(Visitor v)
Implements abstract com.
|
| public final int | Returns: 0 alwaysOverrides com. The number of JVM stack entries consumed by the instruction. |
| public Instruction | Returns: The instruction itself.Overrides com. Produce a copy of the instruction. |
| public final void | dump(DataOutputStream
Output stream out)Overrides com. Dump instruction as byte code to stream out. |
| public final int | Returns: 0 alwaysOverrides com. The number of JVM stack entries produced by the instruction. |
| MarkerInstruction | back to summary |
|---|---|
| public MarkerInstruction() Zero-argument constructor. Sets the opcode to an invalid value and sets the length to zero, as it will not be written as part of the generated byte code. | |
| accept | back to summary |
|---|---|
| public void accept(Visitor v) Implements abstract com.
| |
| consumeStack | back to summary |
|---|---|
| public final int consumeStack(ConstantPoolGen cpg) Overrides com. The number of JVM stack entries consumed by the instruction. This instruction is just a place holder, so it does not consume any stack entries.
| |
| copy | back to summary |
|---|---|
| public Instruction copy() Overrides com. Produce a copy of the instruction. By default a
| |
| dump | back to summary |
|---|---|
| public final void dump(DataOutputStream out) throws IOException Overrides com. Dump instruction as byte code to stream out. A
| |
| produceStack | back to summary |
|---|---|
| public final int produceStack(ConstantPoolGen cpg) Overrides com. The number of JVM stack entries produced by the instruction. This instruction is just a place holder, so it does not produce any stack entries.
| |