Class ReflectiveLayoutBuilder
java.lang.Object
dev.engine.core.layout.ReflectiveLayoutBuilder
Builds StructLayouts via reflection at runtime.
This class uses Class.isRecord() and Class.getRecordComponents() which
are NOT available on TeaVM. It is loaded dynamically by StructLayout.of()
only on platforms that support reflection.
On TeaVM, this class is never loaded because StructLayout.of() checks for generated _NativeStruct classes first, and the reflection fallback uses Class.forName() to load this class — which fails on TeaVM since this class is not on the web classpath.
-
Method Summary
-
Method Details
-
build
-