Uses of Class
org.jboss.byteman.rule.type.Type
Packages that use Type
Package
Description
-
Uses of Type in org.jboss.byteman.rule
Fields in org.jboss.byteman.rule declared as TypeModifier and TypeFieldDescriptionprivate Type
Rule.returnType
return type of the rule's trigger methodMethods in org.jboss.byteman.rule that return TypeModifier and TypeMethodDescriptionprivate Type
Event.getBindingType
(ParseNode typeTree) create and return a type for a binding or return null if the type cannot be createdRule.getReturnType()
abstract Type
Methods in org.jboss.byteman.rule with parameters of type TypeModifier and TypeMethodDescriptionprotected Object
boolean
Rule.requiresAccess
(Type type) abstract Type
-
Uses of Type in org.jboss.byteman.rule.binding
Fields in org.jboss.byteman.rule.binding declared as TypeMethods in org.jboss.byteman.rule.binding that return TypeMethods in org.jboss.byteman.rule.binding with parameters of type TypeModifier and TypeMethodDescriptionprivate void
Binding.resolveUnknownAgainstDerived
(Type derived) void
Constructors in org.jboss.byteman.rule.binding with parameters of type Type -
Uses of Type in org.jboss.byteman.rule.compiler
Methods in org.jboss.byteman.rule.compiler with parameters of type TypeModifier and TypeMethodDescriptionvoid
CompileContext.compileBooleanConversion
(Type fromType, Type toType) void
CompileContext.compileBox
(Type toType) box a value belonging to a primitive typevoid
CompileContext.compileCheckCast
(Type toType) void
CompileContext.compileNumericConversion
(Type fromType, Type toType) void
CompileContext.compileObjectConversion
(Type fromType, Type toType) void
CompileContext.compilePrimitiveConversion
(Type fromType, Type toType) compile code to convert a numeric or character primitive to a numeric or character primitivevoid
CompileContext.compileStringConversion
(Type fromType, Type toType) void
CompileContext.compileTypeConversion
(Type fromType, Type toType) void
CompileContext.compileUnbox
(Type fromType, Type toType) compile code to convert a value of a boxed type to a primitive type, possibly not the immediately related primitive type -
Uses of Type in org.jboss.byteman.rule.expression
Fields in org.jboss.byteman.rule.expression declared as TypeModifier and TypeFieldDescriptionprivate Type
ComparisonExpression.comparisonType
private Type
ClassLiteralExpression.ownerType
private Type
FieldExpression.ownerType
private Type
StaticExpression.ownerType
private Type
MethodExpression.rootType
protected Type
Expression.type
Fields in org.jboss.byteman.rule.expression with type parameters of type TypeModifier and TypeFieldDescriptionMethodExpression.argumentTypes
NewExpression.argumentTypes
ThrowExpression.argumentTypes
MethodExpression.paramTypes
NewExpression.paramTypes
ThrowExpression.paramTypes
Methods in org.jboss.byteman.rule.expression that return TypeModifier and TypeMethodDescriptionExpression.getType()
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.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) Methods in org.jboss.byteman.rule.expression with parameters of type TypeModifier and TypeMethodDescriptionMethodExpression.bestMatchCandidate
(List<Method> candidates, Type expected) return the method whose signature is the best fit for the call argument types.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, Type type) 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.createTernaryExpression
(Rule rule, Bindings bindings, ParseNode exprTree, Type type) 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.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 with parameters of type TypeModifierConstructorDescriptionArrayExpression
(Rule rule, Type type, ParseNode token, Expression arrayRef, List<Expression> idxList) ArrayInitExpression
(Rule rule, Type type, ParseNode token, List<Expression> elements) protected
AssignableExpression
(Rule rule, Type type, ParseNode token) Create a new expression.BinaryOperExpression
(Rule rule, int oper, Type type, ParseNode token, Expression operand1, Expression operand2) ClassLiteralExpression
(Rule rule, Type type, ParseNode pathTree, String[] pathList) 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 bindingsprotected
Expression
(Rule rule, Type type, ParseNode token) Create a new expression.FieldExpression
(Rule rule, Type type, ParseNode fieldTree, String fieldName, Expression owner, String[] pathList) MethodExpression
(Rule rule, Type type, ParseNode token, Expression recipient, List<Expression> arguments, String[] pathList) NumericLiteral
(Rule rule, Type type, ParseNode token) (package private)
OperExpression
(Rule rule, int oper, Type type, ParseNode token) TernaryOperExpression
(Rule rule, int oper, Type type, ParseNode token, Expression operand1, Expression operand2, Expression operand3) UnaryOperExpression
(Rule rule, int oper, Type type, ParseNode token, Expression operand) -
Uses of Type in org.jboss.byteman.rule.type
Fields in org.jboss.byteman.rule.type declared as TypeModifier and TypeFieldDescriptionprivate Type
Type.aliasFor
private Type
Type.arrayType
static final Type
Type.B
private Type
Type.baseType
static final Type
Type.BOOLEAN
static final Type
Type.BYTE
static final Type
Type.C
static final Type
Type.CHARACTER
static final Type
Type.D
static final Type
Type.DOUBLE
static final Type
Type.F
static final Type
Type.FLOAT
static final Type
Type.I
static final Type
Type.INTEGER
static final Type
Type.J
static final Type
Type.LONG
static final Type
Type.N
static final Type
Type.NUMBER
static final Type
Type.OBJECT
static final Type
Type.S
static final Type
Type.SHORT
static final Type
Type.STRING
static final Type
Type.UNDEFINED
static final Type
Type.VOID
static final Type
Type.Z
Fields in org.jboss.byteman.rule.type with type parameters of type TypeModifier and TypeFieldDescriptionType.boxedTypes
Type.boxedTypes
Type.builtinTypes
TypeGroup.exceptionTypes
Type.primitiveTypes
TypeGroup.typeTable
Methods in org.jboss.byteman.rule.type that return TypeModifier and TypeMethodDescriptionType.arrayType()
create an array type from this base typecreate an array type from this base typestatic Type
return the primitive type whose boxed equivalent is associated with a given classstatic Type
return the primitive type for a boxed type or vice versastatic Type
Type.builtinType
(Class clazz) return the builtin type associated with a given classcreate a type with a given name or return an existing type if the supplied name can be matched.create a type with a given name and class or return an existing type if the supplied name and class can be matched.TypeGroup.createArray
(Type baseType) static Type
Type.dereference
(Type target) dereference an object type to the fully qualified named type to which it is aliased where such an alias has been found to exist or return the supplied type if no alias exists or the type is a non-objecttype or was originally specified using a fully qualified type name.TypeGroup.ensureType
(Class clazz) Type.getBaseType()
retrieve the base type for an array type or null if this is not an array typelookup a type by name dereferencing it to its fully qualified type if that existsstatic Type
compute the type to which a binary arithmetic operator should promote its operands before combination based on the two operand types which is also the type to be used for the result of the operationMethods in org.jboss.byteman.rule.type that return types with arguments of type TypeMethods in org.jboss.byteman.rule.type with parameters of type TypeModifier and TypeMethodDescriptionboolean
attempt to establish an alias from an package unqualified named object type to a package qualified named object type whose unqualified name equals this type's namestatic Type
return the primitive type for a boxed type or vice versaprivate boolean
TypeGroup.checkAlias
(Type type) if the supplied type has a package qualified name ensure that any existing entry with the unqualified name is aliased to it or else add an entry with an unqualified name as an alias for it.TypeGroup.createArray
(Type baseType) static Type
Type.dereference
(Type target) dereference an object type to the fully qualified named type to which it is aliased where such an alias has been found to exist or return the supplied type if no alias exists or the type is a non-objecttype or was originally specified using a fully qualified type name.boolean
Type.isAssignableFrom
(Type type) check whether this type can be assigned with values of the supplied type including the case where numeric conversion from known or unknown numeric types but excluding any other cases where this type is undefined n.b.static Type
compute the type to which a binary arithmetic operator should promote its operands before combination based on the two operand types which is also the type to be used for the result of the operationConstructors in org.jboss.byteman.rule.type with parameters of type Type