Uses of Class
org.jboss.byteman.rule.exception.TypeException
Packages that use TypeException
Package
Description
-
Uses of TypeException in org.jboss.byteman.rule
Methods in org.jboss.byteman.rule that throw TypeExceptionModifier and TypeMethodDescriptionprivate void
Event.addBinding
(Bindings bindings, ParseNode bindingTree) static Action
static Action
static Condition
static Condition
static Event
static Event
static Rule
Rule.create
(RuleScript ruleScript, ClassLoader loader, HelperManager helperManager, AccessEnabler accessEnabler) Event.createBinding
(ParseNode varTree) private void
Event.createBindings
(ParseNode eventTree) private void
Rule.ensureHelperClass()
method called at start of type check to ensure helper class can be loadedprivate void
Rule.installParameters
(boolean isStatic, String className) void
void
Rule.setCondition
(String conditionSpec) void
private void
void
Rule.typeCheck()
type check this ruleabstract Type
Constructors in org.jboss.byteman.rule that throw TypeExceptionModifierConstructorDescriptionprotected
protected
protected
private
Rule
(RuleScript ruleScript, ClassLoader loader, HelperManager helperManager, AccessEnabler accessEnabler) -
Uses of TypeException in org.jboss.byteman.rule.binding
Methods in org.jboss.byteman.rule.binding that throw TypeExceptionModifier and TypeMethodDescriptionprivate void
Binding.resolveUnknownAgainstDerived
(Type derived) -
Uses of TypeException in org.jboss.byteman.rule.exception
Subclasses of TypeException in org.jboss.byteman.rule.exceptionModifier and TypeClassDescriptionclass
A sepcialization of TypeException which can be thrown during type checking to indicate that a rule has failed to type check for a legitimate reason. -
Uses of TypeException in org.jboss.byteman.rule.expression
Methods in org.jboss.byteman.rule.expression that throw TypeExceptionModifier and TypeMethodDescriptionvoid
ArrayExpression.bind()
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possiblevoid
ArrayInitExpression.bind()
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possiblevoid
AssignExpression.bind()
void
BinaryOperExpression.bind()
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possiblevoid
ClassLiteralExpression.bind()
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possiblevoid
DollarExpression.bind()
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possiblevoid
DollarExpression.bind
(boolean isUpdateable) abstract void
Expression.bind()
verify that variables mentioned in this expression are actually available in the rule bindings listvoid
FieldExpression.bind()
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possiblevoid
MethodExpression.bind()
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possiblevoid
NewExpression.bind()
verify that variables mentioned in this expression are actually available in the supplied bindings listvoid
NumericLiteral.bind()
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possiblevoid
ReturnExpression.bind()
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possiblevoid
StaticExpression.bind()
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possiblevoid
TernaryOperExpression.bind()
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possiblevoid
ThrowExpression.bind()
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possiblevoid
UnaryOperExpression.bind()
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possiblevoid
Variable.bind()
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possibleprivate boolean
Variable.bind
(boolean isUpdateable) void
ArrayExpression.bindAssign()
abstract void
AssignableExpression.bindAssign()
bind as an assignable expression.void
DollarExpression.bindAssign()
verify that variables mentioned in this expression are actually available in the supplied bindings list.void
FieldExpression.bindAssign()
treat this as a normal bind because an update to a field reference does not update any bindingsvoid
StaticExpression.bindAssign()
treat this as a normal bind because an update to a field reference does not update any bindingsvoid
Variable.bindAssign()
verify that variables mentioned in this expression are actually available in the supplied bindings list.private void
FieldExpression.checkIndirectStatic()
private void
ThrowExpression.checkThrownTypeIsValid()
check that it is legitimate to throw an exception of the type computed for this expression from the trtiggering method.static ArrayInitExpression
ExpressionHelper.createArrayInitExpression
(Rule rule, Bindings bindings, ParseNode exprTree, Type type) 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 ClassLiteralExpression
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 List
<Expression> ExpressionHelper.createNewArrayDimsList
(Rule rule, Bindings bindings, ParseNode exprTree) static Expression
ExpressionHelper.createNewExpression
(Rule rule, Bindings bindings, ParseNode typeNameTree, ParseNode argTree, ParseNode arrayDimsTree) Class<?>[]
ThrowExpression.createParamTypes
(String descriptor, ClassLoader loader) 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) private void
MethodExpression.findMethod
(boolean publicOnly, Type expected) find a method to resolve this method call expression.abstract Type
ensure that all type references in the expression and its component expressions can be resolved, that the type of the expression is well-defined and that it is compatible with the type expected in the context in which it occurs.ensure that all type references in the expression and its component expressions can be resolved, that the type of the expression is well-defined and that it is compatible with the type expected in the context in which it occurs.ensure that all type references in the expression and its component expressions can be resolved, that the type of the expression is well-defined and that it is compatible with the type expected in the context in which it occurs.ensure that all type references in the expression and its component expressions can be resolved, that the type of the expression is well-defined and that it is compatible with the type expected in the context in which it occurs.private void
ArrayExpression.typeCheckAny()
private void
FieldExpression.typeCheckAny
(boolean isAssign) void
StaticExpression.typeCheckAny
(boolean isAssign) void
Variable.typeCheckAny()
ArrayExpression.typeCheckAssign
(Type expected) abstract Type
AssignableExpression.typeCheckAssign
(Type expected) typecheck the expression as an lvalue of an assignment operationDollarExpression.typeCheckAssign
(Type expected) FieldExpression.typeCheckAssign
(Type expected) StaticExpression.typeCheckAssign
(Type expected) Variable.typeCheckAssign
(Type expected) Constructors in org.jboss.byteman.rule.expression that throw TypeExceptionModifierConstructorDescriptionArithmeticExpression
(Rule rule, int oper, ParseNode token, Expression left, Expression right) BitExpression
(Rule rule, int oper, ParseNode token, Expression left, Expression right) ShiftExpression
(Rule rule, int oper, ParseNode token, Expression left, Expression right) -
Uses of TypeException in org.jboss.byteman.rule.type
Methods in org.jboss.byteman.rule.type that throw TypeException