String (PsiExpression expression, PsiClassType expectedType, boolean primitiveExpected) { PsiType type = expression.getType(); if (expectedType != null && type != null) { final PsiMethod wrapper = findWrapper(type, expectedType, primitiveExpected, expression); if (wrapper != null) { final PsiClass containingClass = wrapper.getContainingClass(); if (containingClass != null) { return containingClass.getName() + '.' + wrapper.getName(); } } } return null; }