LOAD
public Instruction LOAD(int slot)
- LOAD in interface Type
STORE
public Instruction STORE(int slot)
- STORE in interface Type
identicalTo
public boolean identicalTo(Type other)
- identicalTo in interface Type
toJCType
public org.apache.bcel.generic.Type toJCType()
- toJCType in interface Type
toSignature
public String toSignature()
- toSignature in interface Type
toString
public String toString()
- toString in interface Type
translateBox
public void translateBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its boxed representation.
- translateBox in interface Type
translateFrom
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.
- translateFrom in interface Type
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Class clazz)
Translates a reference into the Java type denoted by clazz
.
- translateTo in interface Type
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a reference to an object of internal type type
.
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeType type)
Casts a reference into a Node.
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Translates a reference into an object of internal type type
.
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Translates reference into object of internal type type
.
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateTo
public void translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a reference to an object of internal type type
.
The translation to int is undefined since references
are always converted to reals in arithmetic expressions.
- translateTo in interface Type
org.apache.xalan.xsltc.compiler.util.Type.translateTo
translateToDesynthesized
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.
- translateToDesynthesized in interface Type
org.apache.xalan.xsltc.compiler.util.Type.translateToDesynthesized
translateUnBox
public void translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its unboxed representation.
- translateUnBox in interface Type