ensureObjectIsTransformed

Ensures that the given object and all objects reachable from it are transformed for Lincheck analysis. The function is called upon a test instance creation to ensure that all the classes related to it are transformed.

The function should be called from an ignored section of the analysis. If the INSTRUMENT_ALL_CLASSES flag is set to true, no transformation is performed.

Parameters

obj

the object to be transformed.