Package | Description |
---|---|
org.jboss.byteman.rule.binding | |
org.jboss.byteman.rule.expression |
Modifier and Type | Method and Description |
---|---|
Expression |
Binding.getValue() |
Expression |
Binding.setValue(Expression value) |
Modifier and Type | Method and Description |
---|---|
Expression |
Binding.setValue(Expression value) |
Constructor and Description |
---|
Binding(Rule rule,
String name,
Type type,
Expression value) |
Modifier and Type | Class and Description |
---|---|
class |
ArithmeticExpression
A binary arithmetic operator expression
|
class |
ArrayExpression
an expression which identifies an array reference.
|
class |
AssignableExpression
an expression which can appear on the left hand side of an assignment expression as well as in any
other expression context.
|
class |
AssignExpression
A binary string concatenation operator expression
|
class |
BinaryOperExpression
binary operators includes arithmetic and comparison operators
|
class |
BitExpression
A binary arithmetic operator expression
|
class |
BooleanExpression
A binary arithmetic operator expression
|
class |
BooleanLiteral
A binary logical operator expression
|
class |
ClassLiteralExpression
Clas modelling a class literal of the form foo.bar.baz.Mumble.class
|
class |
ComparisonExpression
A binary comparison operator expression
|
class |
ConditionalEvalExpression
expression representing a ternary conditional evaluation (cond ? if_expr : else_expr)
|
class |
DollarExpression
an expression which refers either to a builtin variable or to a bound parameter of the
triggering method for an ECA rule.
|
class |
FieldExpression
an expression which identifies an instance field reference
|
class |
LogicalExpression
A binary logical operator expression
|
class |
MethodExpression
an expression which identifies a method invocation
|
class |
MinusExpression |
class |
NewExpression
Expression which implements a new operation.
|
class |
NotExpression |
class |
NullLiteral
an expression which identifies a null value
|
class |
NumericLiteral |
class |
OperExpression
generic operator expression subsumes unary, binary and ternary operators
|
class |
PlusExpression
A plus operator expression which handles the case where we do not know the type of the first
operand.
|
class |
ReturnExpression
A return expression which is used in a rule action to cause a return from the rule trigger
method, supplying a return value where appropriate.
|
class |
ShiftExpression
A binary arithmetic operator expression
|
class |
StaticExpression
an expression which identifies a static field reference
|
class |
StringLiteral
an expression which identifies a character string.
|
class |
StringPlusExpression
A binary string concatenation operator expression
|
class |
TernaryOperExpression
ternary operators includes conditional evaluation operator 'cond ? if_expr : else_expr'
|
class |
ThrowExpression
Expression which implements a throw from a rule action but only where the thrown exception is
declared by the trigger method or is a runtime exception which does nto need ot be declared
|
class |
TwiddleExpression |
class |
UnaryOperExpression
unary operators includes boolean NOT and arithmetic TWIDDLE
n.b.
|
class |
Variable
an expression which identifies a variable occurring either as an LVALUE on the LHS of an event
binding in the rule's event or as an RVALUE mentioned in the RHS of an event binding or in thre
rule's conditon or action.
|
Modifier and Type | Method and Description |
---|---|
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 Expression |
ExpressionHelper.createNewExpression(Rule rule,
Bindings bindings,
ParseNode typeNameTree,
ParseNode argTree,
ParseNode arrayDimsTree) |
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) |
Expression |
UnaryOperExpression.getOperand(int index)
return the operand with the given index or null if the index is out of range
|
Expression |
BinaryOperExpression.getOperand(int index)
return the operand with the given index or null if the index is out of range
|
abstract Expression |
OperExpression.getOperand(int index)
return the operand with the given index or null if the index is out of range
|
Expression |
TernaryOperExpression.getOperand(int index)
return the operand with the given index or null if the index is out of range
|
Modifier and Type | Method and Description |
---|---|
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 List<Expression> |
ExpressionHelper.createNewExpressionIndexList(Rule rule,
Bindings bindings,
ParseNode exprTree) |
Constructor and Description |
---|
ArrayExpression(Rule rule,
Type type,
ParseNode token,
Expression arrayRef,
List<Expression> idxList) |
MethodExpression(Rule rule,
Type type,
ParseNode token,
Expression recipient,
List<Expression> arguments,
String[] pathList) |
NewExpression(Rule rule,
ParseNode token,
List<Expression> arguments,
List<Expression> arraySizes) |
NewExpression(Rule rule,
ParseNode token,
List<Expression> arguments,
List<Expression> arraySizes) |
ThrowExpression(Rule rule,
ParseNode token,
List<Expression> arguments) |
Copyright © 2021. All Rights Reserved.