Class AccessorClassGenerationRule

All Implemented Interfaces:
AstVisitor, JavaVisitor, Rule, PropertySource

public class AccessorClassGenerationRule extends AbstractJavaRulechainRule
1. Note all private constructors. 2. Note all instantiations from outside of the class by way of the private constructor. 3. Flag instantiations.

Parameter types can not be matched because they can come as exposed members of classes. In this case we have no way to know what the type is. We can make a best effort though which can filter some?

Author:
CL Gilbert (dnoyeb@users.sourceforge.net), David Konecny (david.konecny@), Romain PELISSE, belaran@gmail.com, patch bug#1807370, Juan Martin Sotuyo Dodero (juansotuyo@gmail.com), complete rewrite