@Nullable
  public static GrTypeDefinition getPublicClass(@NotNull Project project, @NotNull VirtualFile file) {
    return getPublicClass(file, PsiManager.getInstance(project));
  }
@Nullable
  public static GrTypeDefinition getPublicClass(@NotNull Project project, @NotNull VirtualFile file)