Ordinarily, when referencing a static class in a managed package from outside, we would do this:
Now, if the
ns package is somehow uninstalled, this code should stop working, I assume. How would I be able to make sure that this code is executed only when the package is in the org?
Also, can I build the above code in an org in which the managed package does not exist?