Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
org.dartlang.vm.service.InstanceRefToString Class Reference

Public Member Functions

 InstanceRefToString (Isolate isolate, VmService service, OpLatch latch)
 
String toString (InstanceRef ref)
 

Detailed Description

Utility class for converting InstanceRef to a human readable string.

Definition at line 28 of file InstanceRefToString.java.

Constructor & Destructor Documentation

◆ InstanceRefToString()

org.dartlang.vm.service.InstanceRefToString.InstanceRefToString ( Isolate  isolate,
VmService  service,
OpLatch  latch 
)
inline

Construct a new instance for converting one or more InstanceRef to human readable strings. Specify an OpLatch so that this class can update the expiration time for any waiting thread as it makes VmService class to obtain details about each InstanceRef.

Definition at line 39 of file InstanceRefToString.java.

39 {
40 this.isolate = isolate;
41 this.service = service;
42 this.masterLatch = latch;
43 }

Member Function Documentation

◆ toString()

String org.dartlang.vm.service.InstanceRefToString.toString ( InstanceRef  ref)
inline

Return a human readable string for the given InstanceRef.

Definition at line 48 of file InstanceRefToString.java.

48 {
49 StringBuilder result = new StringBuilder();
50 printInstance(result, ref, 4);
51 return result.toString();
52 }
GAsyncResult * result

The documentation for this class was generated from the following file: