org.codenarc.rule.size
Class AbcComplexityRule
java.lang.Object
org.codenarc.rule.AbstractRule
org.codenarc.rule.AbstractAstVisitorRule
org.codenarc.rule.size.AbcComplexityRule
- All Implemented Interfaces:
- groovy.lang.GroovyObject, Rule
public class AbcComplexityRule
- extends AbstractAstVisitorRule
- implements groovy.lang.GroovyObject
Methods inherited from class org.codenarc.rule.AbstractRule |
applyTo, createViolation, createViolation, createViolation, createViolation, createViolation, createViolationForImport, createViolationForImport, getApplyToFileNames, getApplyToFilesMatching, getDescription, getDoNotApplyToFileNames, getDoNotApplyToFilesMatching, getEnabled, getImportsSortedByLineNumber, getLOG, getViolationMessage, isEnabled, isReady, packageNameForImport, setApplyToFileNames, setApplyToFilesMatching, setDescription, setDoNotApplyToFileNames, setDoNotApplyToFilesMatching, setEnabled, setViolationMessage, sourceLineAndNumberForImport, sourceLineAndNumberForImport, toString, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbcComplexityRule
public AbcComplexityRule()
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interface groovy.lang.GroovyObject
- Overrides:
getMetaClass
in class AbstractAstVisitorRule
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interface groovy.lang.GroovyObject
- Overrides:
setMetaClass
in class AbstractAstVisitorRule
invokeMethod
public java.lang.Object invokeMethod(java.lang.String method,
java.lang.Object arguments)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
- Overrides:
invokeMethod
in class AbstractAstVisitorRule
getProperty
public java.lang.Object getProperty(java.lang.String property)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
- Overrides:
getProperty
in class AbstractAstVisitorRule
setProperty
public void setProperty(java.lang.String property,
java.lang.Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
- Overrides:
setProperty
in class AbstractAstVisitorRule
getName
public java.lang.String getName()
- Specified by:
getName
in interface Rule
- Specified by:
getName
in class AbstractRule
setName
public void setName(java.lang.String value)
- Specified by:
setName
in class AbstractRule
getPriority
public int getPriority()
- Specified by:
getPriority
in interface Rule
- Specified by:
getPriority
in class AbstractRule
setPriority
public void setPriority(int value)
- Specified by:
setPriority
in class AbstractRule
getAstVisitorClass
public java.lang.Class getAstVisitorClass()
- Overrides:
getAstVisitorClass
in class AbstractAstVisitorRule
setAstVisitorClass
public void setAstVisitorClass(java.lang.Class value)
- Overrides:
setAstVisitorClass
in class AbstractAstVisitorRule
getMaxMethodComplexity
public int getMaxMethodComplexity()
setMaxMethodComplexity
public void setMaxMethodComplexity(int value)
getMaxClassAverageMethodComplexity
public int getMaxClassAverageMethodComplexity()
setMaxClassAverageMethodComplexity
public void setMaxClassAverageMethodComplexity(int value)
getIgnoreMethodNames
public java.lang.String getIgnoreMethodNames()
setIgnoreMethodNames
public void setIgnoreMethodNames(java.lang.String value)
Copyright © 2011. All Rights Reserved.