Uses of Interface
net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
-
Packages that use ASTAnyTypeDeclaration Package Description net.sourceforge.pmd.lang.java 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.metrics.impl.visitors net.sourceforge.pmd.lang.java.multifile net.sourceforge.pmd.lang.java.qname net.sourceforge.pmd.lang.java.rule Contains the built-in rules bundled with the Java distribution.net.sourceforge.pmd.lang.java.rule.bestpractices net.sourceforge.pmd.lang.java.rule.design -
-
Uses of ASTAnyTypeDeclaration in net.sourceforge.pmd.lang.java
Methods in net.sourceforge.pmd.lang.java that return types with arguments of type ASTAnyTypeDeclaration Modifier and Type Method Description List<? extends MetricKey<ASTAnyTypeDeclaration>>
JavaLanguageHandler.JavaMetricsProvider. getAvailableTypeMetrics()
LanguageMetricsProvider<ASTAnyTypeDeclaration,MethodLikeNode>
AbstractJavaHandler. getLanguageMetricsProvider()
Deprecated.Methods in net.sourceforge.pmd.lang.java with parameters of type ASTAnyTypeDeclaration Modifier and Type Method Description protected List<MethodLikeNode>
JavaLanguageHandler.JavaMetricsProvider. findOps(ASTAnyTypeDeclaration astAnyTypeDeclaration)
-
Uses of ASTAnyTypeDeclaration in net.sourceforge.pmd.lang.java.ast
Classes in net.sourceforge.pmd.lang.java.ast that implement ASTAnyTypeDeclaration Modifier and Type Class Description class
AbstractAnyTypeDeclaration
Deprecated.class
ASTAnnotationTypeDeclaration
class
ASTClassOrInterfaceDeclaration
Represents class and interface declarations.class
ASTEnumDeclaration
class
ASTRecordDeclaration
A record declaration is a special data class type (JDK 14 and JDK 15 preview feature).Methods in net.sourceforge.pmd.lang.java.ast that return ASTAnyTypeDeclaration Modifier and Type Method Description ASTAnyTypeDeclaration
AbstractAnyTypeDeclaration. getEnclosingTypeDeclaration()
Deprecated.Returns the enclosing type of this type, if it is nested.Methods in net.sourceforge.pmd.lang.java.ast with parameters of type ASTAnyTypeDeclaration Modifier and Type Method Description Object
JavaParserVisitorReducedAdapter. visit(ASTAnyTypeDeclaration node, Object data)
Deprecated. -
Uses of ASTAnyTypeDeclaration in net.sourceforge.pmd.lang.java.metrics
Methods in net.sourceforge.pmd.lang.java.metrics with parameters of type ASTAnyTypeDeclaration Modifier and Type Method Description protected List<MethodLikeNode>
JavaMetricsComputer. findOperations(ASTAnyTypeDeclaration node)
Deprecated.static List<MethodLikeNode>
JavaMetrics. findOps(ASTAnyTypeDeclaration node)
Deprecated.static double
JavaMetrics. get(MetricKey<ASTAnyTypeDeclaration> key, ASTAnyTypeDeclaration node)
Deprecated.Computes the standard value of the metric identified by its code on a class AST node.static double
JavaMetrics. get(MetricKey<ASTAnyTypeDeclaration> key, ASTAnyTypeDeclaration node, MetricOptions options)
Deprecated.Computes a metric identified by its code on a class AST node, possibly selecting a variant with theMetricOptions
parameter.static double
JavaMetrics. get(MetricKey<MethodLikeNode> key, ASTAnyTypeDeclaration node, MetricOptions options, ResultOption resultOption)
Deprecated.Compute the sum, average, or highest value of the operation metric on all operations of the class node.static double
JavaMetrics. get(MetricKey<MethodLikeNode> key, ASTAnyTypeDeclaration node, ResultOption resultOption)
Deprecated.Compute the sum, average, or highest value of the standard operation metric on all operations of the class node.Method parameters in net.sourceforge.pmd.lang.java.metrics with type arguments of type ASTAnyTypeDeclaration Modifier and Type Method Description static double
JavaMetrics. get(MetricKey<ASTAnyTypeDeclaration> key, ASTAnyTypeDeclaration node)
Deprecated.Computes the standard value of the metric identified by its code on a class AST node.static double
JavaMetrics. get(MetricKey<ASTAnyTypeDeclaration> key, ASTAnyTypeDeclaration node, MetricOptions options)
Deprecated.Computes a metric identified by its code on a class AST node, possibly selecting a variant with theMetricOptions
parameter. -
Uses of ASTAnyTypeDeclaration in net.sourceforge.pmd.lang.java.metrics.api
Methods in net.sourceforge.pmd.lang.java.metrics.api with parameters of type ASTAnyTypeDeclaration Modifier and Type Method Description boolean
JavaClassMetricKey. supports(ASTAnyTypeDeclaration node)
-
Uses of ASTAnyTypeDeclaration in net.sourceforge.pmd.lang.java.metrics.impl
Methods in net.sourceforge.pmd.lang.java.metrics.impl with parameters of type ASTAnyTypeDeclaration Modifier and Type Method Description double
AtfdMetric.AtfdClassMetric. computeFor(ASTAnyTypeDeclaration node, MetricOptions options)
double
ClassFanOutMetric.ClassFanOutClassMetric. computeFor(ASTAnyTypeDeclaration node, MetricOptions options)
double
LocMetric.LocClassMetric. computeFor(ASTAnyTypeDeclaration node, MetricOptions options)
double
NcssMetric.NcssClassMetric. computeFor(ASTAnyTypeDeclaration node, MetricOptions options)
double
NoamMetric. computeFor(ASTAnyTypeDeclaration node, MetricOptions options)
double
NopaMetric. computeFor(ASTAnyTypeDeclaration node, MetricOptions options)
double
TccMetric. computeFor(ASTAnyTypeDeclaration node, MetricOptions options)
double
WmcMetric. computeFor(ASTAnyTypeDeclaration node, MetricOptions options)
double
WocMetric. computeFor(ASTAnyTypeDeclaration node, MetricOptions options)
protected int
AbstractJavaClassMetric. countMatchingFieldSigs(ASTAnyTypeDeclaration classNode, JavaFieldSigMask mask)
Counts the fields matching the signature mask in this class.protected int
AbstractJavaClassMetric. countMatchingOpSigs(ASTAnyTypeDeclaration classNode, JavaOperationSigMask mask)
Counts the operations matching the signature mask in this class.protected List<ASTFieldDeclaration>
AbstractJavaClassMetric. getFields(ASTAnyTypeDeclaration node)
Gets a list of all fields declared in the class.protected List<ASTMethodOrConstructorDeclaration>
AbstractJavaClassMetric. getMethodsAndConstructors(ASTAnyTypeDeclaration node)
Gets a list of all methods and constructors declared in the class.boolean
AbstractJavaClassMetric. supports(ASTAnyTypeDeclaration node)
Returns true if the metric can be computed on this type declaration.boolean
LocMetric.LocClassMetric. supports(ASTAnyTypeDeclaration node)
boolean
NcssMetric.NcssClassMetric. supports(ASTAnyTypeDeclaration node)
boolean
NoamMetric. supports(ASTAnyTypeDeclaration node)
boolean
NopaMetric. supports(ASTAnyTypeDeclaration node)
boolean
WocMetric. supports(ASTAnyTypeDeclaration node)
-
Uses of ASTAnyTypeDeclaration in net.sourceforge.pmd.lang.java.metrics.impl.visitors
Methods in net.sourceforge.pmd.lang.java.metrics.impl.visitors with parameters of type ASTAnyTypeDeclaration Modifier and Type Method Description Object
TccAttributeAccessCollector. visit(ASTAnyTypeDeclaration node, Object data)
Deprecated.Constructors in net.sourceforge.pmd.lang.java.metrics.impl.visitors with parameters of type ASTAnyTypeDeclaration Constructor Description TccAttributeAccessCollector(ASTAnyTypeDeclaration exploredClass)
Deprecated. -
Uses of ASTAnyTypeDeclaration in net.sourceforge.pmd.lang.java.multifile
Methods in net.sourceforge.pmd.lang.java.multifile with parameters of type ASTAnyTypeDeclaration Modifier and Type Method Description Object
MultifileVisitor. visit(ASTAnyTypeDeclaration node, Object data)
-
Uses of ASTAnyTypeDeclaration in net.sourceforge.pmd.lang.java.qname
Methods in net.sourceforge.pmd.lang.java.qname with parameters of type ASTAnyTypeDeclaration Modifier and Type Method Description Object
QualifiedNameResolver. visit(ASTAnyTypeDeclaration node, Object data)
Deprecated. -
Uses of ASTAnyTypeDeclaration in net.sourceforge.pmd.lang.java.rule
Methods in net.sourceforge.pmd.lang.java.rule with parameters of type ASTAnyTypeDeclaration Modifier and Type Method Description Object
AbstractJavaMetricsRule. visit(ASTAnyTypeDeclaration node, Object data)
Deprecated. -
Uses of ASTAnyTypeDeclaration in net.sourceforge.pmd.lang.java.rule.bestpractices
Methods in net.sourceforge.pmd.lang.java.rule.bestpractices with parameters of type ASTAnyTypeDeclaration Modifier and Type Method Description protected boolean
AbstractSunSecureRule. isField(String varName, ASTAnyTypeDeclaration typeDeclaration)
Deprecated.Tells if the type declaration has a field with varName. -
Uses of ASTAnyTypeDeclaration in net.sourceforge.pmd.lang.java.rule.design
Methods in net.sourceforge.pmd.lang.java.rule.design with parameters of type ASTAnyTypeDeclaration Modifier and Type Method Description Object
CyclomaticComplexityRule. visit(ASTAnyTypeDeclaration node, Object data)
Object
DataClassRule. visit(ASTAnyTypeDeclaration node, Object data)
Object
NcssCountRule. visit(ASTAnyTypeDeclaration node, Object data)
-