String () { final PsiClass existingClass = JavaPsiFacade.getInstance(myProject).findClass(myQualifiedName, GlobalSearchScope.allScope(myProject)); if (existingClass != null) { if (TypeConversionUtil.isPrimitiveWrapper(myQualifiedName)) { final PsiPrimitiveType unboxedType = PsiPrimitiveType.getUnboxedType(JavaPsiFacade.getElementFactory(myProject).createType(existingClass)); assert unboxedType != null; return unboxedType.getCanonicalText() + "Value()"; } final PsiMethod getter = PropertyUtilBase.findGetterForField(myDelegateField); return getter != null ? getter.getName() : ""; } return ""; }