public class BlockType extends FunctionType implements IBlockType
_allTypesInHierarchyEMPTY_ARRAY, EMPTY_TYPE_ARRAY, EMPTY_TYPE_LIST| Constructor and Description |
|---|
BlockType(IType returnType,
IType[] iIntrinsicTypes,
List<String> argNames,
List<IExpression> defValues) |
BlockType(IType returnType,
IType[] iIntrinsicTypes,
String[] argNames,
IExpression[] defValues) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
areReturnTypesAssignable(FunctionType that) |
protected void |
copyFields(FunctionType source) |
boolean |
equals(Object o) |
IExpression[] |
getDefaultValueExpressions() |
String |
getName() |
String[] |
getParameterNames() |
String |
getRelativeName() |
String |
getRelativeNameSansBlock() |
String |
getRelativeParamSignature(boolean bSansBlock) |
boolean |
hasOptionalParams() |
IType |
newInstance(IType[] paramTypes,
IType returnType) |
FunctionType |
parameterize(FunctionType source,
TypeVarToTypeMap actualParamByVarName,
boolean bKeepTypeVars) |
areEnclosingTypesEqual, areParamsCompatible, areParamsCompatible, areSameTypes, findContravariantParams, getAllTypesInHierarchy, getArrayComponent, getArrayLength, getArrayType, getComponentType, getCompoundTypeComponents, getDisplayName, getEnclosingType, getGenericType, getGenericTypeVariables, getInterfaces, getIntrinsicType, getMethodInfo, getMethodOrConstructorInfo, getModifiers, getNamespace, getOwningParameterizedType, getParameterizedParameterTypes, getParameterizedParameterTypes2, getParameterizedReturnType, getParameterizedType, getParameterTypes, getParamSignature, getParamSignatureForCurrentModule, getParamTypeNameFromJavaBackedType, getReturnType, getRuntimeType, getScriptPart, getSupertype, getTypeInfo, getTypeLoader, getTypeParameters, getTypeVariables, hashCode, inferParameterizedTypeFromArgTypesAndContextType, inferTypeParametersFromArgumentTypes, inferTypeParametersFromArgumentTypes2, isAbstract, isArray, isAssignableFrom, isAssignableFrom, isCompoundType, isDiscarded, isEnum, isFinal, isGenericType, isInterface, isMutable, isParameterizedType, isPrimitive, isValid, makeArrayInstance, readResolve, setArgumentTypes, setArrayComponent, setDiscarded, setEnclosingType, setModifiers, setRetType, setScriptPart, toString, unloadTypeInfogetLiteralMetaType, getMetaType, getTheRefclone, finalize, getClass, notify, notifyAll, wait, wait, waitareParamsCompatible, getMethodInfo, getMethodOrConstructorInfo, getParameterTypes, getParamSignature, getParamSignatureForCurrentModule, getReturnType, getScriptPart, inferParameterizedTypeFromArgTypesAndContextType, isAssignableFromcompile, getAllTypesInHierarchy, getArrayComponent, getArrayLength, getArrayType, getComponentType, getCompoundTypeComponents, getDisplayName, getEnclosingType, getFunctionalInterface, getGenericType, getGenericTypeVariables, getInterfaces, getLiteralMetaType, getMetaType, getModifiers, getNamespace, getParameterizedType, getSourceFiles, getSupertype, getTypeInfo, getTypeLoader, getTypeParameters, isAbstract, isArray, isAssignableFrom, isCompilable, isCompoundType, isDiscarded, isDynamic, isEnum, isFinal, isGenericType, isInterface, isMutable, isParameterizedType, isPrimitive, isValid, makeArrayInstance, readResolve, setArrayComponent, setDiscarded, unloadTypeInfogetParameterizedParameterTypes, getParameterizedParameterTypes2, getParameterizedReturnType, getTypeVariables, inferTypeParametersFromArgumentTypes, inferTypeParametersFromArgumentTypes2public BlockType(IType returnType, IType[] iIntrinsicTypes, List<String> argNames, List<IExpression> defValues)
public BlockType(IType returnType, IType[] iIntrinsicTypes, String[] argNames, IExpression[] defValues)
protected void copyFields(FunctionType source)
copyFields in class FunctionTypepublic FunctionType parameterize(FunctionType source, TypeVarToTypeMap actualParamByVarName, boolean bKeepTypeVars)
parameterize in class FunctionTypepublic String getName()
getName in interface ITypegetName in class FunctionTypepublic String getRelativeName()
getRelativeName in interface ITypegetRelativeName in class FunctionTypepublic String getRelativeNameSansBlock()
getRelativeNameSansBlock in interface IBlockTypepublic String getRelativeParamSignature(boolean bSansBlock)
getRelativeParamSignature in interface IBlockTypepublic String[] getParameterNames()
getParameterNames in interface IInvocableTypegetParameterNames in class FunctionTypeprotected boolean areReturnTypesAssignable(FunctionType that)
areReturnTypesAssignable in class FunctionTypepublic boolean equals(Object o)
equals in class FunctionTypepublic IExpression[] getDefaultValueExpressions()
getDefaultValueExpressions in interface IInvocableTypegetDefaultValueExpressions in class FunctionTypepublic boolean hasOptionalParams()
hasOptionalParams in interface IInvocableTypehasOptionalParams in class FunctionTypepublic IType newInstance(IType[] paramTypes, IType returnType)
newInstance in interface IFunctionTypenewInstance in class FunctionTypeCopyright © 2018. All rights reserved.