author: Janos Czako author: Unnecessary constructor detects when a constructor is not author: necessary; i.e., when there's only one constructor, it's public, has an author: empty body, and takes no arguments. (PMD) author: Example: author: public DaoX(){ author: super(); author: }
Inner Class :public static class ConstructorSnooper
Method Summary
public void
visit(TypeDefinition element) Reviews the type definition if it violates against the rule.
Reviews the type definition if it violates against the rule.
Parameters: element - the type definition to be reviewed. throws: HammurapiException - in case of any exception in the chained visitor