Modifier and Type | Method and Description |
---|---|
Rule |
TransformContext.createRule(String triggerMethodName,
String triggerMethodDescriptor)
called by a check adapter to create a rule specific to a given trigger method.
|
Rule |
Transform.getRule() |
Rule |
TransformContext.lookupRule(String triggerMethodName,
String triggerMethodDescriptor)
called by a trigger adapter to find a rule specific to a given trigger method,
expects to find a rule created by the corresponding check adapter.
|
Modifier and Type | Method and Description |
---|---|
void |
HelperManager.installed(Rule rule) |
boolean |
RuleScript.recordMethodTransform(ClassLoader loader,
String internalClassName,
String triggerMethodName,
String desc,
Rule rule)
record the fact that a trigger call has been successfully installed into bytecode associated with a specific
class and loader and a corresponding rule instance been installed
|
boolean |
RuleScript.recordTransform(ClassLoader loader,
String internalClassName,
String triggerMethodName,
String desc,
Rule rule,
Throwable th)
record the fact that a trigger call has failed to install into bytecode associated with a specific
class and loader
|
void |
HelperManager.uninstalled(Rule rule) |
Constructor and Description |
---|
Transform(ClassLoader loader,
String internalClassName,
Rule rule) |
Transform(ClassLoader loader,
String internalClassName,
String triggerMethodName,
Rule rule,
Throwable th) |
Modifier and Type | Field and Description |
---|---|
protected Rule |
RuleMethodAdapter.rule |
Constructor and Description |
---|
RuleGeneratorAdapter(org.objectweb.asm.MethodVisitor mv,
TransformContext transformContext,
int access,
String name,
String desc,
Rule rule)
Creates a new
RuleGeneratorAdapter . |
RuleMethodAdapter(org.objectweb.asm.MethodVisitor mv,
TransformContext transformContext,
int access,
String name,
String desc,
Rule rule) |
Modifier and Type | Method and Description |
---|---|
int |
RuleCheck.installParamTypes(Rule rule,
String targetClassName,
int access,
String candidateName,
String candidateDesc) |
Constructor and Description |
---|
BytemanTestHelper(Rule rule) |
Modifier and Type | Field and Description |
---|---|
protected Rule |
RuleElement.rule |
Modifier and Type | Method and Description |
---|---|
static Rule |
Rule.create(RuleScript ruleScript,
ClassLoader loader,
HelperManager helperManager) |
Modifier and Type | Method and Description |
---|---|
static Condition |
Condition.create(Rule rule,
ParseNode conditionTree) |
static Event |
Event.create(Rule rule,
ParseNode eventTree) |
static Action |
Action.create(Rule rule,
ParseNode actionTree) |
static Condition |
Condition.create(Rule rule,
String text) |
static Event |
Event.create(Rule rule,
String text) |
static Action |
Action.create(Rule rule,
String text) |
Constructor and Description |
---|
Action(Rule rule) |
Action(Rule rule,
ParseNode actionTree) |
Condition(Rule rule) |
Condition(Rule rule,
ParseNode conditionTree) |
Event(Rule rule) |
Event(Rule rule,
ParseNode eventTree) |
RuleElement(Rule rule) |
Constructor and Description |
---|
Binding(Rule rule,
String name) |
Binding(Rule rule,
String name,
Type type) |
Binding(Rule rule,
String name,
Type type,
Expression value) |
Modifier and Type | Method and Description |
---|---|
static Class |
Compiler.getHelperAdapter(Rule rule,
Class helperClass,
boolean compileToBytecode) |
Modifier and Type | Field and Description |
---|---|
protected Rule |
Expression.rule |
Modifier and Type | Method and Description |
---|---|
static AssignableExpression |
ExpressionHelper.createAssignableExpression(Rule rule,
Bindings bindings,
ParseNode exprTree,
Type type) |
static Expression |
ExpressionHelper.createBinaryExpression(Rule rule,
Bindings bindings,
ParseNode exprTree,
Type type) |
static Expression |
ExpressionHelper.createCallExpression(Rule rule,
Bindings bindings,
ParseNode selectorTree,
ParseNode recipientTree,
ParseNode argTree,
Type type) |
static Expression |
ExpressionHelper.createClassLiteralExpression(Rule rule,
Bindings bindings,
ParseNode pathTree,
Type type) |
static Expression |
ExpressionHelper.createExpression(Rule rule,
Bindings bindings,
ParseNode exprTree) |
static Expression |
ExpressionHelper.createExpression(Rule rule,
Bindings bindings,
ParseNode exprTree,
Type type) |
static List<Expression> |
ExpressionHelper.createExpressionList(Rule rule,
Bindings bindings,
ParseNode exprTree) |
static List<Expression> |
ExpressionHelper.createExpressionList(Rule rule,
Bindings bindings,
ParseNode exprTree,
Type type) |
static AssignableExpression |
ExpressionHelper.createFieldExpression(Rule rule,
Bindings bindings,
ParseNode fieldTree,
ParseNode targetTree,
Type type) |
static Expression |
ExpressionHelper.createNewExpression(Rule rule,
Bindings bindings,
ParseNode typeNameTree,
ParseNode argTree,
ParseNode arrayDimsTree) |
static List<Expression> |
ExpressionHelper.createNewExpressionIndexList(Rule rule,
Bindings bindings,
ParseNode exprTree) |
static Expression |
ExpressionHelper.createTernaryExpression(Rule rule,
Bindings bindings,
ParseNode exprTree,
Type type) |
static Expression |
ExpressionHelper.createThrowExpression(Rule rule,
Bindings bindings,
ParseNode typeNameTree,
ParseNode argTree) |
static Expression |
ExpressionHelper.createUnaryExpression(Rule rule,
Bindings bindings,
ParseNode exprTree,
Type type) |
Modifier and Type | Field and Description |
---|---|
protected Rule |
Helper.rule |
Modifier and Type | Method and Description |
---|---|
static void |
Helper.installed(Rule rule) |
static void |
Helper.uninstalled(Rule rule) |
Constructor and Description |
---|
Helper(Rule rule) |
InterpretedHelper(Rule rule) |
Modifier and Type | Method and Description |
---|---|
static void |
ThreadHistoryMonitorHelper.installed(Rule rule) |
Constructor and Description |
---|
JMXHelper(Rule rule)
constructor allowing this helper to be used as a helper
|
PeriodicHelper(Rule rule) |
ThreadHistoryMonitorHelper(Rule rule) |
ThreadMonitorHelper(Rule rule) |
Copyright © 2018. All Rights Reserved.