java - checking for illegal imports of remote.entities outside remote package -
when application needs query remote system, create “remote” package, “entity” sub-package containing classes easier process info retrieve. these classes shouldn’t leak out of remote package.
is there rule available (or under study) check importing x.y.remote.entities outside of x.y.remote package?
from question tags, see checkstyle based solution helpful you. importcontrol check should need. checkstyle features sonarqube plugin should require that.
Comments
Post a Comment