Method
createEPackage(from:shouldIgnoreUnresolvedClassifiers:)
Create an EPackage from a DynamicEObject with full cross-reference resolution.
func createEPackage(from object: any EObject, shouldIgnoreUnresolvedClassifiers: Bool = false) async throws -> EPackage
Parameters
object-
The DynamicEObject representing an EPackage.
shouldIgnoreUnresolvedClassifiers-
If
true, continues processing when classifier resolution fails; iffalse, throws on resolution failure (default:false).
Return Value
A fully constructed EPackage with all classifiers and subpackages resolved.
Discussion
This method constructs a complete EPackage hierarchy by resolving all classifiers and subpackages through UUID-based cross-references. It serves as the primary factory method for loading Ecore metamodels from parsed XMI resources.