All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.pmd.rules.pmd.LoosePackageCoupling.html Maven / Gradle / Ivy

The newest version!
Avoid using classes from the configured package hierarchy outside of the package hierarchy,
except when using one of the configured allowed classes. Example:
package some.package;

import some.other.package.subpackage.subsubpackage.DontUseThisClass;

public class Bar {
   DontUseThisClass boo = new DontUseThisClass();
}

This rule is deprecated, use {rule:java:ArchitecturalConstraint} instead.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy