# Package groovy.org.codenarc.rule.grails

- Class Summary
  Class | Description
  --- | ---
  GrailsDomainCantReferenceServiceAstVisitor |
  GrailsDomainHasEqualsAstVisitor |
  GrailsDomainHasEqualsRule | Checks that Grails domain classes redefine equals().
  GrailsDomainHasToStringAstVisitor |
  GrailsDomainHasToStringRule | Checks that Grails domain classes redefine toString()
  GrailsDomainReservedSqlKeywordNameAstVisitor |
  GrailsDomainReservedSqlKeywordNameRule | Forbids usage of SQL reserved keywords as class or field names in Grails domain classes.
  GrailsDomainWithServiceReferenceRule | Checks that Grails Domain classes do not have Service classes injected.
  GrailsDuplicateConstraintAstVisitor |
  GrailsDuplicateConstraintRule | Check for duplicate constraints entry
  GrailsDuplicateMappingAstVisitor |
  GrailsDuplicateMappingRule | Check for duplicate entry in a domain class mapping
  GrailsMassAssignmentAstVisitor |
  GrailsMassAssignmentRule | Untrusted input should not be allowed to set arbitrary object fields without restriction.
  GrailsPublicControllerMethodAstVisitor |
  GrailsPublicControllerMethodRule | Rule that checks for public methods on Grails controller classes.
  GrailsServletContextReferenceAstVisitor |
  GrailsServletContextReferenceRule | Rule that checks for references to the servletContext object from within Grails controller and taglib classes.
  GrailsSessionReferenceAstVisitor |
  GrailsSessionReferenceRule | Rule that checks for references to the session object from within Grails controller and taglib classes.
  GrailsStatelessServiceRule | Rule that checks for non-`final` fields on a Grails service class.
  GrailsUtil | Utility methods and constants for Grails rule classes.