| Modifier and Type | Field and Description |
|---|---|
| private final int |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public String | getClassName()
Overrides com. Returns the class name of an internal type's external representation. |
| public int | |
| public int | |
| 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 | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type)
Overrides com. Translates a node into an object of internal type |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type)
Expects a node on the stack and pushes its string value. |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type)
Translates a node into a synthesized boolean. |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, RealType type)
Expects a node on the stack and pushes a real. |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, NodeSetType type)
Expects a node on the stack and pushes a singleton node-set. |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, ObjectType type)
Subsume Node into ObjectType. |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, ReferenceType type)
Expects a node on the stack and pushes a boxed node. |
| public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz)
Overrides com. Translates a node into the Java type denoted by |
| public FlowList | translateToDesynthesized(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type)
Overrides com. Translates a node into a non-synthesized boolean. |
| public void | translateUnBox(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. Translates an object of this type to its unboxed representation. |
| _type | back to summary |
|---|---|
| private final int _type | |
| NodeType | back to summary |
|---|---|
| protected NodeType() | |
| NodeType | back to summary |
|---|---|
| protected NodeType(int type) | |
| getClassName | back to summary |
|---|---|
| public String getClassName() Overrides com. Returns the class name of an internal type's external representation. | |
| getType | back to summary |
|---|---|
| public int getType() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| 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. | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type) Overrides com. Translates a node into an object of internal type | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type) Expects a node on the stack and pushes its string value. | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type) Translates a node into a synthesized boolean. If the expression is "@attr", then "true" is pushed iff "attr" is an attribute of the current node. If the expression is ".", the result is always "true". | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, RealType type) Expects a node on the stack and pushes a real. First the node is converted to string, and from string to real. | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, NodeSetType type) Expects a node on the stack and pushes a singleton node-set. Singleton iterators are already started after construction. | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, ObjectType type) Subsume Node into ObjectType. | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, ReferenceType type) Expects a node on the stack and pushes a boxed node. Boxed nodes
are represented by an instance of | |
| translateTo | back to summary |
|---|---|
| public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz) Overrides com. Translates a node into the Java type denoted by | |
| translateToDesynthesized | back to summary |
|---|---|
| public FlowList translateToDesynthesized(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type) Overrides com. Translates a node 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. | |