Package gw.internal.gosu.parser
Class ErrorTypeInfo.UniversalFunctionType
- java.lang.Object
-
- gw.lang.reflect.AbstractType
-
- gw.lang.reflect.FunctionType
-
- gw.internal.gosu.parser.ErrorTypeInfo.UniversalFunctionType
-
- All Implemented Interfaces:
IFunctionType,IGenericMethodInfo,IInvocableType,INonLoadableType,IType,java.io.Serializable
- Enclosing class:
- ErrorTypeInfo
static class ErrorTypeInfo.UniversalFunctionType extends FunctionType
-
-
Field Summary
Fields Modifier and Type Field Description private IMethodInfo_methodDescriptor-
Fields inherited from class gw.lang.reflect.FunctionType
_allTypesInHierarchy
-
Fields inherited from interface gw.lang.reflect.IType
EMPTY_ARRAY, EMPTY_TYPE_ARRAY, EMPTY_TYPE_LIST
-
-
Constructor Summary
Constructors Constructor Description UniversalFunctionType(java.lang.String strFunctionName, int argCount)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IMethodInfogetMethodInfo()An associated IMethodInfo.private static IType[]makeObjArray(int argCount)ITypenewInstance(IType[] paramTypes, IType returnType)-
Methods inherited from class gw.lang.reflect.FunctionType
areEnclosingTypesEqual, areParamsCompatible, areParamsCompatible, areReturnTypesAssignable, areSameTypes, copyFields, equals, findContravariantParams, getAllTypesInHierarchy, getArrayComponent, getArrayLength, getArrayType, getComponentType, getCompoundTypeComponents, getDefaultValueExpressions, getDisplayName, getEnclosingType, getGenericType, getGenericTypeVariables, getInterfaces, getIntrinsicType, getMethodOrConstructorInfo, getModifiers, getName, getNamespace, getOwningParameterizedType, getParameterizedParameterTypes, getParameterizedParameterTypes2, getParameterizedReturnType, getParameterizedType, getParameterNames, getParameterTypes, getParamSignature, getParamSignatureForCurrentModule, getParamTypeNameFromJavaBackedType, getRelativeName, getReturnType, getRuntimeType, getScriptPart, getSupertype, getTypeInfo, getTypeLoader, getTypeParameters, getTypeVariables, hashCode, hasOptionalParams, inferParameterizedTypeFromArgTypesAndContextType, inferTypeParametersFromArgumentTypes, inferTypeParametersFromArgumentTypes2, isAbstract, isArray, isAssignableFrom, isAssignableFrom, isCompoundType, isDiscarded, isEnum, isFinal, isGenericType, isInterface, isMutable, isParameterizedType, isPrimitive, isValid, makeArrayInstance, parameterize, readResolve, setArgumentTypes, setArrayComponent, setDiscarded, setEnclosingType, setModifiers, setRetType, setScriptPart, toString, unloadTypeInfo
-
Methods inherited from class gw.lang.reflect.AbstractType
getLiteralMetaType, getMetaType, getTheRef
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gw.lang.reflect.IType
compile, getFunctionalInterface, getLiteralMetaType, getMetaType, getSourceFiles, isCompilable, isDynamic
-
-
-
-
Field Detail
-
_methodDescriptor
private IMethodInfo _methodDescriptor
-
-
Method Detail
-
makeObjArray
private static IType[] makeObjArray(int argCount)
-
getMethodInfo
public IMethodInfo getMethodInfo()
Description copied from interface:IFunctionTypeAn associated IMethodInfo. Optional.- Specified by:
getMethodInfoin interfaceIFunctionType- Overrides:
getMethodInfoin classFunctionType
-
newInstance
public IType newInstance(IType[] paramTypes, IType returnType)
- Specified by:
newInstancein interfaceIFunctionType- Overrides:
newInstancein classFunctionType- Returns:
- a new copy of this IFunctionType with the given parameter and return types
-
-