List<PsiProvidesStatement> (@NotNull PsiJavaModule javaModule) { return StreamEx.of(javaModule.getProvides().iterator()) .filter(statement -> { final PsiJavaCodeReferenceElement reference = statement.getInterfaceReference(); return reference != null && myInterfaceName.equals(reference.getQualifiedName()); }) .toList(); }