FieldMetrics, MethodMetrics@NotThreadSafe public class StatementElementMetrics extends CodeElementMetrics
Instances of this class are not safe for use by multiple threads without external synchronization.
| Modifier | Constructor | Description |
|---|---|---|
protected |
StatementElementMetrics(java.lang.String pName) |
Create a new
StatementElementMetrics. |
| Modifier and Type | Method | Description |
|---|---|---|
StatementMetrics |
getStatements() |
Get the statement metrics associated with this code element.
|
getComments, getNameprotected StatementElementMetrics(@Nonnull
java.lang.String pName)
StatementElementMetrics.pName - The name of the code element.java.lang.NullPointerException - if pName is null.@Nonnull public StatementMetrics getStatements()