Class ConstructorCallsOverridableMethodRule

All Implemented Interfaces:
AstVisitor, JavaVisitor, Rule, PropertySource

public final class ConstructorCallsOverridableMethodRule extends AbstractJavaRulechainRule
Searches through all methods and constructors called from constructors. It marks as dangerous any call to overridable methods from non-private constructors. It marks as dangerous any calls to dangerous private constructors from non-private constructors.
Author:
CL Gilbert (dnoyeb@users.sourceforge.net) TODO match parameter types. Aggressively strips off any package names. Normal compares the names as is. TODO What about interface declarations which can have internal classes