| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public BranchInstruction | |
| public BranchInstruction | |
| public boolean | identicalTo(Type other)
Implements abstract com. Returns true if this and other are identical types. |
| public boolean | isSimple()
Overrides com. Returns true if this type is a simple type. |
| public BranchInstruction | |
| public Instruction | |
| public BranchInstruction | |
| public Instruction | |
| public Type | |
| public String | toSignature()
Implements abstract com. Returns the signature of an internal type's external representation. |
| public String | toString()
Implements abstract com. Returns a string representation of this type. |
| public void | translateBox(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. Translates an object of this type to its boxed representation. |
| public void | translateFrom(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz)
Overrides com. Translates an external (Java) boolean into internal boolean. |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type)
Overrides com. Translates a real into an object of internal type |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type)
Expects a boolean on the stack and pushes a string. |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, RealType type)
Expects a boolean on the stack and pushes a real. |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, ReferenceType type)
Expects a boolean on the stack and pushes a boxed boolean. |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz)
Overrides com. Translates an internal boolean into an external (Java) boolean. |
| public void | translateUnBox(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. Translates an object of this type to its unboxed representation. |
| BooleanType | back to summary |
|---|---|
| protected BooleanType() | |
| GE | back to summary |
|---|---|
| public BranchInstruction GE(boolean tozero) Overrides com. | |
| GT | back to summary |
|---|---|
| public BranchInstruction GT(boolean tozero) Overrides com. | |
| identicalTo | back to summary |
|---|---|
| public boolean identicalTo(Type other) Implements abstract com. Doc from com. Returns true if this and other are identical types. | |
| isSimple | back to summary |
|---|---|
| public boolean isSimple() Overrides com. Doc from com. Returns true if this type is a simple type. Redefined in NumberType, BooleanType and StringType. | |
| LE | back to summary |
|---|---|
| public BranchInstruction LE(boolean tozero) Overrides com. | |
| LOAD | back to summary |
|---|---|
| public Instruction LOAD(int slot) Overrides com. | |
| LT | back to summary |
|---|---|
| public BranchInstruction LT(boolean tozero) Overrides com. | |
| STORE | back to summary |
|---|---|
| public Instruction STORE(int slot) Overrides com. | |
| toJCType | back to summary |
|---|---|
| public Type toJCType() Implements abstract com. | |
| toSignature | back to summary |
|---|---|
| public String toSignature() Implements abstract com. Doc from com. Returns the signature of an internal type's external representation. | |
| toString | back to summary |
|---|---|
| public String toString() Implements abstract com. Doc from com. Returns a string representation of this type. | |
| translateBox | back to summary |
|---|---|
| public void translateBox(ClassGenerator classGen, MethodGenerator methodGen) Overrides com. Translates an object of this type to its boxed representation. | |
| translateFrom | back to summary |
|---|---|
| public void translateFrom(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz) Overrides com. Translates an external (Java) boolean into internal boolean. | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type) Overrides com. Translates a real into an object of internal type | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type) Expects a boolean on the stack and pushes a string. If the value on the stack is zero, then the string 'false' is pushed. Otherwise, the string 'true' is pushed. | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, RealType type) Expects a boolean on the stack and pushes a real. The value "true" is converted to 1.0 and the value "false" to 0.0. | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, ReferenceType type) Expects a boolean on the stack and pushes a boxed boolean.
Boxed booleans are represented by an instance of
| |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz) Overrides com. Translates an internal boolean into an external (Java) boolean. | |
| translateUnBox | back to summary |
|---|---|
| public void translateUnBox(ClassGenerator classGen, MethodGenerator methodGen) Overrides com. Translates an object of this type to its unboxed representation. | |