Package net.jangaroo.jooc.types
Class FunctionSignature
- java.lang.Object
-
- net.jangaroo.jooc.types.ExpressionType
-
- net.jangaroo.jooc.types.FunctionSignature
-
public class FunctionSignature extends ExpressionType
A special expression type for functions / methods.
-
-
Constructor Summary
Constructors Constructor Description FunctionSignature(TypeDeclaration functionType, MethodType methodType, int minArgumentCount, boolean hasRest, List<ExpressionType> parameterTypes, ExpressionType returnType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ExpressionTypegetEvalType()MethodTypegetMethodType()intgetMinArgumentCount()List<ExpressionType>getParameterTypes()inthashCode()booleanhasRest()StringtoString()-
Methods inherited from class net.jangaroo.jooc.types.ExpressionType
getAS3Type, getDeclaration, getType, getTypeParameter, isArrayLike, isAssignableTo, isConfigType, isNumber, isObject, markAsConfigTypeIfPossible, resolvePropertyDeclaration, toString
-
-
-
-
Constructor Detail
-
FunctionSignature
public FunctionSignature(@Nonnull TypeDeclaration functionType, MethodType methodType, int minArgumentCount, boolean hasRest, List<ExpressionType> parameterTypes, ExpressionType returnType)
-
-
Method Detail
-
getMethodType
public MethodType getMethodType()
-
getMinArgumentCount
public int getMinArgumentCount()
-
hasRest
public boolean hasRest()
-
getParameterTypes
public List<ExpressionType> getParameterTypes()
-
getEvalType
public ExpressionType getEvalType()
- Overrides:
getEvalTypein classExpressionType
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classExpressionType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classExpressionType
-
toString
public String toString()
- Overrides:
toStringin classExpressionType
-
-