@Override
  public boolean isRelevantForFile(@NotNull Project project, @NotNull VirtualFile file) {
    return PsiManager.getInstance(project).findFile(file) instanceof PsiClassOwner;
  }
@Override
  public boolean isRelevantForFile(@NotNull Project project, @NotNull VirtualFile file)