org.apache.xalan.xsltc.compiler.util
public final class IntType extends NumberType
| Method Summary | |
|---|---|
| Instruction | ADD() |
| int | distanceTo(Type type) |
| Instruction | DIV() |
| BranchInstruction | GE(boolean tozero) |
| BranchInstruction | GT(boolean tozero) |
| boolean | identicalTo(Type other) |
| BranchInstruction | LE(boolean tozero) |
| Instruction | LOAD(int slot) |
| BranchInstruction | LT(boolean tozero) |
| Instruction | MUL() |
| Instruction | NEG() |
| Instruction | REM() |
| Instruction | STORE(int slot) |
| Instruction | SUB() |
| Type | toJCType() |
| String | toSignature() |
| String | toString() |
| void | translateBox(ClassGenerator classGen, MethodGenerator methodGen)
Translates an object of this type to its boxed representation. |
| void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type)
Translates an integer into an object of internal type type.
|
| void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, RealType type)
Expects an integer on the stack and pushes a real.
|
| void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type)
Expects an integer on the stack and pushes its string value by calling
Integer.toString(int i).
|
| void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type)
Expects an integer on the stack and pushes a 0 if its value is 0 and
a 1 otherwise.
|
| void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, ReferenceType type)
Expects an integer on the stack and pushes a boxed integer.
|
| void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Class clazz)
Translates an integer into the Java type denoted by clazz.
|
| FlowList | translateToDesynthesized(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type)
Expects an integer on the stack and translates it to a non-synthesized
boolean. |
| void | translateUnBox(ClassGenerator classGen, MethodGenerator methodGen)
Translates an object of this type to its unboxed representation. |
See Also: Type
type.
See Also: Type
See Also: Type
Integer.toString(int i).
See Also: Type
See Also: Type
java.lang.Integer.
See Also: Type
clazz.
Expects an integer on the stack and pushes a number of the appropriate
type after coercion.See Also: Type