|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Type | |
---|---|
org.jboss.byteman.rule | |
org.jboss.byteman.rule.binding | |
org.jboss.byteman.rule.expression | |
org.jboss.byteman.rule.type |
Uses of Type in org.jboss.byteman.rule |
---|
Methods in org.jboss.byteman.rule that return Type | |
---|---|
Type |
Rule.getReturnType()
|
abstract Type |
RuleElement.typeCheck(Type expected)
|
Type |
Action.typeCheck(Type expected)
|
Type |
Event.typeCheck(Type expected)
|
Type |
Condition.typeCheck(Type expected)
|
Methods in org.jboss.byteman.rule with parameters of type Type | |
---|---|
protected void |
RuleElement.compileBooleanConversion(Type fromType,
Type toType,
org.objectweb.asm.MethodVisitor mv,
CompileContext compileContext)
|
protected void |
RuleElement.compileBox(Type toType,
org.objectweb.asm.MethodVisitor mv,
CompileContext compileContext)
box a value belonging to a primitive type |
protected void |
RuleElement.compileNumericConversion(Type fromType,
Type toType,
org.objectweb.asm.MethodVisitor mv,
CompileContext compileContext)
|
protected void |
RuleElement.compileObjectConversion(Type fromType,
Type toType,
org.objectweb.asm.MethodVisitor mv,
CompileContext compileContext)
|
protected void |
RuleElement.compilePrimitiveConversion(Type fromType,
Type toType,
org.objectweb.asm.MethodVisitor mv,
CompileContext compileContext)
compile code to convert a numeric or character primitive to a numeric or character primitive |
protected void |
RuleElement.compileStringConversion(Type fromType,
Type toType,
org.objectweb.asm.MethodVisitor mv,
CompileContext compileContext)
|
protected void |
RuleElement.compileTypeConversion(Type fromType,
Type toType,
org.objectweb.asm.MethodVisitor mv,
CompileContext compileContext)
|
protected void |
RuleElement.compileUnbox(Type fromType,
Type toType,
org.objectweb.asm.MethodVisitor mv,
CompileContext compileContext)
compile code to convert a value of a boxed type to a primitive type, possibly not the immediately related primitive type |
abstract Type |
RuleElement.typeCheck(Type expected)
|
Type |
Action.typeCheck(Type expected)
|
Type |
Event.typeCheck(Type expected)
|
Type |
Condition.typeCheck(Type expected)
|
Uses of Type in org.jboss.byteman.rule.binding |
---|
Methods in org.jboss.byteman.rule.binding that return Type | |
---|---|
Type |
Binding.getType()
|
Type |
Binding.typeCheck(Type expected)
|
Methods in org.jboss.byteman.rule.binding with parameters of type Type | |
---|---|
void |
Binding.setType(Type type)
|
Type |
Binding.typeCheck(Type expected)
|
Constructors in org.jboss.byteman.rule.binding with parameters of type Type | |
---|---|
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.expression |
---|
Fields in org.jboss.byteman.rule.expression declared as Type | |
---|---|
protected Type |
Expression.type
|
Methods in org.jboss.byteman.rule.expression that return Type | |
---|---|
Type |
Expression.getType()
|
Type |
MethodExpression.typeCheck(Type expected)
|
Type |
BitExpression.typeCheck(Type expected)
|
Type |
ArrayExpression.typeCheck(Type expected)
|
Type |
ThrowExpression.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. |
Type |
FieldExpression.typeCheck(Type expected)
|
Type |
NewExpression.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. |
Type |
BooleanLiteral.typeCheck(Type expected)
|
Type |
MinusExpression.typeCheck(Type expected)
|
Type |
NotExpression.typeCheck(Type expected)
|
Type |
ReturnExpression.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. |
abstract Type |
Expression.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. |
Type |
NumericLiteral.typeCheck(Type expected)
|
Type |
ComparisonExpression.typeCheck(Type expected)
|
Type |
TwiddleExpression.typeCheck(Type expected)
|
Type |
StringLiteral.typeCheck(Type expected)
|
Type |
PlusExpression.typeCheck(Type expected)
|
Type |
StaticExpression.typeCheck(Type expected)
|
Type |
LogicalExpression.typeCheck(Type expected)
|
Type |
ArithmeticExpression.typeCheck(Type expected)
|
Type |
AssignExpression.typeCheck(Type expected)
|
Type |
ConditionalEvalExpression.typeCheck(Type expected)
|
Type |
NullLiteral.typeCheck(Type expected)
|
Type |
Variable.typeCheck(Type expected)
|
Type |
DollarExpression.typeCheck(Type expected)
|
Type |
StringPlusExpression.typeCheck(Type expected)
|
Methods in org.jboss.byteman.rule.expression with parameters of 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 Expression |
ExpressionHelper.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 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)
|
Type |
MethodExpression.typeCheck(Type expected)
|
Type |
BitExpression.typeCheck(Type expected)
|
Type |
ArrayExpression.typeCheck(Type expected)
|
Type |
ThrowExpression.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. |
Type |
FieldExpression.typeCheck(Type expected)
|
Type |
NewExpression.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. |
Type |
BooleanLiteral.typeCheck(Type expected)
|
Type |
MinusExpression.typeCheck(Type expected)
|
Type |
NotExpression.typeCheck(Type expected)
|
Type |
ReturnExpression.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. |
abstract Type |
Expression.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. |
Type |
NumericLiteral.typeCheck(Type expected)
|
Type |
ComparisonExpression.typeCheck(Type expected)
|
Type |
TwiddleExpression.typeCheck(Type expected)
|
Type |
StringLiteral.typeCheck(Type expected)
|
Type |
PlusExpression.typeCheck(Type expected)
|
Type |
StaticExpression.typeCheck(Type expected)
|
Type |
LogicalExpression.typeCheck(Type expected)
|
Type |
ArithmeticExpression.typeCheck(Type expected)
|
Type |
AssignExpression.typeCheck(Type expected)
|
Type |
ConditionalEvalExpression.typeCheck(Type expected)
|
Type |
NullLiteral.typeCheck(Type expected)
|
Type |
Variable.typeCheck(Type expected)
|
Type |
DollarExpression.typeCheck(Type expected)
|
Type |
StringPlusExpression.typeCheck(Type expected)
|
Constructors in org.jboss.byteman.rule.expression with parameters of type Type | |
---|---|
ArrayExpression(Rule rule,
Type type,
ParseNode token,
Expression arrayRef,
java.util.List<Expression> idxList)
|
|
AssignableExpression(Rule rule,
Type type,
ParseNode token)
Create a new expression. |
|
BinaryOperExpression(Rule rule,
int oper,
Type type,
ParseNode token,
Expression operand1,
Expression operand2)
|
|
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 bindings |
|
DollarExpression(Rule rule,
Type type,
ParseNode token,
java.lang.String name)
constructor for local var bindings |
|
Expression(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)
|
|
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 | |
---|---|
static Type |
Type.B
|
static Type |
Type.BOOLEAN
|
static Type |
Type.BYTE
|
static Type |
Type.C
|
static Type |
Type.CHARACTER
|
static Type |
Type.D
|
static Type |
Type.DOUBLE
|
static Type |
Type.F
|
static Type |
Type.FLOAT
|
static Type |
Type.I
|
static Type |
Type.INTEGER
|
static Type |
Type.J
|
static Type |
Type.LONG
|
static Type |
Type.N
|
static Type |
Type.NUMBER
|
static Type |
Type.OBJECT
|
static Type |
Type.S
|
static Type |
Type.SHORT
|
static Type |
Type.STRING
|
static Type |
Type.UNDEFINED
|
static Type |
Type.VOID
|
static Type |
Type.Z
|
Fields in org.jboss.byteman.rule.type with type parameters of type Type | |
---|---|
protected java.util.HashMap<java.lang.String,Type> |
TypeGroup.typeTable
|
Methods in org.jboss.byteman.rule.type that return Type | |
---|---|
Type |
Type.arrayType()
create an array type from this base type |
Type |
Type.arrayType(java.lang.Class clazz)
create an array type from this base type |
static Type |
Type.boxType(java.lang.Class clazz)
return the primitive type whose boxed equivalent is associated with a given class |
static Type |
Type.boxType(Type type)
return the primitive type for a boxed type or vice versa |
static Type |
Type.builtinType(java.lang.Class clazz)
return the builtin type associated with a given class |
Type |
TypeGroup.create(java.lang.String name)
create a type with a given name or return an existing type if the supplied name can be matched. |
Type |
TypeGroup.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. |
Type |
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. |
Type |
TypeGroup.ensureType(java.lang.Class clazz)
|
Type |
Type.getBaseType()
retrieve the base type for an array type or null if this is not an array type |
Type |
TypeGroup.lookup(java.lang.String name)
lookup a type by name dereferencing it to its fully qualified type if that exists |
Type |
TypeGroup.match(java.lang.String[] path)
|
static Type |
Type.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 operation |
Methods in org.jboss.byteman.rule.type that return types with arguments of type Type | |
---|---|
java.util.List<Type> |
TypeGroup.getExceptionTypes()
|
Methods in org.jboss.byteman.rule.type with parameters of type Type | |
---|---|
boolean |
Type.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 name |
static Type |
Type.boxType(Type type)
return the primitive type for a boxed type or vice versa |
Type |
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 |
Type.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 operation |
Constructors in org.jboss.byteman.rule.type with parameters of type Type | |
---|---|
Type(java.lang.String typeName,
java.lang.Class clazz,
int flags,
int nBytes,
Type baseType)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |