com.puppycrawl.tools.checkstyle.checks.coding
public abstract class AbstractSuperCheck extends Check
Abstract class for checking that an overriding method with no parameters invokes the super method.
| Method Summary | |
|---|---|
| void | beginTree(DetailAST aRootAST)
{@inheritDoc} |
| int[] | getDefaultTokens() {@inheritDoc} |
| protected abstract String | getMethodName()
Returns the name of the overriding method. |
| void | leaveToken(DetailAST aAST)
{@inheritDoc} |
| void | visitToken(DetailAST aAST)
{@inheritDoc} |
Returns: the name of the overriding method.