enforceDestroyMethods property

bool enforceDestroyMethods
final

Whether to enforce declared destroy methods.

If true, Jetleaf will throw an error if a destroyMethod does not exist on the produced object.

Implementation

final bool enforceDestroyMethods;