| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public String | getClassName()
Overrides com. Returns the class name of an internal type's external representation. |
| private void | getFirstNode(ClassGenerator classGen, MethodGenerator methodGen)
Some type conversions require gettting the first node from the node-set. |
| public boolean | identicalTo(Type other)
Implements abstract com. Returns true if this and other are identical types. |
| public Instruction | |
| 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 Class into an internal type. |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type)
Overrides com. Translates a node-set into an object of internal type
|
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type)
Translates a node-set into a synthesized boolean. |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type)
Translates a node-set into a string. |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, RealType type)
Expects a node-set on the stack and pushes a real. |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, NodeType type)
Expects a node-set on the stack and pushes a node. |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, ObjectType type)
Subsume node-set into ObjectType. |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, ReferenceType type)
Expects a node-set on the stack and pushes a boxed node-set. |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz)
Overrides com. Translates a node-set into the Java type denoted by |
| public FlowList | translateToDesynthesized(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type)
Overrides com. Translates a node-set into a non-synthesized boolean. |
| public void | translateUnBox(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. Translates an object of this type to its unboxed representation. |
| NodeSetType | back to summary |
|---|---|
| protected NodeSetType() | |
| getClassName | back to summary |
|---|---|
| public String getClassName() Overrides com. Returns the class name of an internal type's external representation. | |
| getFirstNode | back to summary |
|---|---|
| private void getFirstNode(ClassGenerator classGen, MethodGenerator methodGen) Some type conversions require gettting the first node from the node-set. This function is defined to avoid code repetition. | |
| identicalTo | back to summary |
|---|---|
| public boolean identicalTo(Type other) Implements abstract com. Doc from com. Returns true if this and other are identical types. | |
| LOAD | back to summary |
|---|---|
| public Instruction LOAD(int slot) 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 Class into an internal type. Expects the Java object on the stack, pushes the internal type | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type) Overrides com. Translates a node-set into an object of internal type
| |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type) Translates a node-set into a synthesized boolean. The boolean value of a node-set is "true" if non-empty and "false" otherwise. Notice that the function getFirstNode() is called in translateToDesynthesized(). | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type) Translates a node-set into a string. The string value of a node-set is value of its first element. | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, RealType type) Expects a node-set on the stack and pushes a real. First the node-set is converted to string, and from string to real. | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, NodeType type) Expects a node-set on the stack and pushes a node. | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, ObjectType type) Subsume node-set into ObjectType. | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, ReferenceType type) Expects a node-set on the stack and pushes a boxed node-set. Node sets are already boxed so the translation is just a NOP. | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz) Overrides com. Translates a node-set into the Java type denoted by | |
| translateToDesynthesized | back to summary |
|---|---|
| public FlowList translateToDesynthesized(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type) Overrides com. Translates a node-set into a non-synthesized boolean. It does not push a 0 or a 1 but instead returns branchhandle list to be appended to the false list. | |
| translateUnBox | back to summary |
|---|---|
| public void translateUnBox(ClassGenerator classGen, MethodGenerator methodGen) Overrides com. Translates an object of this type to its unboxed representation. | |