Package org.jboss.byteman.rule
Class RuleElement
- java.lang.Object
-
- org.jboss.byteman.rule.RuleElement
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRuleElement(Rule rule)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidcompile(org.objectweb.asm.MethodVisitor mv, CompileContext compileContext)protected BindingsgetBindings()protected TypeGroupgetTypeGroup()abstract Objectinterpret(HelperAdapter helper)protected Objectrebox(Type fromType, Type toType, Object value)StringtoString()abstract TypetypeCheck(Type expected)abstract voidwriteTo(StringWriter stringWriter)
-
-
-
Field Detail
-
rule
protected Rule rule
-
-
Constructor Detail
-
RuleElement
protected RuleElement(Rule rule)
-
-
Method Detail
-
getTypeGroup
protected TypeGroup getTypeGroup()
-
getBindings
protected Bindings getBindings()
-
typeCheck
public abstract Type typeCheck(Type expected) throws TypeException
- Throws:
TypeException
-
interpret
public abstract Object interpret(HelperAdapter helper) throws ExecuteException
- Throws:
ExecuteException
-
compile
public abstract void compile(org.objectweb.asm.MethodVisitor mv, CompileContext compileContext) throws CompileException- Throws:
CompileException
-
writeTo
public abstract void writeTo(StringWriter stringWriter)
-
-