Package gw.lang.ir.builder
Class IRArgConverter
java.lang.Object
gw.lang.ir.builder.IRArgConverter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IRMethodCallExpressionbox(IRExpression root) private static IRMethodCallExpressioncall(IRExpression root, Class rootClass, String methodName) private static IRMethodCallExpressioncall(IRExpression root, Class rootClass, String methodName, Class[] argTypes, IRExpression... args) static IRCastExpressioncast(IRExpression root, IRType type) static IRExpressioncastOrConvertIfNecessary(IRType expectedType, IRExpression root) static IRTypegetBoxedType(IRType returnType) static IRTypegetBoxedType(Class returnType) private static IRTypegetIRTypes(Class[] classes) static IRMethodCallExpressionunbox(IRExpression root) static CharactervalueOf(char c)
-
Constructor Details
-
IRArgConverter
public IRArgConverter()
-
-
Method Details
-
castOrConvertIfNecessary
-
getBoxedType
-
getBoxedType
-
unbox
-
box
-
valueOf
-
cast
-
call
-
call
private static IRMethodCallExpression call(IRExpression root, Class rootClass, String methodName, Class[] argTypes, IRExpression... args) -
getIRType
-
getIRTypes
-