UsageType (@NotNull PsiElement element) { final PsiFile psiFile = element.getContainingFile(); if (psiFile != null && psiFile.getFileType() == GuiFormFileType.INSTANCE) { return FORM_USAGE_TYPE; } return null; }