TypeConversionDescriptorBase (PsiType from, PsiType to, PsiMember member, PsiExpression context, boolean isCovariantPosition, TypeMigrationLabeler labeler) { final TypeConversionDescriptorBase conversion = findConversion(from, to, member, context, labeler); if (conversion != null) return conversion; if (isCovariantPosition) { if (to instanceof PsiEllipsisType) { if (TypeConversionUtil.isAssignable(((PsiEllipsisType)to).getComponentType(), from)) return new TypeConversionDescriptorBase(); } if (TypeConversionUtil.isAssignable(to, from)) return new TypeConversionDescriptorBase(); } return !isCovariantPosition && TypeConversionUtil.isAssignable(from, to) ? new TypeConversionDescriptorBase() : null; }