|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.puppycrawl.tools.checkstyle.api.AutomaticBean
com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
com.puppycrawl.tools.checkstyle.api.Check
com.puppycrawl.tools.checkstyle.checks.coding.AbstractSuperCheck
com.puppycrawl.tools.checkstyle.checks.coding.SuperFinalizeCheck
public class SuperFinalizeCheck
Checks that an overriding finalize() method invokes super.finalize().
Reference: Cleaning up unused objects.
An example of how to configure the check is:
<module name="SuperFinalize"/>
| Constructor Summary | |
|---|---|
SuperFinalizeCheck()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
getMethodName()
Returns the name of the overriding method. |
| Methods inherited from class com.puppycrawl.tools.checkstyle.checks.coding.AbstractSuperCheck |
|---|
beginTree, getDefaultTokens, leaveToken, visitToken |
| Methods inherited from class com.puppycrawl.tools.checkstyle.api.Check |
|---|
destroy, finishTree, getAcceptableTokens, getClassLoader, getFileContents, getLines, getRequiredTokens, getTabWidth, getTokenNames, init, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokens |
| Methods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter |
|---|
getCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, log, setId, setSeverity |
| Methods inherited from class com.puppycrawl.tools.checkstyle.api.AutomaticBean |
|---|
configure, contextualize, finishLocalSetup, getConfiguration, setupChild |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SuperFinalizeCheck()
| Method Detail |
|---|
protected java.lang.String getMethodName()
AbstractSuperCheck
getMethodName in class AbstractSuperCheck
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||