package org.jetbrains.debugger.sourcemap;

import org.jetbrains.annotations.Nullable;

/**
 * Mapping entry in the source map
 */
public abstract class MappingEntry {
  public abstract int getGeneratedColumn();

  public abstract int getGeneratedLine();

  public abstract int getSourceLine();

  public abstract int getSourceColumn();

  public int getSource() {
    return -1;
  }

  @Nullable
  public String getName() {
    return null;
  }
}

@@ -37,411 +37,249 @@
 emap
-;%0A%0Aimport org.jetbrains.annotations.Nullable;%0A%0A/**%0A * Mapping entry in the source map%0A */%0Apublic abstract class MappingEntry %7B%0A  public abstract int getGeneratedColumn();%0A%0A  public abstract int getGeneratedLine();%0A%0A  public abstract int getSourceLine();%0A%0A  public abstract int getSourceColumn();%0A%0A  public int getSource() %7B
+%0A%0A/**%0A * Mapping entry in the source map%0A */%0Ainterface MappingEntry %7B%0A  val generatedColumn: Int%0A%0A  val generatedLine: Int%0A%0A  val sourceLine: Int%0A%0A  val sourceColumn: Int%0A%0A  val source: Int
 %0A    
-return -1;%0A  %7D%0A%0A  @Nullable%0A  public String getName() %7B
+get() = -1%0A%0A  val name: String?
 %0A    
-return
+get() =
  null
-;%0A  %7D
 %0A%7D%0A

convert MappingEntry to kotlin