public interface

IDartAotSnapshotInfo

com.pnfsoftware.jeb.core.units.code.dart.IDartAotSnapshotInfo

Class Overview

Basic information about a Dart AOT snapshot.

Summary

Public Methods
abstract long getBaseObjectsCount()
abstract Map<Integer, String> getClassIdNameMap()
Retrieve the mapping of Dart object class id to class name for Dart objects, as used by this snapshot.
abstract Set<String> getFeatures()
Retrieve the set of snapshot features.
abstract List<IDartInternalObject> getInternalObjects()
Retrieve the list of Dart objects.
abstract long getObjectsCount()
abstract long getSnapshotSize()
abstract String getVersionHash()
Retrieve a hex-encoded string of the snapshot version hash.
abstract String getVersionTag()
Retrieve the inferred Dart SDK version used to generate the snapshot.

Public Methods

public abstract long getBaseObjectsCount ()

public abstract 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

public abstract Set<String> getFeatures ()

Retrieve the set of snapshot features.

public abstract List<IDartInternalObject> getInternalObjects ()

Retrieve the list of Dart objects.

public abstract long getObjectsCount ()

public abstract long getSnapshotSize ()

public abstract String getVersionHash ()

Retrieve a hex-encoded string of the snapshot version hash.

public abstract 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"