String (@NotNull PsiType type) { type = type.getDeepComponentType(); return type instanceof PsiClassType ? ((PsiClassType)type).getClassName() : type instanceof PsiPrimitiveType ? type.getPresentableText() : null; }