com.puppycrawl.tools.checkstyle.checks.coding
Class NoFinalizerCheck
java.lang.Object
com.puppycrawl.tools.checkstyle.api.AutomaticBean
com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
com.puppycrawl.tools.checkstyle.api.Check
com.puppycrawl.tools.checkstyle.checks.coding.AbstractIllegalMethodCheck
com.puppycrawl.tools.checkstyle.checks.coding.NoFinalizerCheck
- All Implemented Interfaces:
- Configurable, Contextualizable
public class NoFinalizerCheck
- extends AbstractIllegalMethodCheck
Checks that no method having zero parameters is defined
using the name finalize.
- Author:
- fqian@google.com (Feng Qian), smckay@google.com (Steve McKay), lkuehne
Methods inherited from class com.puppycrawl.tools.checkstyle.api.Check |
beginTree, destroy, finishTree, getAcceptableTokens, getClassLoader, getFileContents, getLines, getRequiredTokens, getTabWidth, getTokenNames, init, leaveToken, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokens |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoFinalizerCheck
public NoFinalizerCheck()
- Creates an instance.