Rule to Require this. and super

As a developer, it is important to be able to follow what code is referring to.

It isn’t always clear if a method or property exists on an instance or in a parent class as Apex can infer these things without explicit references.

It would be great if Clayton would require references to “this” or “super” as appropriate.
(Even better if Clayton does not accept “this” when the method is on the parent.

2 Likes