Uses of Class
net.sourceforge.pmd.lang.apex.ast.ASTMethod
-
-
Uses of ASTMethod in net.sourceforge.pmd.lang.apex.ast
Methods in net.sourceforge.pmd.lang.apex.ast with parameters of type ASTMethod Modifier and Type Method Description java.lang.Object
ApexParserVisitor. visit(ASTMethod node, java.lang.Object data)
java.lang.Object
ApexParserVisitorAdapter. visit(ASTMethod node, java.lang.Object data)
-
Uses of ASTMethod in net.sourceforge.pmd.lang.apex.metrics
Methods in net.sourceforge.pmd.lang.apex.metrics that return types with arguments of type ASTMethod Modifier and Type Method Description protected java.util.List<ASTMethod>
ApexMetricsComputer. findOperations(ASTUserClassOrInterface<?> node)
protected net.sourceforge.pmd.lang.metrics.MetricsComputer<ASTUserClassOrInterface<?>,ASTMethod>
ApexMetricsFacade. getLanguageSpecificComputer()
Methods in net.sourceforge.pmd.lang.apex.metrics with parameters of type ASTMethod Modifier and Type Method Description static double
ApexMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<ASTMethod> key, ASTMethod node)
Computes the standard version of the metric identified by the key on a operation AST node.static double
ApexMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<ASTMethod> key, ASTMethod node, net.sourceforge.pmd.lang.metrics.MetricOptions options)
Computes a metric identified by its key on a operation AST node, possibly selecting metric options with theoptions
parameter.Method parameters in net.sourceforge.pmd.lang.apex.metrics with type arguments of type ASTMethod Modifier and Type Method Description static double
ApexMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<ASTMethod> key, ASTMethod node)
Computes the standard version of the metric identified by the key on a operation AST node.static double
ApexMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<ASTMethod> key, ASTMethod node, net.sourceforge.pmd.lang.metrics.MetricOptions options)
Computes a metric identified by its key on a operation AST node, possibly selecting metric options with theoptions
parameter.static double
ApexMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<ASTMethod> key, ASTUserClassOrInterface<?> node, net.sourceforge.pmd.lang.metrics.MetricOptions options, net.sourceforge.pmd.lang.metrics.ResultOption resultOption)
Compute the sum, average, or highest value of the operation metric on all operations of the class node.static double
ApexMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<ASTMethod> key, ASTUserClassOrInterface<?> node, net.sourceforge.pmd.lang.metrics.ResultOption resultOption)
Compute the sum, average, or highest value of the standard operation metric on all operations of the class node. -
Uses of ASTMethod in net.sourceforge.pmd.lang.apex.metrics.api
Methods in net.sourceforge.pmd.lang.apex.metrics.api with parameters of type ASTMethod Modifier and Type Method Description boolean
ApexOperationMetricKey. supports(ASTMethod node)
-
Uses of ASTMethod in net.sourceforge.pmd.lang.apex.metrics.impl
Methods in net.sourceforge.pmd.lang.apex.metrics.impl with parameters of type ASTMethod Modifier and Type Method Description double
CycloMetric. computeFor(ASTMethod node, net.sourceforge.pmd.lang.metrics.MetricOptions options)
boolean
AbstractApexOperationMetric. supports(ASTMethod node)
Checks if the metric can be computed on the node. -
Uses of ASTMethod in net.sourceforge.pmd.lang.apex.metrics.impl.visitors
Methods in net.sourceforge.pmd.lang.apex.metrics.impl.visitors with parameters of type ASTMethod Modifier and Type Method Description java.lang.Object
StandardCycloVisitor. visit(ASTMethod node, java.lang.Object data)
-
Uses of ASTMethod in net.sourceforge.pmd.lang.apex.metrics.signature
Methods in net.sourceforge.pmd.lang.apex.metrics.signature with parameters of type ASTMethod Modifier and Type Method Description static ApexSignature.Visibility
ApexSignature.Visibility. get(ASTMethod method)
Finds out the visibility of a method node.static ApexOperationSignature
ApexOperationSignature. of(ASTMethod node)
Builds the signature of this node. -
Uses of ASTMethod in net.sourceforge.pmd.lang.apex.multifile
Methods in net.sourceforge.pmd.lang.apex.multifile with parameters of type ASTMethod Modifier and Type Method Description java.lang.Object
ApexMultifileVisitor. visit(ASTMethod node, java.lang.Object data)
-
Uses of ASTMethod in net.sourceforge.pmd.lang.apex.rule
Methods in net.sourceforge.pmd.lang.apex.rule with parameters of type ASTMethod Modifier and Type Method Description java.lang.Object
AbstractApexRule. visit(ASTMethod node, java.lang.Object data)
-
Uses of ASTMethod in net.sourceforge.pmd.lang.apex.rule.bestpractices
Methods in net.sourceforge.pmd.lang.apex.rule.bestpractices with parameters of type ASTMethod Modifier and Type Method Description java.lang.Object
ApexUnitTestClassShouldHaveAssertsRule. visit(ASTMethod node, java.lang.Object data)
java.lang.Object
ApexUnitTestShouldNotUseSeeAllDataTrueRule. visit(ASTMethod node, java.lang.Object data)
-
Uses of ASTMethod in net.sourceforge.pmd.lang.apex.rule.codestyle
Methods in net.sourceforge.pmd.lang.apex.rule.codestyle with parameters of type ASTMethod Modifier and Type Method Description java.lang.Object
MethodNamingConventionsRule. visit(ASTMethod node, java.lang.Object data)
-
Uses of ASTMethod in net.sourceforge.pmd.lang.apex.rule.design
Methods in net.sourceforge.pmd.lang.apex.rule.design with parameters of type ASTMethod Modifier and Type Method Description java.lang.Object
CyclomaticComplexityRule. visit(ASTMethod node, java.lang.Object data)
java.lang.Object
ExcessivePublicCountRule. visit(ASTMethod node, java.lang.Object data)
java.lang.Object
NcssConstructorCountRule. visit(ASTMethod node, java.lang.Object data)
java.lang.Object
NcssMethodCountRule. visit(ASTMethod node, java.lang.Object data)
java.lang.Object
NcssTypeCountRule. visit(ASTMethod node, java.lang.Object data)
java.lang.Object
StdCyclomaticComplexityRule. visit(ASTMethod node, java.lang.Object data)
-
Uses of ASTMethod in net.sourceforge.pmd.lang.apex.rule.errorprone
Methods in net.sourceforge.pmd.lang.apex.rule.errorprone with parameters of type ASTMethod Modifier and Type Method Description java.lang.Object
AvoidNonExistentAnnotationsRule. visit(ASTMethod node, java.lang.Object data)
-
Uses of ASTMethod in net.sourceforge.pmd.lang.apex.rule.security
Methods in net.sourceforge.pmd.lang.apex.rule.security with parameters of type ASTMethod Modifier and Type Method Description java.lang.Object
ApexCSRFRule. visit(ASTMethod node, java.lang.Object data)
-