com.puppycrawl.tools.checkstyle.checks.coding
public class MissingCtorCheck extends DescendantTokenCheck
Checks that classes (except abstract one) define a ctor and don't rely on the default one.
An example of how to configure the check is:
<module name="MissingCtor"/>
| Constructor Summary | |
|---|---|
| MissingCtorCheck() Creates new instance of the check. | |
| Method Summary | |
|---|---|
| int[] | getAcceptableTokens() |
| int[] | getDefaultTokens() |
| void | visitToken(DetailAST aAST) |