Java checkstyle: how to write a check which is comparing class suffix to its package

38 Views Asked by At

How would I write a check which checks if the class is in the right package according to its suffix, eg.: class named DateTimeUtils should be in a package ending in *.util?

0

There are 0 best solutions below