private static @NotNull String getTypeRepresentation(@Nullable PsiType type) {
    if (type != null) {
      return type.getCanonicalText();
    }
    else {
      return "null";
    }
  }
private static @NotNull String getTypeRepresentation(@Nullable PsiType type)