org.jboss.byteman.rule.compiler
Class CompileContext

java.lang.Object
  extended by org.jboss.byteman.rule.compiler.CompileContext

public class CompileContext
extends java.lang.Object

class which retains compiler state during recursive compilation of rule expressions to bytecode


Field Summary
private  int localCount
           
private  int localMax
           
private  MethodVisitor mv
           
private  int sourceLine
           
private  int stackCount
           
private  int stackMax
           
 
Constructor Summary
CompileContext(MethodVisitor mv)
           
 
Method Summary
 void addLocalCount(int count)
           
 void addStackCount(int count)
           
 int getLocalCount()
           
 int getLocalMax()
           
 int getSourceLine()
           
 int getStackCount()
           
 int getStackMax()
           
 void notifySourceEnd()
           
 void notifySourceLine(int line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceLine

private int sourceLine

stackCount

private int stackCount

stackMax

private int stackMax

localCount

private int localCount

localMax

private int localMax

mv

private MethodVisitor mv
Constructor Detail

CompileContext

CompileContext(MethodVisitor mv)
Method Detail

getSourceLine

public int getSourceLine()

getStackCount

public int getStackCount()

getLocalCount

public int getLocalCount()

getStackMax

public int getStackMax()

getLocalMax

public int getLocalMax()

addStackCount

public void addStackCount(int count)

addLocalCount

public void addLocalCount(int count)

notifySourceLine

public void notifySourceLine(int line)

notifySourceEnd

public void notifySourceEnd()