@Deprecated public abstract class AbstractFunctionComplexityDecorator extends Object implements Decorator
| Constructor and Description |
|---|
AbstractFunctionComplexityDecorator(Language language)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decorate(Resource resource,
DecoratorContext context)
Deprecated.
|
List<Metric> |
dependsUponFileAndComplexityMetrics()
Deprecated.
Used to define upstream dependencies
|
Metric |
generateFileComplexityMetric()
Deprecated.
Used to define downstream dependencies
|
boolean |
shouldExecuteOnProject(Project project)
Deprecated.
|
public AbstractFunctionComplexityDecorator(Language language)
language - this will be use to defined whether the decorator should be executed on a projectpublic boolean shouldExecuteOnProject(Project project)
shouldExecuteOnProject in interface CheckProjectpublic List<Metric> dependsUponFileAndComplexityMetrics()
public Metric generateFileComplexityMetric()
public void decorate(Resource resource, DecoratorContext context)
Copyright © 2009-2012 SonarSource. All Rights Reserved.