Package gw.lang.ir.builder
Class IRArgConverter
java.lang.Object
gw.lang.ir.builder.IRArgConverter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IRMethodCallExpression
box
(IRExpression root) private static IRMethodCallExpression
call
(IRExpression root, Class rootClass, String methodName) private static IRMethodCallExpression
call
(IRExpression root, Class rootClass, String methodName, Class[] argTypes, IRExpression... args) static IRCastExpression
cast
(IRExpression root, IRType type) static IRExpression
castOrConvertIfNecessary
(IRType expectedType, IRExpression root) static IRType
getBoxedType
(IRType returnType) static IRType
getBoxedType
(Class returnType) private static IRType
getIRTypes
(Class[] classes) static IRMethodCallExpression
unbox
(IRExpression root) static Character
valueOf
(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
-