TypeConversionDescriptorBase (PsiType from, PsiType to, PsiMember member, PsiExpression context, TypeMigrationLabeler labeler) { if (to instanceof PsiClassType) { AtomicConversionType type = AtomicConversionType.getConversionType(from, (PsiClassType)to, context); if (type != null) { return findDirectConversion(context, to, from, type, labeler); } } if (from instanceof PsiClassType && AtomicConversionType.getConversionType(to, (PsiClassType)from, context) != null) { return findReverseConversion(context); } return null; }