public static class CachedMethod.TypeArgumentConversion extends CachedMethod.ArgumentConversion
_preference
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
convert(Token input)
Convert the given token into an object that can be used to
invoke a method through the reflection mechanism.
|
boolean |
isPreferableTo(CachedMethod.ArgumentConversion conversion)
Return true if this conversion is preferable to the given
conversion.
|
java.lang.String |
toString()
Return a string representation of this conversion.
|
getPreference
public java.lang.Object convert(Token input) throws IllegalActionException
convert
in class CachedMethod.ArgumentConversion
input
- The token to be convertedIllegalActionException
- Always thrown in this
base class.public boolean isPreferableTo(CachedMethod.ArgumentConversion conversion)
isPreferableTo
in class CachedMethod.ArgumentConversion
conversion
- The conversion to be tested.public java.lang.String toString()
toString
in class CachedMethod.ArgumentConversion