if (sourceType instanceof TypeBuilder) {
return isAssignable(sourceType.getBaseType(), targetType);
}
if (targetType instanceof TypeBuilder) {
final TypeBuilder targetTypeBuilder = (TypeBuilder) targetType;
return targetTypeBuilder.isCreated() &&
isAssignable(sourceType, targetTypeBuilder.createType());
}
return isConvertible(sourceType, targetType);
}