java.io.Serializable
, java.lang.Comparable<NcssMetric.NcssOption>
, net.sourceforge.pmd.lang.metrics.MetricOption
public static enum NcssMetric.NcssOption extends java.lang.Enum<NcssMetric.NcssOption> implements net.sourceforge.pmd.lang.metrics.MetricOption
Enum Constant | Description |
---|---|
COUNT_IMPORTS |
Counts import and package statement.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
valueName() |
|
static NcssMetric.NcssOption |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static NcssMetric.NcssOption[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NcssMetric.NcssOption COUNT_IMPORTS
public static NcssMetric.NcssOption[] values()
for (NcssMetric.NcssOption c : NcssMetric.NcssOption.values()) System.out.println(c);
public static NcssMetric.NcssOption valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String valueName()
valueName
in interface net.sourceforge.pmd.lang.metrics.MetricOption
Copyright © 2002–2018 PMD. All rights reserved.