boolean (PsiFile file, Editor editor, XmlAttribute context, int offset) { if (file.getLanguage() != XPathFileType.XPATH2.getLanguage()) return false; return super.actionPerformedImpl(file, editor, context, offset); }