XDebuggerEditorsProvider (@NotNull XLineBreakpoint<XBreakpointProperties> breakpoint, @NotNull Project project) { final XSourcePosition position = breakpoint.getSourcePosition(); if (position == null) { return null; } final PsiFile file = PsiManager.getInstance(project).findFile(position.getFile()); if (file == null) { return null; } final XsltChecker.LanguageLevel level = XsltSupport.getXsltLanguageLevel(file); if (level == XsltChecker.LanguageLevel.V1) { return myMyEditorsProvider1; } else if (level == XsltChecker.LanguageLevel.V2) { return myMyEditorsProvider2; } return null; }