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

resources.report.rules.findbugs.DM_NEW_FOR_GETCLASS.html Maven / Gradle / Ivy



DM_NEW_FOR_GETCLASS

Dm: Method allocates an object, only to get the class object (DM_NEW_FOR_GETCLASS)

This method allocates an object just to call getClass() on it, in order to retrieve the Class object for it. It is simpler to just access the .class property of the class.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy