Modifier and Type | Field and Description |
---|---|
private final String |
Access | Constructor and Description |
---|---|
protected | |
public |
Modifier and Type | Method and Description |
---|---|
public String | getClassName()
Overrides com. |
public String | |
public boolean | identicalTo(Type other)
Implements abstract com. |
public boolean | implementedAsMethod()
Overrides com. |
public Instruction | |
public Instruction | |
public Type | |
public String | toSignature()
Implements abstract com. |
public String | toString()
Implements abstract com. |
public void | translateBox(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. |
public void | translateTo(ClassGenerator
A BCEL class generator classGen, MethodGenerator A BCEL method generator methodGen, Type An instance of the type to translate the result tree to type)Overrides com. type .
|
public void | translateTo(ClassGenerator
A BCEL class generator classGen, MethodGenerator A BCEL method generator methodGen, BooleanType An instance of BooleanType (any) type)Expects an result tree on the stack and pushes a boolean. |
public void | translateTo(ClassGenerator
A BCEL class generator classGen, MethodGenerator A BCEL method generator methodGen, StringType An instance of StringType (any) type)Expects an result tree on the stack and pushes a string. |
public void | translateTo(ClassGenerator
A BCEL class generator classGen, MethodGenerator A BCEL method generator methodGen, RealType An instance of RealType (any) type)Expects an result tree on the stack and pushes a real. |
public void | translateTo(ClassGenerator
A BCEL class generator classGen, MethodGenerator A BCEL method generator methodGen, ReferenceType An instance of ReferenceType (any) type)Expects a result tree on the stack and pushes a boxed result tree. |
public void | translateTo(ClassGenerator
A BCEL class generator classGen, MethodGenerator A BCEL method generator methodGen, NodeSetType An instance of NodeSetType (any) type)Expects a result tree on the stack and pushes a node-set (iterator). |
public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, ObjectType type)
Subsume result tree into ObjectType. |
public void | translateTo(ClassGenerator
A BCEL class generator classGen, MethodGenerator A BCEL method generator methodGen, Class<?> An reference to the Class to translate to clazz)Overrides com. clazz .
|
public FlowList | translateToDesynthesized(ClassGenerator
A BCEL class generator classGen, MethodGenerator A BCEL method generator methodGen, BooleanType An instance of BooleanType (any) type)Overrides com. |
public void | translateUnBox(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. |
_methodName | back to summary |
---|---|
private final String _methodName |
ResultTreeType | back to summary |
---|---|
protected ResultTreeType() |
ResultTreeType | back to summary |
---|---|
public ResultTreeType(String methodName) |
getClassName | back to summary |
---|---|
public String getClassName() Overrides com. Returns the class name of an internal type's external representation. |
getMethodName | back to summary |
---|---|
public String getMethodName() |
identicalTo | back to summary |
---|---|
public boolean identicalTo(Type other) Implements abstract com. Doc from com. Returns true if this and other are identical types. |
implementedAsMethod | back to summary |
---|---|
public boolean implementedAsMethod() Overrides com. Doc from com. Returns true if this type has no object representaion. Redefined in ResultTreeType. |
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 result tree to object of internal type
|
translateTo | back to summary |
---|---|
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type) Expects an result tree on the stack and pushes a boolean. Translates a result tree to a boolean by first converting it to string.
|
translateTo | back to summary |
---|---|
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type) Expects an result tree on the stack and pushes a string.
|
translateTo | back to summary |
---|---|
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, RealType type) Expects an result tree on the stack and pushes a real. Translates a result tree into a real by first converting it to string.
|
translateTo | back to summary |
---|---|
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, ReferenceType type) Expects a result tree on the stack and pushes a boxed result tree. Result trees are already boxed so the translation is just a NOP.
|
translateTo | back to summary |
---|---|
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, NodeSetType type) Expects a result tree on the stack and pushes a node-set (iterator). Note that the produced iterator is an iterator for the DOM that contains the result tree, and not the DOM that is currently in use. This conversion here will therefore not directly work with elements such as <xsl:apply-templates> and <xsl:for-each> without the DOM parameter/variable being updates as well.
|
translateTo | back to summary |
---|---|
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, ObjectType type) Subsume result tree into ObjectType. |
translateTo | back to summary |
---|---|
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz) Overrides com. Translates a result tree to a Java type denoted by
|
translateToDesynthesized | back to summary |
---|---|
public FlowList translateToDesynthesized(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type) Overrides com. Translates a result tree 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. |