void (@NotNull ProgressIndicator indicator) { if (ReadAction.compute(() -> ProjectRootManager.getInstance(project).getFileIndex().isInContent(virtualFile)) && isMarkedForCompilation(project, virtualFile)) { myErrorTitle = JavaByteCodeViewerBundle.message("class.file.may.be.out.of.date"); } myByteCode = ReadAction.compute(() -> { PsiElement targetElement = element.getElement(); return targetElement != null ? ByteCodeViewerManager.getByteCode(targetElement) : null; }); }