SourcePosition (SourcePosition original) { PsiFile file = getFile(); if (myOriginalLine < 0 || !file.isValid()) return original; file.getViewProvider().getDocument(); // to ensure decompilation SourcePosition position = calcLineMappedSourcePosition(file, myOriginalLine); return position != null ? position : original; }