Programming Guidelines

From PATSWiki

Obey Access Rules to Code of other Plugins

Plugins may restrict the access to the classes that are defined in them in their plugin.xml file (on the page “runtime”). Usually all packages containing an “internal” in their path are not exported. This is to prevent you from using code that might change with the next version. To make sure that your code obeys the access rules of each plugin, select the compiler option to show an error. You find them under Windows / Preferences / Java / Compiler / Errors and Warnings / Deprecated and Restricted API.

Guide