Uses of Interface
net.sourceforge.pmd.lang.java.ast.MethodLikeNode
-
Packages that use MethodLikeNode Package Description net.sourceforge.pmd.lang.java.ast Contains the classes and interfaces modelling the Java AST.net.sourceforge.pmd.lang.java.metrics net.sourceforge.pmd.lang.java.metrics.api net.sourceforge.pmd.lang.java.metrics.impl net.sourceforge.pmd.lang.java.rule Contains the built-in rules bundled with the Java distribution.net.sourceforge.pmd.lang.java.rule.design -
-
Uses of MethodLikeNode in net.sourceforge.pmd.lang.java.ast
Subinterfaces of MethodLikeNode in net.sourceforge.pmd.lang.java.ast Modifier and Type Interface Description interface
ASTMethodOrConstructorDeclaration
Groups method and constructor declarations under a common type.Classes in net.sourceforge.pmd.lang.java.ast that implement MethodLikeNode Modifier and Type Class Description class
AbstractMethodLikeNode
class
AbstractMethodOrConstructorDeclaration
class
ASTAnnotationMethodDeclaration
class
ASTConstructorDeclaration
class
ASTLambdaExpression
class
ASTMethodDeclaration
Method declaration node.Methods in net.sourceforge.pmd.lang.java.ast with parameters of type MethodLikeNode Modifier and Type Method Description java.lang.Object
JavaParserVisitorReducedAdapter. visit(MethodLikeNode node, java.lang.Object data)
-
Uses of MethodLikeNode in net.sourceforge.pmd.lang.java.metrics
Methods in net.sourceforge.pmd.lang.java.metrics that return types with arguments of type MethodLikeNode Modifier and Type Method Description protected java.util.List<MethodLikeNode>
JavaMetricsComputer. findOperations(ASTAnyTypeDeclaration node)
Methods in net.sourceforge.pmd.lang.java.metrics with parameters of type MethodLikeNode Modifier and Type Method Description static double
JavaMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<MethodLikeNode> key, MethodLikeNode node)
Computes the standard version of the metric identified by the key on a operation AST node.static double
JavaMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<MethodLikeNode> key, MethodLikeNode node, net.sourceforge.pmd.lang.metrics.MetricOptions options)
Computes a metric identified by its key on a operation AST node.Method parameters in net.sourceforge.pmd.lang.java.metrics with type arguments of type MethodLikeNode Modifier and Type Method Description static double
JavaMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<MethodLikeNode> key, ASTAnyTypeDeclaration 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
JavaMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<MethodLikeNode> key, ASTAnyTypeDeclaration 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.static double
JavaMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<MethodLikeNode> key, ASTMethodOrConstructorDeclaration node)
Deprecated.Provided here for backwards binary compatibility withJavaMetrics.get(MetricKey, MethodLikeNode)
.static double
JavaMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<MethodLikeNode> key, ASTMethodOrConstructorDeclaration node, net.sourceforge.pmd.lang.metrics.MetricOptions options)
Deprecated.Provided here for backwards binary compatibility withJavaMetrics.get(MetricKey, MethodLikeNode, MetricOptions)
.static double
JavaMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<MethodLikeNode> key, MethodLikeNode node)
Computes the standard version of the metric identified by the key on a operation AST node.static double
JavaMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<MethodLikeNode> key, MethodLikeNode node, net.sourceforge.pmd.lang.metrics.MetricOptions options)
Computes a metric identified by its key on a operation AST node. -
Uses of MethodLikeNode in net.sourceforge.pmd.lang.java.metrics.api
Methods in net.sourceforge.pmd.lang.java.metrics.api with parameters of type MethodLikeNode Modifier and Type Method Description boolean
JavaOperationMetricKey. supports(MethodLikeNode node)
-
Uses of MethodLikeNode in net.sourceforge.pmd.lang.java.metrics.impl
Methods in net.sourceforge.pmd.lang.java.metrics.impl with parameters of type MethodLikeNode Modifier and Type Method Description double
AtfdMetric.AtfdOperationMetric. computeFor(MethodLikeNode node, net.sourceforge.pmd.lang.metrics.MetricOptions options)
double
CycloMetric. computeFor(MethodLikeNode node, net.sourceforge.pmd.lang.metrics.MetricOptions options)
double
LocMetric.LocOperationMetric. computeFor(MethodLikeNode node, net.sourceforge.pmd.lang.metrics.MetricOptions options)
double
NcssMetric.NcssOperationMetric. computeFor(MethodLikeNode node, net.sourceforge.pmd.lang.metrics.MetricOptions options)
double
NpathMetric. computeFor(MethodLikeNode node, net.sourceforge.pmd.lang.metrics.MetricOptions options)
boolean
AbstractJavaOperationMetric. supports(MethodLikeNode node)
Returns true if the metric can be computed on this operation.boolean
AtfdMetric.AtfdOperationMetric. supports(MethodLikeNode node)
boolean
LocMetric.LocOperationMetric. supports(MethodLikeNode node)
boolean
NcssMetric.NcssOperationMetric. supports(MethodLikeNode node)
-
Uses of MethodLikeNode in net.sourceforge.pmd.lang.java.rule
Methods in net.sourceforge.pmd.lang.java.rule with parameters of type MethodLikeNode Modifier and Type Method Description java.lang.Object
AbstractJavaMetricsRule. visit(MethodLikeNode node, java.lang.Object data)
-
Uses of MethodLikeNode in net.sourceforge.pmd.lang.java.rule.design
Methods in net.sourceforge.pmd.lang.java.rule.design with parameters of type MethodLikeNode Modifier and Type Method Description java.lang.Object
CyclomaticComplexityRule. visit(MethodLikeNode node, java.lang.Object data)
-