This inspection reports any instances of utility classes with public constructors. Utility classes have all fields and methods declared static. Giving such classes a public constructor is confusing, and may lead to the class being inadvertantly instantiated. |
Powered by InspectionGadgets |