Usage (PsiElement @NotNull [] primaryElements, @NotNull UsageInfo usageInfo) { PsiElement usageElement = usageInfo.getElement(); if (usageElement != null && primaryElements.length != 0) { ReadWriteAccessDetector.Access rwAccess = ReadWriteUtil.getReadWriteAccess(primaryElements, usageElement); if (rwAccess != null) { return new ReadWriteAccessUsageInfo2UsageAdapter(usageInfo, rwAccess); } } return new UsageInfo2UsageAdapter(usageInfo); }