Package org.jboss.byteman.rule
Class RuleElement
java.lang.Object
org.jboss.byteman.rule.RuleElement
- Direct Known Subclasses:
Action
,Binding
,Condition
,Event
,Expression
generic class implemented by rule events, conditions and actions which gives them
access to the rule context and provides them with common behaviours
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
compile
(org.objectweb.asm.MethodVisitor mv, CompileContext compileContext) protected Bindings
protected TypeGroup
abstract Object
interpret
(HelperAdapter helper) protected Object
toString()
abstract Type
abstract void
writeTo
(StringWriter stringWriter)
-
Field Details
-
rule
-
-
Constructor Details
-
RuleElement
-
-
Method Details
-
getTypeGroup
-
getBindings
-
typeCheck
- Throws:
TypeException
-
interpret
- Throws:
ExecuteException
-
compile
public abstract void compile(org.objectweb.asm.MethodVisitor mv, CompileContext compileContext) throws CompileException - Throws:
CompileException
-
rebox
-
toString
-
writeTo
-