| Package | Description |
|---|---|
| org.sonar.squid.api | |
| org.sonar.squid.indexer | |
| org.sonar.squid.measures | |
| org.sonar.squid.text |
| Modifier and Type | Method and Description |
|---|---|
Object |
SourceCode.getData(Metric metric)
Deprecated.
since 2.1. It's replaced by getData(MetricDef). It's still defined for binary compatibility.
|
double |
SourceCode.getDouble(Metric metric)
Deprecated.
since 2.1. It's replaced by getDouble(MetricDef). It's still defined for binary compatibility.
|
int |
SourceCode.getInt(Metric metric)
Deprecated.
since 2.1. It's replaced by getInt(MetricDef). It's still defined for binary compatibility.
|
| Constructor and Description |
|---|
QueryByMeasure(Metric metric,
QueryByMeasure.Operator operator,
double value)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Metric |
Metric.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Metric[] |
Metric.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Source.getMeasure(Metric metric) |
int |
Source.getMeasure(Metric metric,
int fromLine,
int toLine)
Numbering of lines starts from 1.
|
Copyright © 2009-2012 SonarSource. All Rights Reserved.