public static ReadWriteAccessDetector.Access getReadWriteAccess(PsiElement @NotNull [] primaryElements, @NotNull PsiElement element) {
    for (ReadWriteAccessDetector detector : ReadWriteAccessDetector.EP_NAME.getExtensionList()) {
      if (isReadWriteAccessibleElements(primaryElements, detector)) {
        return detector.getExpressionAccess(element);
      }
    }
    return null;
  }
public static ReadWriteAccessDetector.Access getReadWriteAccess(PsiElement @NotNull [] primaryElements, @NotNull PsiElement element)