Interface IDartAotSnapshotInfo


public interface IDartAotSnapshotInfo
Basic information about a Dart AOT snapshot.
  • Method Details

    • getVersionTag

      String getVersionTag()
      Retrieve the inferred Dart SDK version used to generate the snapshot.

      This information is not directly present in a snapshot. It is derived from the snapshot version hash.

      Returns:
      a high-level version tag, such as "2.17"
    • getVersionHash

      String getVersionHash()
      Retrieve a hex-encoded string of the snapshot version hash.
      Returns:
    • getSnapshotSize

      long getSnapshotSize()
      Returns:
    • getFeatures

      Set<String> getFeatures()
      Retrieve the set of snapshot features.
      Returns:
    • getBaseObjectsCount

      long getBaseObjectsCount()
      Returns:
    • getObjectsCount

      long getObjectsCount()
      Returns:
    • getInternalObjects

      List<IDartInternalObject> getInternalObjects()
      Retrieve the list of Dart objects.
      Returns:
    • getClassIdNameMap

      Map<Integer,String> getClassIdNameMap()
      Retrieve the mapping of Dart object class id to class name for Dart objects, as used by this snapshot. This map can be used to find out the actual type of a Dart internal object from its class id.
      Returns:
      a map of ids to names