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.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 net.sourceforge.pmd.lang.metrics.LanguageMetricsProvider<ASTAnyTypeDeclaration,MethodLikeNode>AbstractJavaHandler. getLanguageMetricsProvider() -
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 classAbstractAnyTypeDeclarationAbstract class for type declarations nodes.classASTAnnotationTypeDeclarationclassASTClassOrInterfaceDeclarationRepresents class and interface declarations.classASTEnumDeclarationMethods in net.sourceforge.pmd.lang.java.ast that return ASTAnyTypeDeclaration Modifier and Type Method Description ASTAnyTypeDeclarationAbstractAnyTypeDeclaration. getEnclosingTypeDeclaration()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 java.lang.ObjectJavaParserVisitorReducedAdapter. visit(ASTAnyTypeDeclaration node, java.lang.Object data) -
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 java.util.List<MethodLikeNode>JavaMetricsComputer. findOperations(ASTAnyTypeDeclaration node)static doubleJavaMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<ASTAnyTypeDeclaration> key, ASTAnyTypeDeclaration node)Computes the standard value of the metric identified by its code on a class AST node.static doubleJavaMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<ASTAnyTypeDeclaration> key, ASTAnyTypeDeclaration node, net.sourceforge.pmd.lang.metrics.MetricOptions options)Computes a metric identified by its code on a class AST node, possibly selecting a variant with theMetricOptionsparameter.static doubleJavaMetrics. 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 doubleJavaMetrics. 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.Method parameters in net.sourceforge.pmd.lang.java.metrics with type arguments of type ASTAnyTypeDeclaration Modifier and Type Method Description static doubleJavaMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<ASTAnyTypeDeclaration> key, ASTAnyTypeDeclaration node)Computes the standard value of the metric identified by its code on a class AST node.static doubleJavaMetrics. get(net.sourceforge.pmd.lang.metrics.MetricKey<ASTAnyTypeDeclaration> key, ASTAnyTypeDeclaration node, net.sourceforge.pmd.lang.metrics.MetricOptions options)Computes a metric identified by its code on a class AST node, possibly selecting a variant with theMetricOptionsparameter. -
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 booleanJavaClassMetricKey. 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 doubleAtfdMetric.AtfdClassMetric. computeFor(ASTAnyTypeDeclaration node, net.sourceforge.pmd.lang.metrics.MetricOptions options)doubleLocMetric.LocClassMetric. computeFor(ASTAnyTypeDeclaration node, net.sourceforge.pmd.lang.metrics.MetricOptions options)doubleNcssMetric.NcssClassMetric. computeFor(ASTAnyTypeDeclaration node, net.sourceforge.pmd.lang.metrics.MetricOptions options)doubleNoamMetric. computeFor(ASTAnyTypeDeclaration node, net.sourceforge.pmd.lang.metrics.MetricOptions options)doubleNopaMetric. computeFor(ASTAnyTypeDeclaration node, net.sourceforge.pmd.lang.metrics.MetricOptions options)doubleTccMetric. computeFor(ASTAnyTypeDeclaration node, net.sourceforge.pmd.lang.metrics.MetricOptions options)doubleWmcMetric. computeFor(ASTAnyTypeDeclaration node, net.sourceforge.pmd.lang.metrics.MetricOptions options)doubleWocMetric. computeFor(ASTAnyTypeDeclaration node, net.sourceforge.pmd.lang.metrics.MetricOptions options)protected intAbstractJavaClassMetric. countMatchingFieldSigs(ASTAnyTypeDeclaration classNode, JavaFieldSigMask mask)Counts the fields matching the signature mask in this class.protected intAbstractJavaClassMetric. countMatchingOpSigs(ASTAnyTypeDeclaration classNode, JavaOperationSigMask mask)Counts the operations matching the signature mask in this class.protected java.util.List<ASTFieldDeclaration>AbstractJavaClassMetric. getFields(ASTAnyTypeDeclaration node)Gets a list of all fields declared in the class.protected java.util.List<ASTMethodOrConstructorDeclaration>AbstractJavaClassMetric. getMethodsAndConstructors(ASTAnyTypeDeclaration node)Gets a list of all methods and constructors declared in the class.booleanAbstractJavaClassMetric. supports(ASTAnyTypeDeclaration node)Returns true if the metric can be computed on this type declaration.booleanLocMetric.LocClassMetric. supports(ASTAnyTypeDeclaration node)booleanNcssMetric.NcssClassMetric. supports(ASTAnyTypeDeclaration node)booleanNoamMetric. supports(ASTAnyTypeDeclaration node)booleanNopaMetric. supports(ASTAnyTypeDeclaration node)booleanWocMetric. 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 java.lang.ObjectTccAttributeAccessCollector. visit(ASTAnyTypeDeclaration node, java.lang.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 java.lang.ObjectMultifileVisitor. visit(ASTAnyTypeDeclaration node, java.lang.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 java.lang.ObjectQualifiedNameResolver. visit(ASTAnyTypeDeclaration node, java.lang.Object data) -
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 java.lang.ObjectAbstractJavaMetricsRule. visit(ASTAnyTypeDeclaration node, java.lang.Object data) -
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 java.lang.ObjectCyclomaticComplexityRule. visit(ASTAnyTypeDeclaration node, java.lang.Object data)java.lang.ObjectDataClassRule. visit(ASTAnyTypeDeclaration node, java.lang.Object data)java.lang.ObjectNcssCountRule. visit(ASTAnyTypeDeclaration node, java.lang.Object data)
-