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 voidaddBinding(Bindings bindings, ParseNode bindingTree) voidcompile(org.objectweb.asm.MethodVisitor mv, CompileContext compileContext) static Eventstatic EventcreateBinding(ParseNode varTree) private voidcreateBindings(ParseNode eventTree) private TypegetBindingType(ParseNode typeTree) create and return a type for a binding or return null if the type cannot be createdinterpret(HelperAdapter helper) private voidvoidwriteTo(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:
ParseExceptionTypeException
-
getBindings
- Overrides:
getBindingsin classRuleElement
-
typeCheck
- Specified by:
typeCheckin 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:
interpretin classRuleElement- Throws:
ExecuteException
-
compile
public void compile(org.objectweb.asm.MethodVisitor mv, CompileContext compileContext) throws CompileException - Specified by:
compilein classRuleElement- Throws:
CompileException
-
writeTo
- Specified by:
writeToin classRuleElement
-