private static boolean isPsiType(@Nullable PsiClass containingClass) {
    return containingClass != null &&
           PsiType.class.getName().equals(containingClass.getQualifiedName());
  }
private static boolean isPsiType(@Nullable PsiClass containingClass)