package org.jetbrains.debugger;

import org.jetbrains.annotations.Nullable;
import org.jetbrains.debugger.values.FunctionValue;

/**
 * Exposes additional data if variable is a property of object and its property descriptor
 * is available.
 */
public interface ObjectProperty extends Variable {
  boolean isWritable();

  @Nullable
  FunctionValue getGetter();

  @Nullable
  FunctionValue getSetter();


  boolean isConfigurable();

  boolean isEnumerable();
}

@@ -27,53 +27,9 @@
 gger
-;%0A%0Aimport org.jetbrains.annotations.Nullable;
+%0A
 %0Aimp
@@ -75,17 +75,16 @@
 ionValue
-;
 %0A%0A/**%0A *
@@ -197,15 +197,8 @@
  */%0A
-public 
 inte
@@ -222,15 +222,9 @@
 rty 
-extends
+:
  Var
@@ -233,23 +233,19 @@
 ble %7B%0A  
-boolean
+val
  isWrita
@@ -251,136 +251,116 @@
 able
-();%0A%0A  @Nullable%0A  FunctionValue getGetter();%0A%0A  @Nullable%0A  FunctionValue getSetter();%0A%0A%0A  boolean isConfigurable();%0A%0A  boolean
+: Boolean%0A%0A  val getter: FunctionValue?%0A%0A  val setter: FunctionValue?%0A%0A%0A  val isConfigurable: Boolean%0A%0A  val
  isE
@@ -372,10 +372,16 @@
 able
-();
+: Boolean
 %0A%7D%0A

convert ObjectProperty to kotlin