org.jboss.byteman.rule
Class Action
java.lang.Object
org.jboss.byteman.rule.RuleElement
org.jboss.byteman.rule.Action
public class Action
- extends RuleElement
class which represents a rule action comprising a void expression
Methods inherited from class org.jboss.byteman.rule.RuleElement |
compileBooleanConversion, compileBox, compileNumericConversion, compileObjectConversion, compilePrimitiveConversion, compileStringConversion, compileTypeConversion, compileUnbox, getBindings, getTypeGroup, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
action
private java.util.List<Expression> action
Action
protected Action(Rule rule,
ParseNode actionTree)
throws TypeException
- Throws:
TypeException
Action
protected Action(Rule rule)
create
public static Action create(Rule rule,
ParseNode actionTree)
throws TypeException
- Throws:
TypeException
create
public static Action create(Rule rule,
java.lang.String text)
throws ParseException,
TypeException
- Throws:
ParseException
TypeException
typeCheck
public Type typeCheck(Type expected)
throws TypeException
- Specified by:
typeCheck
in class RuleElement
- Throws:
TypeException
compile
public void compile(MethodVisitor mv,
CompileContext compileContext)
throws CompileException
- Specified by:
compile
in class RuleElement
- Throws:
CompileException
interpret
public java.lang.Object interpret(HelperAdapter helper)
throws ExecuteException
- Specified by:
interpret
in class RuleElement
- Throws:
ExecuteException
writeTo
public void writeTo(java.io.StringWriter stringWriter)
- Specified by:
writeTo
in class RuleElement