Eclipse Access Rules for Prohibited and Disgusting Links

After a long time searching, I did not find a good reaction to the lack of understanding.

I want to understand these parameters in Eclipse (indigo) for Java. These parameters are:

  • Prohibited link (access rules)
  • Rejected links (access rules)

I understand the annotation process in compiling Java or Javadoc, but not the @forbidden or @discouraged tags.

Why does Eclipse know if a link is forbidden or forbidden?

Where are these access rules? Is the process a Java or Eclipse process?

IMPORTANT: I ​​am not developing a plugin and I am not in Eclipse PDE.

Can you help me understand the logic of the process and theory for these options?

+4
source share
1 answer

Finally, I think I found the problem.

Access rules in Eclipse is a project to draft an assembly path for each or, as a rule, package library. And define 2 access options here as Prohibited and discouraged.

On the other hand, you can look for a problem from the manifest file from using the OSGi package. Because this file defines various access rules from using the package to other packages.

+3
source

Source: https://habr.com/ru/post/1400977/


All Articles