method setup_finalization

Documentation for method setup_finalization assembled from the following types:

role Metamodel::Finalization

From Metamodel::Finalization

(Metamodel::Finalization) method setup_finalization

method setup_finalization(Metamodel::Finalization:D: $obj)

Collects the DESTROY submethods from this class and all its superclasses, and marks the class as needing action on garbage collection.

A metamodel for a kind that implements finalization semantics must call this method at type composition time.