Class StaticShape<T>

java.lang.Object
com.oracle.truffle.api.staticobject.StaticShape<T>
Type Parameters:
T - the default or the user-defined factory interface to allocate static objects

public abstract class StaticShape<T> extends Object
A StaticShape is an immutable descriptor of the layout of a static object and is a good entry point to learn about the Static Object Model. Here is an overview:

StaticShape cannot be subclassed by custom implementations and, when required, it allows static properties to check that the receiver object matches the expected shape.

Since:
21.3.0
See Also: