Uses of Class
org.jboss.byteman.rule.type.Type
-
Packages that use Type Package Description org.jboss.byteman.rule org.jboss.byteman.rule.binding org.jboss.byteman.rule.compiler org.jboss.byteman.rule.expression org.jboss.byteman.rule.type -
-
Uses of Type in org.jboss.byteman.rule
Fields in org.jboss.byteman.rule declared as Type Modifier and Type Field Description private TypeRule. returnTypereturn type of the rule's trigger methodMethods in org.jboss.byteman.rule that return Type Modifier and Type Method Description private TypeEvent. getBindingType(ParseNode typeTree)create and return a type for a binding or return null if the type cannot be createdTypeRule. getReturnType()TypeAction. typeCheck(Type expected)TypeCondition. typeCheck(Type expected)TypeEvent. typeCheck(Type expected)abstract TypeRuleElement. typeCheck(Type expected)Methods in org.jboss.byteman.rule with parameters of type Type Modifier and Type Method Description protected java.lang.ObjectRuleElement. rebox(Type fromType, Type toType, java.lang.Object value)booleanRule. requiresAccess(Type type)TypeAction. typeCheck(Type expected)TypeCondition. typeCheck(Type expected)TypeEvent. typeCheck(Type expected)abstract TypeRuleElement. typeCheck(Type expected) -
Uses of Type in org.jboss.byteman.rule.binding
Fields in org.jboss.byteman.rule.binding declared as Type Modifier and Type Field Description private TypeBinding. typeMethods in org.jboss.byteman.rule.binding that return Type Modifier and Type Method Description TypeBinding. getType()TypeBinding. typeCheck(Type expected)Methods in org.jboss.byteman.rule.binding with parameters of type Type Modifier and Type Method Description private voidBinding. resolveUnknownAgainstDerived(Type derived)voidBinding. setType(Type type)TypeBinding. typeCheck(Type expected)Constructors in org.jboss.byteman.rule.binding with parameters of type Type Constructor Description Binding(Rule rule, java.lang.String name, Type type)Binding(Rule rule, java.lang.String name, Type type, Expression value) -
Uses of Type in org.jboss.byteman.rule.compiler
Methods in org.jboss.byteman.rule.compiler with parameters of type Type Modifier and Type Method Description voidCompileContext. compileBooleanConversion(Type fromType, Type toType)voidCompileContext. compileBox(Type toType)box a value belonging to a primitive typevoidCompileContext. compileCheckCast(Type toType)voidCompileContext. compileNumericConversion(Type fromType, Type toType)voidCompileContext. compileObjectConversion(Type fromType, Type toType)voidCompileContext. compilePrimitiveConversion(Type fromType, Type toType)compile code to convert a numeric or character primitive to a numeric or character primitivevoidCompileContext. compileStringConversion(Type fromType, Type toType)voidCompileContext. compileTypeConversion(Type fromType, Type toType)voidCompileContext. 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 Type Modifier and Type Field Description private TypeComparisonExpression. comparisonTypeprivate TypeClassLiteralExpression. ownerTypeprivate TypeFieldExpression. ownerTypeprivate TypeStaticExpression. ownerTypeprivate TypeMethodExpression. rootTypeprotected TypeExpression. typeFields in org.jboss.byteman.rule.expression with type parameters of type Type Modifier and Type Field Description private java.util.List<Type>MethodExpression. argumentTypesprivate java.util.List<Type>NewExpression. argumentTypesprivate java.util.List<Type>ThrowExpression. argumentTypesprivate java.util.List<Type>MethodExpression. paramTypesprivate java.util.List<Type>NewExpression. paramTypesprivate java.util.List<Type>ThrowExpression. paramTypesMethods in org.jboss.byteman.rule.expression that return Type Modifier and Type Method Description TypeExpression. getType()TypeArithmeticExpression. typeCheck(Type expected)TypeArrayExpression. typeCheck(Type expected)TypeArrayInitExpression. typeCheck(Type expected)TypeAssignExpression. typeCheck(Type expected)TypeBitExpression. typeCheck(Type expected)TypeBooleanLiteral. typeCheck(Type expected)TypeClassLiteralExpression. typeCheck(Type expected)TypeComparisonExpression. typeCheck(Type expected)TypeConditionalEvalExpression. typeCheck(Type expected)TypeDollarExpression. typeCheck(Type expected)abstract TypeExpression. typeCheck(Type expected)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.TypeFieldExpression. typeCheck(Type expected)TypeLogicalExpression. typeCheck(Type expected)TypeMethodExpression. typeCheck(Type expected)TypeMinusExpression. typeCheck(Type expected)TypeNewExpression. typeCheck(Type expected)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.TypeNotExpression. typeCheck(Type expected)TypeNullLiteral. typeCheck(Type expected)TypeNumericLiteral. typeCheck(Type expected)TypePlusExpression. typeCheck(Type expected)TypeReturnExpression. typeCheck(Type expected)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.TypeShiftExpression. typeCheck(Type expected)TypeStaticExpression. typeCheck(Type expected)TypeStringLiteral. typeCheck(Type expected)TypeStringPlusExpression. typeCheck(Type expected)TypeThrowExpression. typeCheck(Type expected)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.TypeTwiddleExpression. typeCheck(Type expected)TypeVariable. typeCheck(Type expected)TypeArrayExpression. typeCheckAssign(Type expected)abstract TypeAssignableExpression. typeCheckAssign(Type expected)typecheck the expression as an lvalue of an assignment operationTypeDollarExpression. typeCheckAssign(Type expected)TypeFieldExpression. typeCheckAssign(Type expected)TypeStaticExpression. typeCheckAssign(Type expected)TypeVariable. typeCheckAssign(Type expected)Methods in org.jboss.byteman.rule.expression with parameters of type Type Modifier and Type Method Description java.lang.reflect.MethodMethodExpression. bestMatchCandidate(java.util.List<java.lang.reflect.Method> candidates, Type expected)return the method whose signature is the best fit for the call argument types.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 ExpressionExpressionHelper. createClassLiteralExpression(Rule rule, Bindings bindings, ParseNode pathTree, Type type)static ExpressionExpressionHelper. createExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type)static java.util.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 ExpressionExpressionHelper. createTernaryExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type)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.TypeArithmeticExpression. typeCheck(Type expected)TypeArrayExpression. typeCheck(Type expected)TypeArrayInitExpression. typeCheck(Type expected)TypeAssignExpression. typeCheck(Type expected)TypeBitExpression. typeCheck(Type expected)TypeBooleanLiteral. typeCheck(Type expected)TypeClassLiteralExpression. typeCheck(Type expected)TypeComparisonExpression. typeCheck(Type expected)TypeConditionalEvalExpression. typeCheck(Type expected)TypeDollarExpression. typeCheck(Type expected)abstract TypeExpression. typeCheck(Type expected)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.TypeFieldExpression. typeCheck(Type expected)TypeLogicalExpression. typeCheck(Type expected)TypeMethodExpression. typeCheck(Type expected)TypeMinusExpression. typeCheck(Type expected)TypeNewExpression. typeCheck(Type expected)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.TypeNotExpression. typeCheck(Type expected)TypeNullLiteral. typeCheck(Type expected)TypeNumericLiteral. typeCheck(Type expected)TypePlusExpression. typeCheck(Type expected)TypeReturnExpression. typeCheck(Type expected)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.TypeShiftExpression. typeCheck(Type expected)TypeStaticExpression. typeCheck(Type expected)TypeStringLiteral. typeCheck(Type expected)TypeStringPlusExpression. typeCheck(Type expected)TypeThrowExpression. typeCheck(Type expected)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.TypeTwiddleExpression. typeCheck(Type expected)TypeVariable. typeCheck(Type expected)TypeArrayExpression. typeCheckAssign(Type expected)abstract TypeAssignableExpression. typeCheckAssign(Type expected)typecheck the expression as an lvalue of an assignment operationTypeDollarExpression. typeCheckAssign(Type expected)TypeFieldExpression. typeCheckAssign(Type expected)TypeStaticExpression. typeCheckAssign(Type expected)TypeVariable. typeCheckAssign(Type expected)Constructors in org.jboss.byteman.rule.expression with parameters of type Type Constructor Description ArrayExpression(Rule rule, Type type, ParseNode token, Expression arrayRef, java.util.List<Expression> idxList)ArrayInitExpression(Rule rule, Type type, ParseNode token, java.util.List<Expression> elements)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, java.lang.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, java.lang.String name)constructor for local var bindingsExpression(Rule rule, Type type, ParseNode token)Create a new expression.FieldExpression(Rule rule, Type type, ParseNode fieldTree, java.lang.String fieldName, Expression owner, java.lang.String[] pathList)MethodExpression(Rule rule, Type type, ParseNode token, Expression recipient, java.util.List<Expression> arguments, java.lang.String[] pathList)NumericLiteral(Rule rule, Type type, ParseNode token)OperExpression(Rule rule, int oper, Type type, ParseNode token)StaticExpression(Rule rule, Type type, ParseNode token, java.lang.String fieldName, java.lang.String ownerTypeName)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)Variable(Rule rule, Type type, ParseNode token)Variable(Rule rule, Type type, ParseNode token, java.lang.String name) -
Uses of Type in org.jboss.byteman.rule.type
Fields in org.jboss.byteman.rule.type declared as Type Modifier and Type Field Description private TypeType. aliasForprivate TypeType. arrayTypestatic TypeType. Bprivate TypeType. baseTypestatic TypeType. BOOLEANstatic TypeType. BYTEstatic TypeType. Cstatic TypeType. CHARACTERstatic TypeType. Dstatic TypeType. DOUBLEstatic TypeType. Fstatic TypeType. FLOATstatic TypeType. Istatic TypeType. INTEGERstatic TypeType. Jstatic TypeType. LONGstatic TypeType. Nstatic TypeType. NUMBERstatic TypeType. OBJECTstatic TypeType. Sstatic TypeType. SHORTstatic TypeType. STRINGstatic TypeType. UNDEFINEDstatic TypeType. VOIDstatic TypeType. ZFields in org.jboss.byteman.rule.type with type parameters of type Type Modifier and Type Field Description private static java.util.HashMap<Type,Type>Type. boxedTypesprivate static java.util.HashMap<Type,Type>Type. boxedTypesprivate static java.util.HashMap<java.lang.String,Type>Type. builtinTypesprivate java.util.List<Type>TypeGroup. exceptionTypesprivate static java.util.HashMap<java.lang.String,Type>Type. primitiveTypesprotected java.util.HashMap<java.lang.String,Type>TypeGroup. typeTableMethods in org.jboss.byteman.rule.type that return Type Modifier and Type Method Description TypeType. arrayType()create an array type from this base typeTypeType. arrayType(java.lang.Class clazz)create an array type from this base typestatic TypeType. boxType(java.lang.Class clazz)return the primitive type whose boxed equivalent is associated with a given classstatic TypeType. boxType(Type type)return the primitive type for a boxed type or vice versastatic TypeType. builtinType(java.lang.Class clazz)return the builtin type associated with a given classTypeTypeGroup. create(java.lang.String name)create a type with a given name or return an existing type if the supplied name can be matched.TypeTypeGroup. create(java.lang.String name, java.lang.Class clazz)create a type with a given name and class or return an existing type if the supplied name and class can be matched.TypeTypeGroup. createArray(Type baseType)static TypeType. 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.TypeTypeGroup. ensureType(java.lang.Class clazz)TypeType. getBaseType()retrieve the base type for an array type or null if this is not an array typeTypeTypeGroup. lookup(java.lang.String name)lookup a type by name dereferencing it to its fully qualified type if that existsTypeTypeGroup. match(java.lang.String[] path)static TypeType. promote(Type type1, Type type2)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 Type Modifier and Type Method Description java.util.List<Type>TypeGroup. getExceptionTypes()Methods in org.jboss.byteman.rule.type with parameters of type Type Modifier and Type Method Description booleanType. aliasTo(Type target)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 TypeType. boxType(Type type)return the primitive type for a boxed type or vice versaprivate booleanTypeGroup. 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.TypeTypeGroup. createArray(Type baseType)static TypeType. 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.booleanType. 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 TypeType. promote(Type type1, Type type2)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 Constructor Description Type(java.lang.String typeName, java.lang.Class clazz, int flags, int nBytes, Type baseType)
-