Package gw.internal.gosu.ir.nodes
Class IRMethodFactory
java.lang.Object
gw.internal.gosu.ir.nodes.IRMethodFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToIRTypes
(IType[] types) static IRMethod
createConstructorIRMethod
(IType gosuClass, DynamicFunctionSymbol dfs, int numberOfTypeParameters) static IRMethod
createConstructorIRMethod
(IType owner, IRType[] parameterTypes) static IRMethod
createIRMethod
(IConstructorInfo constructor) static IRMethodFromMethodInfo
createIRMethod
(IMethodInfo originalMethodInfo, IFunctionType functionType) static IRMethod
createIRMethod
(IType owner, String name, IRType returnType, List<IRType> parameterTypes, IRelativeTypeInfo.Accessibility accessibility, boolean bStatic) static IRMethod
createIRMethod
(IType owner, String name, IType returnType, IType[] parameterTypes, IRelativeTypeInfo.Accessibility accessibility, boolean bStatic) static IRMethod
createIRMethod
(IJavaClassInfo cls, String name, Class... paramTypes) static IRMethod
createIRMethod
(IJavaClassMethod method) static IRMethod
createIRMethod
(Class cls, String name, Class... paramTypes) static IRMethod
createIRMethod
(Method method)
-
Constructor Details
-
IRMethodFactory
public IRMethodFactory()
-
-
Method Details
-
createIRMethod
public static IRMethodFromMethodInfo createIRMethod(IMethodInfo originalMethodInfo, IFunctionType functionType) -
createIRMethod
-
createIRMethod
-
createIRMethod
-
createIRMethod
-
createIRMethod
-
createConstructorIRMethod
public static IRMethod createConstructorIRMethod(IType gosuClass, DynamicFunctionSymbol dfs, int numberOfTypeParameters) -
createIRMethod
-
createIRMethod
-
createConstructorIRMethod
-
convertToIRTypes
-