Class ObjectType

java.lang.Object
com.oracle.truffle.api.object.ObjectType

public class ObjectType extends Object
  • Constructor Details

    • ObjectType

      public ObjectType()
  • Method Details

    • equals

      public boolean equals(DynamicObject object, Object other)
      Delegate method for DynamicObject#equals(Object).
    • hashCode

      public int hashCode(DynamicObject object)
      Delegate method for DynamicObject#hashCode().
    • toString

      public String toString(DynamicObject object)
      Delegate method for DynamicObject#toString().
    • createShapeData

      public Object createShapeData(Shape shape)
      Creates a data object to be associated with a newly created shape.
      Parameters:
      shape - the shape for which to create the data object
    • onPropertyAdded

      public void onPropertyAdded(Property property, Shape shapeBefore, Shape shapeAfter)
      Called when a new property is added to a shape.
      Parameters:
      property - the added property
      shapeBefore - shape before the property was added
      shapeAfter - shape after the property was added