Package org.jboss.byteman.rule
Class Event
java.lang.Object
org.jboss.byteman.rule.RuleElement
org.jboss.byteman.rule.Event
class which represents a rule event comprising of a set of abstract bindings of event variables to
evaluable expressions.
-
Field Summary
Fields inherited from class org.jboss.byteman.rule.RuleElement
rule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addBinding
(Bindings bindings, ParseNode bindingTree) void
compile
(org.objectweb.asm.MethodVisitor mv, CompileContext compileContext) static Event
static Event
createBinding
(ParseNode varTree) private void
createBindings
(ParseNode eventTree) private Type
getBindingType
(ParseNode typeTree) create and return a type for a binding or return null if the type cannot be createdinterpret
(HelperAdapter helper) private void
void
writeTo
(StringWriter stringWriter) Methods inherited from class org.jboss.byteman.rule.RuleElement
getTypeGroup, rebox, toString
-
Constructor Details
-
Event
- Throws:
TypeException
-
Event
-
-
Method Details
-
create
- Throws:
TypeException
-
create
- Throws:
ParseException
TypeException
-
getBindings
- Overrides:
getBindings
in classRuleElement
-
typeCheck
- Specified by:
typeCheck
in classRuleElement
- Throws:
TypeException
-
typeCheck
- Throws:
TypeException
-
createBindings
- Throws:
TypeException
-
addBinding
- Throws:
TypeException
-
createBinding
- Throws:
TypeException
-
getBindingType
create and return a type for a binding or return null if the type cannot be created- Parameters:
typeTree
-- Returns:
- the binding type or null
-
interpret
- Specified by:
interpret
in classRuleElement
- Throws:
ExecuteException
-
compile
public void compile(org.objectweb.asm.MethodVisitor mv, CompileContext compileContext) throws CompileException - Specified by:
compile
in classRuleElement
- Throws:
CompileException
-
writeTo
- Specified by:
writeTo
in classRuleElement
-