Groovy Documentation

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

java.lang.Object
  org.codenarc.rule.AbstractRule
      groovy.org.codenarc.rule.formatting.BlankLineBeforePackageRule

class BlankLineBeforePackageRule
extends AbstractRule

Makes sure there are no blank lines before the package declaration of a source code file.

Authors:
Joe Sondow


Property Summary
String name

int priority

 
Method Summary
void applyTo(SourceCode sourceCode, List violations)

 

Property Detail

name

String name


priority

int priority


 
Method Detail

applyTo

@Override
void applyTo(SourceCode sourceCode, List violations)


 

Groovy Documentation