Package org.jboss.byteman.rule
Class RuleElement
- java.lang.Object
-
- org.jboss.byteman.rule.RuleElement
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RuleElement(Rule rule)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
compile(org.objectweb.asm.MethodVisitor mv, CompileContext compileContext)
protected Bindings
getBindings()
protected TypeGroup
getTypeGroup()
abstract Object
interpret(HelperAdapter helper)
protected Object
rebox(Type fromType, Type toType, Object value)
String
toString()
abstract Type
typeCheck(Type expected)
abstract void
writeTo(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)
-
-