Package com.oracle.truffle.api.object
Class ObjectType
java.lang.Object
com.oracle.truffle.api.object.ObjectType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateShapeData(Shape shape) Creates a data object to be associated with a newly created shape.booleanequals(DynamicObject object, Object other) Delegate method forDynamicObject#equals(Object).inthashCode(DynamicObject object) Delegate method forDynamicObject#hashCode().voidonPropertyAdded(Property property, Shape shapeBefore, Shape shapeAfter) Called when a new property is added to a shape.toString(DynamicObject object) Delegate method forDynamicObject#toString().
-
Constructor Details
-
ObjectType
public ObjectType()
-
-
Method Details
-
equals
Delegate method forDynamicObject#equals(Object). -
hashCode
Delegate method forDynamicObject#hashCode(). -
toString
Delegate method forDynamicObject#toString(). -
createShapeData
Creates a data object to be associated with a newly created shape.- Parameters:
shape- the shape for which to create the data object
-
onPropertyAdded
Called when a new property is added to a shape.- Parameters:
property- the added propertyshapeBefore- shape before the property was addedshapeAfter- shape after the property was added
-