oscript.compiler
Class CompilerInstructionList

java.lang.Object
  extended byorg.apache.bcel.generic.InstructionList
      extended byoscript.compiler.CompilerInstructionList
All Implemented Interfaces:
java.io.Serializable

public class CompilerInstructionList
extends org.apache.bcel.generic.InstructionList

These is a rather cheezy implementation... be careful because this doesn't overload all the apend methods. It is, at least, a way to break some extra crap out of the visitor.

Version:
1.5
Author:
Rob Clark (rob@ti.com)
See Also:
Serialized Form

Constructor Summary
CompilerInstructionList()
           
 
Method Summary
 org.apache.bcel.generic.BranchHandle append(org.apache.bcel.generic.BranchInstruction i)
           
 org.apache.bcel.generic.InstructionHandle append(org.apache.bcel.generic.CompoundInstruction i)
           
 org.apache.bcel.generic.InstructionHandle append(org.apache.bcel.generic.Instruction i)
           
 org.apache.bcel.generic.InstructionHandle getLastBranchTarget()
           
 org.apache.bcel.generic.InstructionHandle getLastInstructionHandle()
           
 void setNextAsTarget(org.apache.bcel.generic.BranchInstruction bi)
           
 
Methods inherited from class org.apache.bcel.generic.InstructionList
addObserver, append, append, append, append, append, append, append, append, contains, contains, copy, delete, delete, delete, delete, dispose, findHandle, findHandle, getByteCode, getEnd, getInstructionHandles, getInstructionPositions, getInstructions, getLength, getStart, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, isEmpty, iterator, move, move, redirectBranches, redirectExceptionHandlers, redirectLocalVariables, removeObserver, replaceConstantPool, setPositions, setPositions, size, toString, toString, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompilerInstructionList

public CompilerInstructionList()
Method Detail

append

public org.apache.bcel.generic.InstructionHandle append(org.apache.bcel.generic.Instruction i)

append

public org.apache.bcel.generic.InstructionHandle append(org.apache.bcel.generic.CompoundInstruction i)

append

public org.apache.bcel.generic.BranchHandle append(org.apache.bcel.generic.BranchInstruction i)

getLastInstructionHandle

public org.apache.bcel.generic.InstructionHandle getLastInstructionHandle()

setNextAsTarget

public void setNextAsTarget(org.apache.bcel.generic.BranchInstruction bi)

getLastBranchTarget

public org.apache.bcel.generic.InstructionHandle getLastBranchTarget()