Class TriggerDetails
java.lang.Object
org.jboss.byteman.agent.adapter.cfg.TriggerDetails
auxiliary used by CFG to store details of a specific trigger insertion point
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CFG
back link to the flow graphprivate org.objectweb.asm.Label
the label identifying the start of the handler block for any ReturnException thrown by the trigger callprivate org.objectweb.asm.Label
the label identifying the end of the trigger sequence injected into the bytecodeprivate org.objectweb.asm.Label
the label identifying the start of the handler block for any ExecuteException thrown by the trigger callprivate org.objectweb.asm.Label
the label identifying the start of the trigger sequence injected into the bytecodeprivate org.objectweb.asm.Label
the label identifying the start of the handler block for any ThrowException thrown by the trigger call -
Constructor Summary
ConstructorsConstructorDescriptionTriggerDetails
(CFG cfg, org.objectweb.asm.Label start) construct a new trigger details instance -
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.Label
org.objectweb.asm.Label
getEnd()
org.objectweb.asm.Label
org.objectweb.asm.Label
getStart()
org.objectweb.asm.Label
void
setEarlyReturnHandler
(org.objectweb.asm.Label earlyReturnHandler) void
setEnd
(org.objectweb.asm.Label end) void
setExecuteHandler
(org.objectweb.asm.Label executeHandler) void
setStart
(org.objectweb.asm.Label start) void
setThrowHandler
(org.objectweb.asm.Label throwHandler)
-
Field Details
-
cfg
back link to the flow graph -
start
private org.objectweb.asm.Label startthe label identifying the start of the trigger sequence injected into the bytecode -
end
private org.objectweb.asm.Label endthe label identifying the end of the trigger sequence injected into the bytecode -
earlyReturnHandler
private org.objectweb.asm.Label earlyReturnHandlerthe label identifying the start of the handler block for any ReturnException thrown by the trigger call -
throwHandler
private org.objectweb.asm.Label throwHandlerthe label identifying the start of the handler block for any ThrowException thrown by the trigger call -
executeHandler
private org.objectweb.asm.Label executeHandlerthe label identifying the start of the handler block for any ExecuteException thrown by the trigger call
-
-
Constructor Details
-
TriggerDetails
construct a new trigger details instance- Parameters:
cfg
- the flow graphstart
- the start label for the trigger point
-
-
Method Details
-
getStart
public org.objectweb.asm.Label getStart() -
setStart
public void setStart(org.objectweb.asm.Label start) -
getEnd
public org.objectweb.asm.Label getEnd() -
setEnd
public void setEnd(org.objectweb.asm.Label end) -
getExecuteHandler
public org.objectweb.asm.Label getExecuteHandler() -
setExecuteHandler
public void setExecuteHandler(org.objectweb.asm.Label executeHandler) -
getEarlyReturnHandler
public org.objectweb.asm.Label getEarlyReturnHandler() -
setEarlyReturnHandler
public void setEarlyReturnHandler(org.objectweb.asm.Label earlyReturnHandler) -
getThrowHandler
public org.objectweb.asm.Label getThrowHandler() -
setThrowHandler
public void setThrowHandler(org.objectweb.asm.Label throwHandler)
-