Groovy Documentation

groovy.org.codenarc.rule.basic
[Groovy] Class BigDecimalInstantiationAstVisitor

java.lang.Object
  org.codenarc.rule.AbstractConstructorCallAstVisitor
      groovy.org.codenarc.rule.basic.BigDecimalInstantiationAstVisitor

class BigDecimalInstantiationAstVisitor
extends AbstractConstructorCallAstVisitor

Property Summary
static def NEW_BIG_DECIMAL

 
Method Summary
protected String getViolationMessage(org.codehaus.groovy.ast.expr.ConstructorCallExpression call)

protected def isConstructorCallAViolation(org.codehaus.groovy.ast.expr.ConstructorCallExpression constructorCall)

 

Property Detail

NEW_BIG_DECIMAL

static final def NEW_BIG_DECIMAL


 
Method Detail

getViolationMessage

@Override
protected String getViolationMessage(org.codehaus.groovy.ast.expr.ConstructorCallExpression call)


isConstructorCallAViolation

@SuppressWarnings('ExplicitCallToGetAtMethod')
protected def isConstructorCallAViolation(org.codehaus.groovy.ast.expr.ConstructorCallExpression constructorCall)


 

Groovy Documentation