Package gw.lang.reflect
Interface IFunctionType
-
- All Superinterfaces:
IInvocableType,INonLoadableType,IType,Serializable
- All Known Subinterfaces:
IBlockType
- All Known Implementing Classes:
FunctionType,ParameterizedFunctionType
public interface IFunctionType extends IInvocableType
-
-
Field Summary
-
Fields inherited from interface gw.lang.reflect.IType
EMPTY_ARRAY, EMPTY_TYPE_ARRAY, EMPTY_TYPE_LIST
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanareParamsCompatible(IFunctionType rhsFunctionType)IMethodInfogetMethodInfo()An associated IMethodInfo.IFeatureInfogetMethodOrConstructorInfo()IType[]getParameterTypes()StringgetParamSignature()Formatted signature of the form "( param-list )" StringgetParamSignatureForCurrentModule()ITypegetReturnType()IScriptPartIdgetScriptPart()IFunctionTypeinferParameterizedTypeFromArgTypesAndContextType(IType[] eArgs, IType ctxType)booleanisAssignableFrom(IType type, boolean bContravariant)ITypenewInstance(IType[] paramTypes, IType returnType)-
Methods inherited from interface gw.lang.reflect.IInvocableType
getDefaultValueExpressions, getParameterNames, hasOptionalParams
-
Methods inherited from interface gw.lang.reflect.IType
compile, getAllTypesInHierarchy, getArrayComponent, getArrayLength, getArrayType, getComponentType, getCompoundTypeComponents, getDisplayName, getEnclosingType, getFunctionalInterface, getGenericType, getGenericTypeVariables, getInterfaces, getLiteralMetaType, getMetaType, getModifiers, getName, getNamespace, getParameterizedType, getRelativeName, getSourceFiles, getSupertype, getTypeInfo, getTypeLoader, getTypeParameters, isAbstract, isArray, isAssignableFrom, isCompilable, isCompoundType, isDiscarded, isDynamic, isEnum, isFinal, isGenericType, isInterface, isMutable, isParameterizedType, isPrimitive, isValid, makeArrayInstance, readResolve, setArrayComponent, setDiscarded, unloadTypeInfo
-
-
-
-
Method Detail
-
getReturnType
IType getReturnType()
-
getParameterTypes
IType[] getParameterTypes()
- Specified by:
getParameterTypesin interfaceIInvocableType
-
getMethodInfo
IMethodInfo getMethodInfo()
An associated IMethodInfo. Optional.
-
getMethodOrConstructorInfo
IFeatureInfo getMethodOrConstructorInfo()
-
getParamSignature
String getParamSignature()
Formatted signature of the form "( param-list )" - Specified by:
getParamSignaturein interfaceIInvocableType
-
getParamSignatureForCurrentModule
String getParamSignatureForCurrentModule()
-
inferParameterizedTypeFromArgTypesAndContextType
IFunctionType inferParameterizedTypeFromArgTypesAndContextType(IType[] eArgs, IType ctxType)
-
areParamsCompatible
boolean areParamsCompatible(IFunctionType rhsFunctionType)
-
isAssignableFrom
boolean isAssignableFrom(IType type, boolean bContravariant)
-
getScriptPart
IScriptPartId getScriptPart()
-
-