Usage (PsiFile psiFile, int offset) { PsiElement element = psiFile.findElementAt(offset % psiFile.getTextLength()); assertNotNull(element); return new UsageInfo2UsageAdapter(new UsageInfo(element)); }