Class JsoInspector

java.lang.Object
com.google.gwt.core.client.debug.JsoInspector

public class JsoInspector extends Object
This class provides an API for IDEs to inspect JavaScript objects and is not intended to be used in GWT applications. IDEs that allow custom value renderers for debugging can use it to box JavaScript objects into suitable Java types. TODO: provide a way to test whether a node has children (to be used as an optimization in IntelliJ). TODO: implement and return concrete JsoProperty subtypes (Integer, Float, etc.) to get more descriptive labels in IntelliJ.
  • Constructor Details

    • JsoInspector

      public JsoInspector()
  • Method Details

    • convertToInspectableObject

      public static Object convertToInspectableObject(Object jso)
      Wraps a JavaScript object into a suitable inspectable type.