Groovy Documentation

groovy.org.codenarc.rule.formatting
[Groovy] Class BracesForTryCatchFinallyRule

java.lang.Object
  org.codenarc.rule.AbstractAstVisitorRule
      groovy.org.codenarc.rule.formatting.BracesForTryCatchFinallyRule

class BracesForTryCatchFinallyRule
extends AbstractAstVisitorRule

Checks the location of the opening brace ({) for try statements. By default, requires them on the line, but the sameLine property can be set to false to override this.

Authors:
Geli Crick
Hamlet D'Arcy


Property Summary
Class astVisitorClass

String name

int priority

boolean sameLine

 

Property Detail

astVisitorClass

Class astVisitorClass


name

String name


priority

int priority


sameLine

boolean sameLine


 

Groovy Documentation