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 voidEvent.addBinding(Bindings bindings, ParseNode bindingTree) static Actionstatic Actionstatic Conditionstatic Conditionstatic Eventstatic Eventstatic RuleRule.create(RuleScript ruleScript, ClassLoader loader, HelperManager helperManager, AccessEnabler accessEnabler) Event.createBinding(ParseNode varTree) private voidEvent.createBindings(ParseNode eventTree) private voidRule.ensureHelperClass()method called at start of type check to ensure helper class can be loadedprivate voidRule.installParameters(boolean isStatic, String className) voidvoidRule.setCondition(String conditionSpec) voidprivate voidvoidRule.typeCheck()type check this ruleabstract TypeConstructors in org.jboss.byteman.rule that throw TypeExceptionModifierConstructorDescriptionprotectedprotectedprotectedprivateRule(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 voidBinding.resolveUnknownAgainstDerived(Type derived) -
Uses of TypeException in org.jboss.byteman.rule.exception
Subclasses of TypeException in org.jboss.byteman.rule.exceptionModifier and TypeClassDescriptionclassA 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 TypeMethodDescriptionvoidArrayExpression.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 possiblevoidArrayInitExpression.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 possiblevoidAssignExpression.bind()voidBinaryOperExpression.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 possiblevoidClassLiteralExpression.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 possiblevoidDollarExpression.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 possiblevoidDollarExpression.bind(boolean isUpdateable) abstract voidExpression.bind()verify that variables mentioned in this expression are actually available in the rule bindings listvoidFieldExpression.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 possiblevoidMethodExpression.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 possiblevoidNewExpression.bind()verify that variables mentioned in this expression are actually available in the supplied bindings listvoidNumericLiteral.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 possiblevoidReturnExpression.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 possiblevoidStaticExpression.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 possiblevoidTernaryOperExpression.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 possiblevoidThrowExpression.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 possiblevoidUnaryOperExpression.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 possiblevoidVariable.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 booleanVariable.bind(boolean isUpdateable) voidArrayExpression.bindAssign()abstract voidAssignableExpression.bindAssign()bind as an assignable expression.voidDollarExpression.bindAssign()verify that variables mentioned in this expression are actually available in the supplied bindings list.voidFieldExpression.bindAssign()treat this as a normal bind because an update to a field reference does not update any bindingsvoidStaticExpression.bindAssign()treat this as a normal bind because an update to a field reference does not update any bindingsvoidVariable.bindAssign()verify that variables mentioned in this expression are actually available in the supplied bindings list.private voidFieldExpression.checkIndirectStatic()private voidThrowExpression.checkThrownTypeIsValid()check that it is legitimate to throw an exception of the type computed for this expression from the trtiggering method.static 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) Class<?>[]ThrowExpression.createParamTypes(String descriptor, ClassLoader loader) 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) private voidMethodExpression.findMethod(boolean publicOnly, Type expected) find a method to resolve this method call expression.abstract Typeensure 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 voidArrayExpression.typeCheckAny()private voidFieldExpression.typeCheckAny(boolean isAssign) voidStaticExpression.typeCheckAny(boolean isAssign) voidVariable.typeCheckAny()ArrayExpression.typeCheckAssign(Type expected) abstract TypeAssignableExpression.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