checkJavaUsed

Checks if the code uses Java. It may be that one wants to be independent of Java, for example because Java packages and subpackages will not be available in MATLAB in a future release.

Exemption tag: %@ok<JAVUS>