public static boolean isImplicitUsage(@NotNull Project project, @NotNull PsiModifierListOwner element) {
    if (isInjected(project, element)) return true;
    for (ImplicitUsageProvider provider : ImplicitUsageProvider.EP_NAME.getExtensionList()) {
      ProgressManager.checkCanceled();
      if (provider.isImplicitUsage(element)) {
        return true;
      }
    }

    return false;
  }
public static boolean isImplicitUsage(@NotNull Project project, @NotNull PsiModifierListOwner element)