org.codenarc.rule.concurrency
[Groovy] Class SystemRunFinalizersOnExitRule
java.lang.Object
org.codenarc.rule.AbstractRule
org.codenarc.rule.AbstractAstVisitorRule
org.codenarc.rule.concurrency.SystemRunFinalizersOnExitRule
class SystemRunFinalizersOnExitRule
extends AbstractAstVisitorRule
Method calls to System.runFinalizersOnExit() should not be allowed. This method is inherently
non-thread-safe, may result in data corruption, deadlock, and may effect parts of the program
far removed from it's call point. It is deprecated, and it's use strongly discouraged.
- Authors:
- Hamlet D'Arcy
- Version:
- \$Revision: 609 \$ - \$Date: 2011-02-24 13:48:43 -0500 (Thu, 24 Feb 2011) \$
Methods inherited from class AbstractRule
|
applyTo, applyTo, createViolation, createViolation, createViolationForImport, createViolationForImport, getImportsSortedByLineNumber, getName, getPriority, isReady, packageNameForImport, setName, setPriority, sourceLineAndNumberForImport, sourceLineAndNumberForImport, toString, validate |
astVisitorClass
Class astVisitorClass
-
name
String name
-
priority
int priority
-
Groovy Documentation