Inspectopedia
 
2024.3

Redundant qualifier name

Warning
New
Last modified: 03 December 2024

Reports redundant qualifiers (or their parts) on class names, functions, and properties.

A fully qualified name is an unambiguous identifier that specifies which object, function, or property a call refers to. In the contexts where the name can be shortened, the inspection informs on the opportunity and the associated 'Remove redundant qualifier name' quick-fix allows amending the code.

Examples:

After the quick-fix is applied: