to
for the object types, e.g. toString
; andValue
for the primitive types, e.g. (intValue
.E
is the type of the expression to cast and T
is the destination type:
T
is assignable from the the return value's type.E
is assignable from the argument's type.Modifier and type | Type and description |
---|---|
protected class | ObjectAndPrimitiveBasedCastOperationCandidateSelector.ObjectAndPrimitiveBasedSelector Select the functions that should be called in place of a classic cast operator. |
Modifier and type | Action and description |
---|---|
ISelector | prepare(AbstractTypeComputationState,LightweightTypeReference,LightweightTypeReference) |
new
def prepare(AbstractTypeComputationState,LightweightTypeReference,LightweightTypeReference) : ISelector