public static class CachedMethod.BaseConvertCachedMethod extends CachedMethod
CachedMethod.ArgumentConversion, CachedMethod.ArrayMapCachedMethod, CachedMethod.BaseConvertCachedMethod, CachedMethod.MatrixMapCachedMethod, CachedMethod.TypeArgumentConversion
ARRAYTOKEN_CONVERSION, FUNCTION, IDENTITY_CONVERSION, IMPOSSIBLE_CONVERSION, METHOD, NATIVE_CONVERSION
Modifier and Type | Method and Description |
---|---|
CachedMethod.ArgumentConversion |
getBaseConversion()
Return the conversion that is applied to the object
upon which the method is invoked.
|
Token |
invoke(java.lang.Object[] argValues)
Apply the operation represented by this object to
the specified arguments.
|
_areConversionsPreferable, _getConversion, _polymorphicGetMethod, clear, equals, findMethod, getCachedMethodType, getConversions, getMethod, getReturnType, hashCode, isFunction, isMethod, isValid, methodDescription, toString
public CachedMethod.ArgumentConversion getBaseConversion()
public Token invoke(java.lang.Object[] argValues) throws IllegalActionException
CachedMethod
invoke
in class CachedMethod
argValues
- An array of Token objects that will be used
as the arguments.IllegalActionException
- If this cached method is
not valid, or the invoked method throws it.