Package com.google.gwt.core.client.debug
Class JsoInspector
- java.lang.Object
-
- com.google.gwt.core.client.debug.JsoInspector
-
public class JsoInspector extends java.lang.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JsoInspector.JsoProperty
A simple Java object to hold a key and value pair.
-
Constructor Summary
Constructors Constructor Description JsoInspector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
convertToInspectableObject(java.lang.Object jso)
Wraps a JavaScript object into a suitable inspectable type.
-