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 classAbstractAnyTypeDeclarationDeprecated.classASTAnnotationTypeDeclarationclassASTClassOrInterfaceDeclarationRepresents class and interface declarations.classASTEnumDeclarationclassASTRecordDeclarationA record declaration is a special data class type (JDK 16 feature).Methods in net.sourceforge.pmd.lang.java.ast that return ASTAnyTypeDeclaration Modifier and Type Method Description ASTAnyTypeDeclarationAbstractAnyTypeDeclaration. 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 ObjectJavaParserVisitorReducedAdapter. 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 doubleJavaMetrics. get(MetricKey<ASTAnyTypeDeclaration> key, ASTAnyTypeDeclaration node)Deprecated.Computes the standard value of the metric identified by its code on a class AST node.static doubleJavaMetrics. 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 theMetricOptionsparameter.static doubleJavaMetrics. 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 doubleJavaMetrics. 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 doubleJavaMetrics. get(MetricKey<ASTAnyTypeDeclaration> key, ASTAnyTypeDeclaration node)Deprecated.Computes the standard value of the metric identified by its code on a class AST node.static doubleJavaMetrics. 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 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, MetricOptions options)doubleClassFanOutMetric.ClassFanOutClassMetric. computeFor(ASTAnyTypeDeclaration node, MetricOptions options)doubleLocMetric.LocClassMetric. computeFor(ASTAnyTypeDeclaration node, MetricOptions options)doubleNcssMetric.NcssClassMetric. computeFor(ASTAnyTypeDeclaration node, MetricOptions options)doubleNoamMetric. computeFor(ASTAnyTypeDeclaration node, MetricOptions options)doubleNopaMetric. computeFor(ASTAnyTypeDeclaration node, MetricOptions options)doubleTccMetric. computeFor(ASTAnyTypeDeclaration node, MetricOptions options)doubleWmcMetric. computeFor(ASTAnyTypeDeclaration node, MetricOptions options)doubleWocMetric. computeFor(ASTAnyTypeDeclaration node, 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 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.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 ObjectTccAttributeAccessCollector. 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 ObjectMultifileVisitor. 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 ObjectQualifiedNameResolver. 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 ObjectAbstractJavaMetricsRule. 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 booleanAbstractSunSecureRule. 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 ObjectCyclomaticComplexityRule. visit(ASTAnyTypeDeclaration node, Object data)ObjectDataClassRule. visit(ASTAnyTypeDeclaration node, Object data)ObjectNcssCountRule. visit(ASTAnyTypeDeclaration node, Object data)
-