Class Layout
java.lang.Object
com.oracle.truffle.api.object.Layout
Deprecated.
Describes layout and behavior of a
DynamicObject subclass and is used to create shapes.
An object may change its shape but only to shapes of the same layout.
NB: Instances of this class should be created only in static initializers.- Since:
- 0.8 or earlier
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classDeprecated.Internal package access helper. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ShapebuildShape(Object dynamicType, Object sharedData, int flags, Assumption singleContextAssumption) Deprecated.Create a root shape.protected static LayoutFactoryDeprecated.abstract Class<? extends DynamicObject> getType()Deprecated.
-
Field Details
-
OPTION_PREFIX
-
-
Constructor Details
-
Layout
protected Layout()Deprecated.Constructor for subclasses.- Since:
- 0.8 or earlier
-
-
Method Details
-
getType
-
buildShape
protected Shape buildShape(Object dynamicType, Object sharedData, int flags, Assumption singleContextAssumption) Deprecated.Create a root shape.- Since:
- 20.2.0
-
getFactory
-
Shape.Builderinstead.