Skip to content

Abstract method not overriden rule #22

@peteruhnak

Description

@peteruhnak

(I am not sure if suggestions for new rules should go here or to fogzbugz; I can move it if needed…)

A new rule that would warn me if I didn't override an abstract method.

An abstract method contains self subclassResponsibility.

The "autofix" option could use RBRealizeClassRefactoring to automatically create stubs for the abstract methods. (This is what is used by right click on class → Refactoring → class refactoring → realize)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions