|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Instruction org.apache.xalan.xsltc.compiler.util.MarkerInstruction
abstract class MarkerInstruction
A special abstract dummy subclass of
org.apache.bcel.generic.Instruction
used to mark locations of
interest in an org.apache.bcel.generic.InstructionList
. It and
its subclasses are only used as placeholders, and do not contribute to the
actual byte code instruction stream.
Constructor Summary | |
---|---|
MarkerInstruction()
Zero-argument constructor. |
Method Summary | |
---|---|
void |
accept(Visitor v)
org.apache.bcel.generic.Visitor s will know nothing about this
kind of org.apche.bcel.generic.Instruction , so this method does
nothing. |
int |
consumeStack(ConstantPoolGen cpg)
The number of JVM stack entries consumed by the instruction. |
Instruction |
copy()
Produce a copy of the instruction. |
void |
dump(java.io.DataOutputStream out)
Dump instruction as byte code to stream out. |
int |
produceStack(ConstantPoolGen cpg)
The number of JVM stack entries produced by the instruction. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MarkerInstruction()
Method Detail |
---|
public void accept(Visitor v)
org.apache.bcel.generic.Visitor
s will know nothing about this
kind of org.apche.bcel.generic.Instruction
, so this method does
nothing.
public final int consumeStack(ConstantPoolGen cpg)
cpg
- The org.apache.bcel.generic.ConstantPoolGen
for the
current org.apache.bcel.generic.ClassGen
0
alwayspublic final int produceStack(ConstantPoolGen cpg)
cpg
- The org.apache.bcel.generic.ConstantPoolGen
for the
current org.apache.bcel.generic.ClassGen
0
alwayspublic Instruction copy()
MarkerInstruction
has no parameters, so the base implementation
of copy()
returns the instruction itself.
public final void dump(java.io.DataOutputStream out) throws java.io.IOException
MarkerInstruction
has no effect on the generated byte code so it is never emitted to the
output stream.
out
- Output stream
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |