net.sourceforge.pmd.lang.metrics.MetricKey<ASTUserClassOrInterface<?>>public enum ApexClassMetricKey extends java.lang.Enum<ApexClassMetricKey> implements net.sourceforge.pmd.lang.metrics.MetricKey<ASTUserClassOrInterface<?>>
| Enum Constant | Description |
|---|---|
WMC |
| Modifier and Type | Method | Description |
|---|---|---|
ApexClassMetric |
getCalculator() |
|
boolean |
supports(ASTUserClassOrInterface<?> node) |
|
static ApexClassMetricKey |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ApexClassMetricKey[] |
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, valueOfnamepublic static final ApexClassMetricKey WMC
public static ApexClassMetricKey[] values()
for (ApexClassMetricKey c : ApexClassMetricKey.values()) System.out.println(c);
public static ApexClassMetricKey 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 ApexClassMetric getCalculator()
getCalculator in interface net.sourceforge.pmd.lang.metrics.MetricKey<ASTUserClassOrInterface<?>>public boolean supports(ASTUserClassOrInterface<?> node)
supports in interface net.sourceforge.pmd.lang.metrics.MetricKey<ASTUserClassOrInterface<?>>Copyright © 2002–2018 PMD. All rights reserved.