| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.xalan.xsltc.compiler.util.Typeorg.apache.xalan.xsltc.compiler.util.ReferenceTypepublic final class ReferenceTypeextends TypeField Summary |
Fields inherited from class org.apache.xalan.xsltc.compiler.util.Type | |
Attribute, Boolean, Comment, Element, Int, Node, NodeSet, Object, ObjectString, Processing_Instruction, Real, Reference, ResultTree, Root, String, Text, Void | |
Method Summary | |
Instruction |
|
Instruction |
|
boolean |
|
org.apache.bcel.generic.Type |
|
String | |
String |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
FlowList |
|
void |
|
Methods inherited from class org.apache.xalan.xsltc.compiler.util.Type | |
ADD, CMP, DIV, DUP, GE, GT, LE, LOAD, LT, MUL, NEG, POP, REM, STORE, SUB, distanceTo, getClassName, identicalTo, implementedAsMethod, isNumber, isSimple, newObjectType, newObjectType, toJCType, toSignature, toString, translateBox, translateFrom, translateTo, translateTo, translateToDesynthesized, translateToDesynthesized, translateUnBox | |
public void translateBox(ClassGenerator classGen, MethodGenerator methodGen)
Translates an object of this type to its boxed representation.
- Overrides:
- translateBox in interface Type
public void translateFrom(ClassGenerator classGen, MethodGenerator methodGen, Class clazz)
Translates an external Java type into a reference. Only conversion allowed is from java.lang.Object.
- Overrides:
- translateFrom in interface Type
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, Class clazz)
Translates a reference into the Java type denoted byclazz.
- Overrides:
- translateTo in interface Type
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type)
Translates a reference to an object of internal typetype.
- See Also:
org.apache.xalan.xsltc.compiler.util.Type.translateTo
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, NodeSetType type)
Casts a reference into a NodeIterator.
- See Also:
org.apache.xalan.xsltc.compiler.util.Type.translateTo
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, NodeType type)
Casts a reference into a Node.
- See Also:
org.apache.xalan.xsltc.compiler.util.Type.translateTo
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, ObjectType type)
Subsume reference into ObjectType.
- See Also:
org.apache.xalan.xsltc.compiler.util.Type.translateTo
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, RealType type)
Translates a reference into an object of internal typetype.
- See Also:
org.apache.xalan.xsltc.compiler.util.Type.translateTo
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, ResultTreeType type)
Casts a reference into a ResultTree.
- See Also:
org.apache.xalan.xsltc.compiler.util.Type.translateTo
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type)
Translates reference into object of internal typetype.
- See Also:
org.apache.xalan.xsltc.compiler.util.Type.translateTo
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type)
Translates a reference to an object of internal typetype. The translation to int is undefined since references are always converted to reals in arithmetic expressions.
- Overrides:
- translateTo in interface Type
- See Also:
org.apache.xalan.xsltc.compiler.util.Type.translateTo
public FlowList translateToDesynthesized(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type)
Expects a reference on the stack and translates it to 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.
- Overrides:
- translateToDesynthesized in interface Type
- See Also:
org.apache.xalan.xsltc.compiler.util.Type.translateToDesynthesized
public void translateUnBox(ClassGenerator classGen, MethodGenerator methodGen)
Translates an object of this type to its unboxed representation.
- Overrides:
- translateUnBox in interface Type