Inspectopedia
 
2024.3

Instantiating object to get 'Class' object

Warning
New
Last modified: 03 December 2024

Reports code that instantiates a class to get its class object.

It is more performant to access the class object directly by name.

Example:

After the quick-fix is applied: