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.Constructor and description |
---|
new(AbstractTypeComputationState,LightweightTypeReference,LightweightTypeReference) Constructor. |
Modifier and type | Action and description |
---|---|
protected java.lang.String | getValidClassSimpleName(String) Validate the simple name for class type. |
protected java.lang.String | getValidPrimitiveSimpleName(String) Validate the simple name for primitive type. |
boolean | isCastOperatorCandidate(IIdentifiableElementDescription) |
protected boolean | isValidParameters(JvmOperation) Validate the parameters of the operation. |
protected boolean | isValidReturnType(String,LightweightTypeReference) Validate the return type of the operation. |
protected new(AbstractTypeComputationState,LightweightTypeReference,LightweightTypeReference)
protected def getValidClassSimpleName(String) : java.lang.String
protected def getValidPrimitiveSimpleName(String) : java.lang.String
def isCastOperatorCandidate(IIdentifiableElementDescription) : boolean
protected def isValidParameters(JvmOperation) : boolean
protected def isValidReturnType(String,LightweightTypeReference) : boolean