public class AbcMetric extends AbstractMethodMetric implements groovy.lang.GroovyObject
| Constructor and Description |
|---|
AbcMetric() |
| Modifier and Type | Method and Description |
|---|---|
MetricResult |
calculate(org.codehaus.groovy.ast.expr.ClosureExpression closureExpression,
SourceCode sourceCode) |
MetricResult |
calculate(org.codehaus.groovy.ast.MethodNode methodNode,
SourceCode sourceCode) |
protected MetricResult |
createAggregateMetricResult(MetricLevel metricLevel,
Collection childMetricResults,
org.codehaus.groovy.ast.ASTNode node) |
groovy.lang.MetaClass |
getMetaClass() |
String |
getName() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
applyToClosure, applyToMethod, calculateForClass, getBaseLevel, getIncludeClosureFields, isIncludeClosureFields, setIncludeClosureFieldsapplyToClass, applyToPackage, calculateForPackage, createAggregateMetricResult, getEnabled, getFunctions, isEnabled, isNotAnInterface, setEnabled, setFunctionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyToClass, applyToPackage, getFunctions, isEnabledpublic groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectgetMetaClass in class AbstractMethodMetricpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectsetMetaClass in class AbstractMethodMetricpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectinvokeMethod in class AbstractMethodMetricpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class AbstractMethodMetricpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectsetProperty in class AbstractMethodMetricpublic MetricResult calculate(org.codehaus.groovy.ast.MethodNode methodNode, SourceCode sourceCode)
calculate in class AbstractMethodMetricpublic MetricResult calculate(org.codehaus.groovy.ast.expr.ClosureExpression closureExpression, SourceCode sourceCode)
calculate in class AbstractMethodMetricprotected MetricResult createAggregateMetricResult(MetricLevel metricLevel, Collection childMetricResults, org.codehaus.groovy.ast.ASTNode node)
createAggregateMetricResult in class AbstractMetricCopyright © 2015. All rights reserved.