Uses of Class
org.jboss.byteman.rule.Rule
Packages that use Rule
Package
Description
-
Uses of Rule in org.jboss.byteman.agent
Fields in org.jboss.byteman.agent declared as RuleModifier and TypeFieldDescriptionprivate RuleTransformContext.firstRuleprivate RuleTransform.ruleprivate RuleTransformSet.ruleFields in org.jboss.byteman.agent with type parameters of type RuleModifier and TypeFieldDescriptionTransformContext.ruleMapa hashmap indexing Rule instances using key classname.methodnameandsig@loaderhashcode.Methods in org.jboss.byteman.agent that return RuleModifier and TypeMethodDescriptionTransformContext.createRule(String triggerMethodName, String triggerMethodDescriptor) called by a check adapter to create a rule specific to a given trigger method.Transform.getRule()TransformSet.getRule()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.Methods in org.jboss.byteman.agent with parameters of type RuleModifier and TypeMethodDescriptionRuleScript.ensureTransformSet(ClassLoader loader, String triggerClass, Rule installedRule) voidperform install processing for a ruleprivate HelperManager.LifecycleDetailsbooleanRuleScript.recordCompile(Rule rule, String triggerClass, ClassLoader loader, boolean successful, String detail) record the fact that a rule has been compiled with or without successbooleanRuleScript.recordTransform(ClassLoader loader, String internalClassName, String triggerMethodName, String desc, Rule rule, Throwable th) record the fact that a trigger call has succeeded or else failed to install into bytecode associated with a specific class and loadervoidTransformSet.setInstalled(Rule key) voidHelperManager.uninstalled(Rule rule) perform install processing for a rulevoidHelperManager.uninstalled(Rule rule, Class<?> helperClass) Constructors in org.jboss.byteman.agent with parameters of type Rule -
Uses of Rule in org.jboss.byteman.agent.adapter
Fields in org.jboss.byteman.agent.adapter declared as RuleConstructors in org.jboss.byteman.agent.adapter with parameters of type RuleModifierConstructorDescriptionRuleGeneratorAdapter(org.objectweb.asm.MethodVisitor mv, TransformContext transformContext, int access, String name, String desc, Rule rule) Creates a newRuleGeneratorAdapter.RuleMethodAdapter(org.objectweb.asm.MethodVisitor mv, TransformContext transformContext, int access, String name, String desc, Rule rule) -
Uses of Rule in org.jboss.byteman.check
Methods in org.jboss.byteman.check with parameters of type RuleModifier and TypeMethodDescriptionintRuleCheck.installParamTypes(Rule rule, String targetClassName, int access, String candidateName, String candidateDesc) private voidRuleCheck.typeCheckAgainstMethodDeclaration(Rule rule, RuleScript script, Class targetClass, ClassLoader loader) -
Uses of Rule in org.jboss.byteman.contrib.dtest
Constructors in org.jboss.byteman.contrib.dtest with parameters of type Rule -
Uses of Rule in org.jboss.byteman.rule
Fields in org.jboss.byteman.rule declared as RuleFields in org.jboss.byteman.rule with type parameters of type RuleModifier and TypeFieldDescriptionRule.ruleKeyMapa hash map used to identify rules from their keysMethods in org.jboss.byteman.rule that return RuleModifier and TypeMethodDescriptionstatic RuleRule.create(RuleScript ruleScript, ClassLoader loader, HelperManager helperManager, AccessEnabler accessEnabler) Methods in org.jboss.byteman.rule with parameters of type RuleModifier and TypeMethodDescriptionstatic Actionstatic Actionstatic Conditionstatic Conditionstatic Eventstatic EventConstructors in org.jboss.byteman.rule with parameters of type RuleModifierConstructorDescriptionprotectedprotectedprotectedprotectedprotectedprotectedprotectedRuleElement(Rule rule) -
Uses of Rule in org.jboss.byteman.rule.binding
Constructors in org.jboss.byteman.rule.binding with parameters of type Rule -
Uses of Rule in org.jboss.byteman.rule.compiler
Methods in org.jboss.byteman.rule.compiler with parameters of type RuleModifier and TypeMethodDescriptionprivate static byte[]Compiler.compileBytes(Rule rule, Class helperClass, String helperName, String compiledHelperName, boolean compileToBytecode) static ClassCompiler.getHelperAdapter(Rule rule, Class helperClass, String compiledHelperName, boolean compileToBytecode) -
Uses of Rule in org.jboss.byteman.rule.expression
Fields in org.jboss.byteman.rule.expression declared as RuleMethods in org.jboss.byteman.rule.expression with parameters of type RuleModifier and TypeMethodDescriptionstatic ArrayInitExpressionExpressionHelper.createArrayInitExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type) static AssignableExpressionExpressionHelper.createAssignableExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type) static ExpressionExpressionHelper.createBinaryExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type) static ExpressionExpressionHelper.createCallExpression(Rule rule, Bindings bindings, ParseNode selectorTree, ParseNode recipientTree, ParseNode argTree, Type type) static ClassLiteralExpressionExpressionHelper.createClassLiteralExpression(Rule rule, Bindings bindings, ParseNode pathTree, Type type) static ExpressionExpressionHelper.createExpression(Rule rule, Bindings bindings, ParseNode exprTree) static ExpressionExpressionHelper.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 AssignableExpressionExpressionHelper.createFieldExpression(Rule rule, Bindings bindings, ParseNode fieldTree, ParseNode targetTree, Type type) static List<Expression> ExpressionHelper.createNewArrayDimsList(Rule rule, Bindings bindings, ParseNode exprTree) static ExpressionExpressionHelper.createNewExpression(Rule rule, Bindings bindings, ParseNode typeNameTree, ParseNode argTree, ParseNode arrayDimsTree) static ExpressionExpressionHelper.createTernaryExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type) static ExpressionExpressionHelper.createThrowExpression(Rule rule, Bindings bindings, ParseNode typeNameTree, ParseNode argTree) static ExpressionExpressionHelper.createUnaryExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type) Constructors in org.jboss.byteman.rule.expression with parameters of type RuleModifierConstructorDescriptionArithmeticExpression(Rule rule, int oper, ParseNode token, Expression left, Expression right) ArrayExpression(Rule rule, Type type, ParseNode token, Expression arrayRef, List<Expression> idxList) ArrayInitExpression(Rule rule, Type type, ParseNode token, List<Expression> elements) protectedAssignableExpression(Rule rule, Type type, ParseNode token) Create a new expression.AssignExpression(Rule rule, ParseNode token, AssignableExpression left, Expression right) BinaryOperExpression(Rule rule, int oper, Type type, ParseNode token, Expression operand1, Expression operand2) BitExpression(Rule rule, int oper, ParseNode token, Expression left, Expression right) BooleanExpression(Rule rule, int oper, ParseNode token, Expression left, Expression right) BooleanLiteral(Rule rule, ParseNode token) ClassLiteralExpression(Rule rule, Type type, ParseNode pathTree, String[] pathList) ComparisonExpression(Rule rule, int oper, ParseNode token, Expression left, Expression right) ConditionalEvalExpression(Rule rule, Type type, ParseNode token, Expression cond, Expression if_expr, Expression else_expr) DollarExpression(Rule rule, Type type, ParseNode token, int index) constructor for param bindings or special bindingsDollarExpression(Rule rule, Type type, ParseNode token, String name) constructor for local var bindingsprotectedExpression(Rule rule, Type type, ParseNode token) Create a new expression.FieldExpression(Rule rule, Type type, ParseNode fieldTree, String fieldName, Expression owner, String[] pathList) InstanceOfExpression(Rule rule, int oper, ParseNode token, Expression left, ClassLiteralExpression right) LogicalExpression(Rule rule, int oper, ParseNode token, Expression left, Expression right) MethodExpression(Rule rule, Type type, ParseNode token, Expression recipient, List<Expression> arguments, String[] pathList) MinusExpression(Rule rule, ParseNode token, Expression operand) NewExpression(Rule rule, ParseNode token, List<Expression> arguments, List<Expression> arraySizes, ArrayInitExpression arrayInits) NotExpression(Rule rule, ParseNode token, Expression operand) NullLiteral(Rule rule, ParseNode token) NumericLiteral(Rule rule, Type type, ParseNode token) (package private)OperExpression(Rule rule, int oper, Type type, ParseNode token) PlusExpression(Rule rule, ParseNode token, Expression left, Expression right) ReturnExpression(Rule rule, ParseNode token, Expression returnValue) ShiftExpression(Rule rule, int oper, ParseNode token, Expression left, Expression right) StringLiteral(Rule rule, ParseNode token) StringPlusExpression(Rule rule, ParseNode token, Expression left, Expression right) TernaryOperExpression(Rule rule, int oper, Type type, ParseNode token, Expression operand1, Expression operand2, Expression operand3) ThrowExpression(Rule rule, ParseNode token, List<Expression> arguments) TwiddleExpression(Rule rule, ParseNode token, Expression operand) UnaryOperExpression(Rule rule, int oper, Type type, ParseNode token, Expression operand) -
Uses of Rule in org.jboss.byteman.rule.helper
Fields in org.jboss.byteman.rule.helper declared as RuleMethods in org.jboss.byteman.rule.helper with parameters of type RuleConstructors in org.jboss.byteman.rule.helper with parameters of type Rule -
Uses of Rule in org.jboss.byteman.sample.helper
Methods in org.jboss.byteman.sample.helper with parameters of type RuleConstructors in org.jboss.byteman.sample.helper with parameters of type RuleModifierConstructorDescriptionconstructor allowing this helper to be used as a helperPeriodicHelper(Rule rule) protectedprotectedThreadMonitorHelper(Rule rule)