Interface IDartInternalObject
public interface IDartInternalObject
Basic interface for Dart objects.
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String key) Retrieve an object attribute by name.Retrieve the map of objects attributes.intRetrieve the object class id.booleanisBase()Determine whether this object is one of the snapshot's base objects.
-
Method Details
-
getClassId
int getClassId()Retrieve the object class id. To determine the class name, useIDartAotSnapshotInfo.getClassIdNameMap().- Returns:
- the class id
-
isBase
boolean isBase()Determine whether this object is one of the snapshot's base objects.- Returns:
- true if the object belongs to the base object set
-
getAttributes
Retrieve the map of objects attributes.- Returns:
- unmodifiable map
-
getAttribute
Retrieve an object attribute by name.- Parameters:
key- attribute name- Returns:
- an attribute, null if none
-