@Override
  public @Nullable Function<? super @NotNull FileEditor, ? extends @Nullable JComponent> collectNotificationData(@NotNull Project project,
                                                                                                                 @NotNull VirtualFile file) {
    if (!file.getName().endsWith(".java") || !file.getPath().contains(GROOVY_STUBS)) return null;
    final PsiClass psiClass = findClassByStub(project, file);
    if (psiClass == null) return null;

    return fileEditor -> decorateStubFile(file, project, fileEditor);
  }
@Override
  public @Nullable Function<? super @NotNull FileEditor, ? extends @Nullable JComponent> collectNotificationData(@NotNull Project project,
                                                                                                                 @NotNull VirtualFile file)