PsiClassType (PsiClassType initialType) { PsiClass resolvedClass = initialType.resolve(); PsiClass target; if (resolvedClass == null || (target = myGuavaClassConversions.getValue().get(resolvedClass.getQualifiedName())) == null) { return null; } return addTypeParameters(initialType, initialType.resolveGenerics(), target); }