org.jboss.byteman.agent.adapter.cfg
Class TriggerDetails

java.lang.Object
  extended by org.jboss.byteman.agent.adapter.cfg.TriggerDetails

public class TriggerDetails
extends java.lang.Object

auxiliary used by CFG to store details of a specific trigger insertion point


Field Summary
private  CFG cfg
          back link to the flow graph
private  Label earlyReturnHandler
          the label identifying the start of the handler block for any ReturnException thrown by the trigger call
private  Label end
          the label identifying the end of the trigger sequence injected into the bytecode
private  Label executeHandler
          the label identifying the start of the handler block for any ExecuteException thrown by the trigger call
private  Label start
          the label identifying the start of the trigger sequence injected into the bytecode
private  Label throwHandler
          the label identifying the start of the handler block for any ThrowException thrown by the trigger call
 
Constructor Summary
TriggerDetails(CFG cfg, Label start)
          construct a new trigger details instance
 
Method Summary
 Label getEarlyReturnHandler()
           
 Label getEnd()
           
 Label getExecuteHandler()
           
 Label getStart()
           
 Label getThrowHandler()
           
 void setEarlyReturnHandler(Label earlyReturnHandler)
           
 void setEnd(Label end)
           
 void setExecuteHandler(Label executeHandler)
           
 void setStart(Label start)
           
 void setThrowHandler(Label throwHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cfg

private CFG cfg
back link to the flow graph


start

private Label start
the label identifying the start of the trigger sequence injected into the bytecode


end

private Label end
the label identifying the end of the trigger sequence injected into the bytecode


earlyReturnHandler

private Label earlyReturnHandler
the label identifying the start of the handler block for any ReturnException thrown by the trigger call


throwHandler

private Label throwHandler
the label identifying the start of the handler block for any ThrowException thrown by the trigger call


executeHandler

private Label executeHandler
the label identifying the start of the handler block for any ExecuteException thrown by the trigger call

Constructor Detail

TriggerDetails

public TriggerDetails(CFG cfg,
                      Label start)
construct a new trigger details instance

Parameters:
cfg -
start -
Method Detail

getStart

public Label getStart()

setStart

public void setStart(Label start)

getEnd

public Label getEnd()

setEnd

public void setEnd(Label end)

getExecuteHandler

public Label getExecuteHandler()

setExecuteHandler

public void setExecuteHandler(Label executeHandler)

getEarlyReturnHandler

public Label getEarlyReturnHandler()

setEarlyReturnHandler

public void setEarlyReturnHandler(Label earlyReturnHandler)

getThrowHandler

public Label getThrowHandler()

setThrowHandler

public void setThrowHandler(Label throwHandler)