List<BlockingMethodChecker> (@NotNull PsiFile file, @NotNull Collection<String> blockingAnnotations, @NotNull Collection<String> nonBlockingAnnotations) { List<BlockingMethodChecker> blockingMethodCheckers = new ArrayList<>(BlockingMethodChecker.EP_NAME.getExtensionList()); blockingMethodCheckers.add(new AnnotationBasedBlockingMethodChecker(blockingAnnotations, nonBlockingAnnotations)); blockingMethodCheckers.removeIf(checker -> !checker.isApplicable(file)); return blockingMethodCheckers; }