# Package groovy.org.codenarc.rule.unused

- Class Summary
  Class | Description
  --- | ---
  AbstractLastStatementInBlockAstVisitor | Abstract superclass for AstVisitor classes that need to determine whether a Statement is the last statement within a block.
  ReferenceCollector | @author Hamlet D'Arcy
  UnusedArrayAstVisitor |
  UnusedArrayRule | Checks for array allocations that are not assigned or used (i.e., it is ignored).
  UnusedMethodParameterAstVisitor |
  UnusedMethodParameterRule | This rule finds instances of method parameters not being used.
  UnusedObjectAstVisitor |
  UnusedObjectRule | Checks for object constructions that are not assigned or used (i.e., ignored).
  UnusedPrivateFieldRule | Rule that checks for private fields that are not referenced within the same class.
  UnusedPrivateMethodAstVisitor |
  UnusedPrivateMethodParameterAstVisitor |
  UnusedPrivateMethodParameterRule | Rule that checks for parameters to private methods that are not referenced within the method body.
  UnusedPrivateMethodRule | Rule that checks for private methods that are not referenced within the same class.
  UnusedVariableAstVisitor |
  UnusedVariableRule | Rule that checks for variables that are not referenced.