TypeConversionDescriptorBase (PsiType from, PsiType to, PsiMember member, PsiExpression context, TypeMigrationLabeler labeler) { if (to instanceof PsiClassType toClassType && isThreadLocalTypeMigration(from, toClassType, context)) { return findDirectConversion(context, toClassType, from, labeler); } return null; }