
resources.report.rules.findbugs.DM_NEW_FOR_GETCLASS.html Maven / Gradle / Ivy
Dm: Method allocates an object, only to get the class object (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 - 2025 Weber Informatics LLC | Privacy Policy