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