Groovy Documentation

groovy.org.codenarc.rule.braces
[Groovy] Class ForStatementBracesRule

java.lang.Object
  org.codenarc.rule.AbstractAstVisitorRule
      groovy.org.codenarc.rule.braces.ForStatementBracesRule

class ForStatementBracesRule
extends AbstractAstVisitorRule

Rule that checks that for statements use braces rather than a single statement.

Authors:
Chris Mair


Property Summary
Class astVisitorClass

String name

int priority

 

Property Detail

astVisitorClass

Class astVisitorClass


name

String name


priority

int priority


 

Groovy Documentation