java - How to prevent imports of packages from all classes except one class? -


i migrate code common collection 3 common collection 4 after migration want prevent imports of common collection 3 packages in classes except 1 class.

(unfortunately not have time migrate class).

i have found can not find how configure exclude list: http://checkstyle.sourceforge.net/config_imports.html#illegalimport

is possible configure checkstyle exclude classes?

other tools can it?

if ok configuring checkstyle rules achieve this, need use more complex option (illegalimport has 1 parameter - illegalpackage):

importcontrol.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -