</pre>
The advantages of this approach is that imported code is executed faster than instances created at runtime via {{Code|new()}}. A drawback is that no arguments can be passed on to the class constructor. As a consequence, the import only works will fail if the class provides a has at least one constructor with arguments and no argumentsdefault constructor.
=Context-Awareness=