Interface IDartAotUnit
- All Superinterfaces:
IEventSource
,IUnit
,IUnitCreator
,IUserDataSupport
Top-level interface for JEB units representing parsed Dart AOT binaries.
Refer to this blog entry to learn about how JEB detects and processes Dart AOT snapshots.
-
Method Summary
Modifier and TypeMethodDescriptionBuild the primary pool.Retrieve the list of raw Dart objects held in the snapshots.Retrieve the application isolate snapshot information object.Retrieve the virtual machine snapshot information object.Methods inherited from interface com.pnfsoftware.jeb.util.events.IEventSource
addListener, countListeners, getListeners, getParentSource, insertListener, notifyListeners, removeListener, setParentSource
Methods inherited from interface com.pnfsoftware.jeb.core.units.IUnit
addChild, addChild, canBePersisted, dispose, generateQuickState, getChildren, getContributions, getCreationTimestamp, getDescription, getExtraInputs, getFormatter, getFormatType, getIconData, getInput, getInterpreters, getLock, getName, getNotes, getNotificationManager, getParent, getParentArtifact, getParentProject, getPropertyDefinitionManager, getPropertyManager, getRealName, getStatus, getUid, getUnitProcessor, initializePropertyObjects, isDisposed, isProcessed, isStale, isTransientChild, notifyGenericChange, postDeserialization, process, removeChild, setName, setNotes, setParent, setRealName, setUnitProcessor
Methods inherited from interface com.pnfsoftware.jeb.core.IUserDataSupport
clearAllData, getAllData, getData, setData
-
Method Details
-
getVmSnapshotInfo
IDartAotSnapshotInfo getVmSnapshotInfo()Retrieve the virtual machine snapshot information object.- Returns:
-
getIsolateSnapshotInfo
IDartAotSnapshotInfo getIsolateSnapshotInfo()Retrieve the application isolate snapshot information object.- Returns:
-
getInternalObjects
List<IDartInternalObject> getInternalObjects()Retrieve the list of raw Dart objects held in the snapshots.- Returns:
- immutable list
-
generatePrimaryPool
Build the primary pool. The primary pool is the first non-null Dart object ofkObjectPoolCid
type. Pool entries will be of the type anyLong
orIDartInternalObject
.Note that String pool entries will be IDartInternalObject having a "string-type" classId (
???StringCid
). For such objects, the string is contained in the "data" attribute.- Returns:
- the primary pool or null
-