Uses of Interface
net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
-
Packages that use ASTAnyTypeDeclaration 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.rule.codestyle net.sourceforge.pmd.lang.java.rule.design net.sourceforge.pmd.lang.java.types.ast -
-
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
ASTAnnotationTypeDeclaration
The declaration of an annotation type.class
ASTAnonymousClassDeclaration
An anonymous class declaration.class
ASTClassOrInterfaceDeclaration
Represents class and interface declarations.class
ASTEnumDeclaration
Represents an enum declaration.class
ASTRecordDeclaration
A 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 @NonNull ASTAnyTypeDeclaration
ASTLocalClassStatement. getDeclaration()
Returns the contained declaration.default ASTAnyTypeDeclaration
JavaNode. getEnclosingType()
Returns the node representing the type declaration this node is found in.Methods in net.sourceforge.pmd.lang.java.ast that return types with arguments of type ASTAnyTypeDeclaration Modifier and Type Method Description NodeStream<ASTAnyTypeDeclaration>
ASTCompilationUnit. getTypeDeclarations()
Returns the top-level type declarations declared in this compilation unit.Methods in net.sourceforge.pmd.lang.java.ast with parameters of type ASTAnyTypeDeclaration Modifier and Type Method Description static void
InternalApiBridge. setQname(ASTAnyTypeDeclaration declaration, String binaryName, @Nullable String canon)
R
JavaVisitorBase. visitTypeDecl(ASTAnyTypeDeclaration node, P data)
-
Uses of ASTAnyTypeDeclaration in net.sourceforge.pmd.lang.java.metrics
Fields in net.sourceforge.pmd.lang.java.metrics with type parameters of type ASTAnyTypeDeclaration Modifier and Type Field Description static Metric<ASTAnyTypeDeclaration,Integer>
JavaMetrics. NUMBER_OF_ACCESSORS
static Metric<ASTAnyTypeDeclaration,Integer>
JavaMetrics. NUMBER_OF_PUBLIC_FIELDS
static Metric<ASTAnyTypeDeclaration,Double>
JavaMetrics. TIGHT_CLASS_COHESION
The relative number of method pairs of a class that access in common at least one attribute of the measured class.static Metric<ASTAnyTypeDeclaration,Integer>
JavaMetrics. WEIGHED_METHOD_COUNT
Sum of the statistical complexity of the operations in the class.static Metric<ASTAnyTypeDeclaration,Double>
JavaMetrics. WEIGHT_OF_CLASS
Number of “functional” public methods divided by the total number of public methods. -
Uses of ASTAnyTypeDeclaration in net.sourceforge.pmd.lang.java.rule.codestyle
Methods in net.sourceforge.pmd.lang.java.rule.codestyle with parameters of type ASTAnyTypeDeclaration Modifier and Type Method Description Object
FieldDeclarationsShouldBeAtStartOfClassRule. visit(ASTAnyTypeDeclaration node, 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 protected boolean
ExcessivePublicCountRule. isViolation(ASTAnyTypeDeclaration node, int reportLevel)
Object
CyclomaticComplexityRule. visitTypeDecl(ASTAnyTypeDeclaration node, Object data)
-
Uses of ASTAnyTypeDeclaration in net.sourceforge.pmd.lang.java.types.ast
Methods in net.sourceforge.pmd.lang.java.types.ast with parameters of type ASTAnyTypeDeclaration Modifier and Type Method Description JTypeMirror
LazyTypeResolver. visitTypeDecl(ASTAnyTypeDeclaration node, TypingContext ctx)
-