FindUsagesHandler (@NotNull PsiElement element, @NotNull OperationMode operationMode) { for (FindUsagesHandlerFactory factory : FindUsagesHandlerFactory.EP_NAME.getExtensions(myProject)) { if (factory.canFindUsages(element)) { FindUsagesHandler handler = factory.createFindUsagesHandler(element, operationMode); if (handler == FindUsagesHandler.NULL_HANDLER) return null; if (handler != null) { return handler; } } } return null; }