Class InternalKlumObjectSupport
java.lang.Object
com.blackbuild.klum.ast.runtime.internal.InternalKlumObjectSupport
Internal cross-package lifecycle linkage for completed DSL Object state.
This class is public only because validation and process implementations live in sibling runtime packages. It is not supported client API and deliberately exposes no companion or generic metadata operations.
-
Method Summary
Modifier and TypeMethodDescriptionstatic KlumValidationResultgetOrCreateValidationResult(Object instance) Returns lifecycle validation state for a Builder or completed model, creating it when absent.Returns the direct owners recorded for an ordinary completed DSL Object.static KlumValidationResultgetValidationResult(Object instance) Returns stored validation state for a Builder or completed model without creating it.static booleanisModelProxy(Object instance) Returns whether an object is the runtime's internal completed-model companion.static booleanmarkValidatorExecuted(Object instance, Class<?> validatorType) Marks one completed-model validator implementation as executed.static voidrequireCompletedModel(Object instance) Verifies that an object is an ordinary completed DSL Object.static voidsetModelPathIfAbsent(Object instance, String path) Initializes a completed root's model path when materialization has not supplied one.
-
Method Details
-
getValidationResult
Returns stored validation state for a Builder or completed model without creating it. -
isModelProxy
Returns whether an object is the runtime's internal completed-model companion. -
requireCompletedModel
Verifies that an object is an ordinary completed DSL Object. -
getOwners
Returns the direct owners recorded for an ordinary completed DSL Object. -
getOrCreateValidationResult
Returns lifecycle validation state for a Builder or completed model, creating it when absent. -
markValidatorExecuted
Marks one completed-model validator implementation as executed. -
setModelPathIfAbsent
Initializes a completed root's model path when materialization has not supplied one.
-