SourcePosition (XLineBreakpointImpl breakpoint) { VirtualFile file = breakpoint.getFile(); if (file != null) { PsiFile psiFile = PsiManager.getInstance(breakpoint.getProject()).findFile(file); if (psiFile != null) { return SourcePosition.createFromLine(psiFile, breakpoint.getLine()); } } return null; }