Package gw.internal.gosu.compiler
Class FunctionClassUtil
- java.lang.Object
-
- java.lang.ClassLoader
-
- gw.internal.gosu.compiler.FunctionClassUtil
-
public class FunctionClassUtil extends java.lang.ClassLoader
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.Class[][]ARGSstatic java.lang.StringFUNCTION_CLASS_PREFIXstatic java.lang.StringFUNCTION_INTERFACE_PREFIXstatic java.lang.StringFUNCTION_PACKAGEstatic java.lang.StringPROCEDURE_CLASS_PREFIXstatic java.lang.StringPROCEDURE_INTERFACE_PREFIX
-
Constructor Summary
Constructors Modifier Constructor Description privateFunctionClassUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Class[]getArgArrayForArity(int i)static IJavaTypegetFunctionClassForArity(boolean hasReturn, int arity)static IJavaTypegetFunctionInterfaceForArity(boolean hasReturn, int arity)private static IJavaTypegetFunctionType(int arity, java.lang.String s)-
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
-
-
-
Field Detail
-
FUNCTION_PACKAGE
public static final java.lang.String FUNCTION_PACKAGE
- See Also:
- Constant Field Values
-
FUNCTION_CLASS_PREFIX
public static final java.lang.String FUNCTION_CLASS_PREFIX
- See Also:
- Constant Field Values
-
PROCEDURE_CLASS_PREFIX
public static final java.lang.String PROCEDURE_CLASS_PREFIX
- See Also:
- Constant Field Values
-
FUNCTION_INTERFACE_PREFIX
public static final java.lang.String FUNCTION_INTERFACE_PREFIX
- See Also:
- Constant Field Values
-
PROCEDURE_INTERFACE_PREFIX
public static final java.lang.String PROCEDURE_INTERFACE_PREFIX
- See Also:
- Constant Field Values
-
ARGS
private static final java.lang.Class[][] ARGS
-
-
Method Detail
-
getFunctionClassForArity
public static IJavaType getFunctionClassForArity(boolean hasReturn, int arity)
-
getFunctionInterfaceForArity
public static IJavaType getFunctionInterfaceForArity(boolean hasReturn, int arity)
-
getFunctionType
private static IJavaType getFunctionType(int arity, java.lang.String s)
-
getArgArrayForArity
public static java.lang.Class[] getArgArrayForArity(int i)
-
-