net.sourceforge.pmd.lang.metrics.MetricOption
public static enum CycloMetric.CycloOption extends java.lang.Enum<CycloMetric.CycloOption> implements net.sourceforge.pmd.lang.metrics.MetricOption
Enum Constant | Description |
---|---|
CONSIDER_ASSERT |
Consider assert statements.
|
IGNORE_BOOLEAN_PATHS |
Do not count the paths in boolean expressions as decision points.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
valueName() |
|
static CycloMetric.CycloOption |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CycloMetric.CycloOption[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final CycloMetric.CycloOption IGNORE_BOOLEAN_PATHS
public static final CycloMetric.CycloOption CONSIDER_ASSERT
public static CycloMetric.CycloOption[] values()
for (CycloMetric.CycloOption c : CycloMetric.CycloOption.values()) System.out.println(c);
public static CycloMetric.CycloOption 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.