package com.jetbrains.python.debugger;

import com.intellij.xdebugger.XSourcePosition;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;


public interface PyPositionConverter {

  @NotNull
  PySourcePosition create(@NotNull final String file, final int line);

  @NotNull
  PySourcePosition convertToPython(@NotNull final XSourcePosition position);

  @Nullable
  XSourcePosition convertFromPython(@NotNull final PySourcePosition position);

  @Nullable
  default XSourcePosition convertFromPython(@NotNull final PySourcePosition position, String frameName) {
    return convertFromPython(position);
  }

  PySignature convertSignature(PySignature signature);
}

@@ -393,16 +393,24 @@
 lable%0A  
+default 
 XSourceP
@@ -468,33 +468,55 @@
 sition position)
-;
+ %7B%0A    return null;%0A  %7D
 %0A%0A  @Nullable%0A  

Add default method for compatibility