finalizeGivenWarnings abstract method

void finalizeGivenWarnings()

Marks all currently active warnings as passed (DistanceType.PASSED), notifies all registered WarningListener instances on the main thread, and then clears these warnings from their corresponding registries by invoking the appropriateWarningsRegistry.clear<Type> methods.

This method triggers notifications only for enabled warners. Warning processing may occur asynchronously unless synchronous mode is enabled.

Note: Although each warning type can also be cleared manually via the respective WarningsRegistry.clear<Type>() methods, finalizeGivenWarnings() provides a unified way to flush all active warnings after they have been reported as passed. If this method is not invoked, warnings will continue to accumulate in the registry according to the configured warning-generation options.

Implementation

void finalizeGivenWarnings();