Uses of Package
net.sourceforge.pmd.lang.java.ast
-
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java Class Description ASTAnyTypeDeclaration Groups class, enum, record, annotation and interface declarations.ASTLabeledStatement JavaParser Deprecated.MethodLikeNode Deprecated.Lambda expressions should not be grouped with other kinds of method declarations, they have nothing in common.ParseException Deprecated.Use superclassParseException
-
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.ast Class Description AbstractAnyTypeDeclaration Deprecated.AbstractJavaAccessNode Deprecated.AbstractJavaAccessTypeNode Deprecated.AbstractJavaNode Deprecated.AbstractJavaTypeNode Deprecated.AbstractMethodLikeNode Deprecated.AbstractMethodOrConstructorDeclaration Deprecated.AccessNode This interface captures Java access modifiers.Annotatable The interface use to mark nodes that can be annotated.ASTAdditiveExpression Represents an addition operation on two or more values, or string concatenation.ASTAllocationExpression ASTAndExpression Represents a non-shortcut boolean AND-expression.ASTAnnotation Represents an annotation.ASTAnnotationMethodDeclaration ASTAnnotationTypeBody ASTAnnotationTypeDeclaration ASTAnnotationTypeMemberDeclaration ASTAnyTypeBodyDeclaration Marker interface for type body declarations, such as annotation members, field or method declarations.ASTAnyTypeBodyDeclaration.DeclarationKind Kind of declaration.ASTAnyTypeDeclaration Groups class, enum, record, annotation and interface declarations.ASTAnyTypeDeclaration.TypeKind Deprecated.This is not useful, not adapted to the problem, and does not scale to changes in the Java language.ASTArgumentList ASTArguments ASTArrayDimsAndInits ASTArrayInitializer ASTAssertStatement Represents anassert
statement.ASTAssignmentOperator Represents an assignment operator in an assignment expression.ASTBlock ASTBlockStatement ASTBooleanLiteral ASTBreakStatement ASTCastExpression ASTCatchStatement Catch statement node.ASTClassOrInterfaceBody Represents the body of a class or interface declaration.ASTClassOrInterfaceBodyDeclaration ASTClassOrInterfaceDeclaration Represents class and interface declarations.ASTClassOrInterfaceType Represents a class or interface type, possibly parameterised with type arguments.ASTCompactConstructorDeclaration This defines a compact constructor for a RecordDeclaration (JDK 16 feature).ASTCompilationUnit ASTConditionalAndExpression Represents a boolean AND-expression.ASTConditionalExpression Represents a conditional expression, aka ternary expression.ASTConditionalOrExpression Represents a boolean OR-expression.ASTConstructorDeclaration ASTContinueStatement ASTDefaultValue ASTDoStatement Represents ado ... while
statement.ASTEmptyStatement ASTEnumBody ASTEnumConstant Represents an enum constant declaration within an enum declaration.ASTEnumDeclaration ASTEqualityExpression Represents an identity test between two values or more values.ASTExclusiveOrExpression Represents a boolean XOR-expression.ASTExplicitConstructorInvocation ASTExpression Represents an expression, in the most general sense.ASTExtendsList Represents theextends
clause of a class or interface declaration.ASTFieldDeclaration Represents a field declaration in the body of a type declaration.ASTFinallyStatement ASTForInit ASTFormalParameter Formal parameter node.ASTFormalParameters ASTForStatement Represents afor
-loop, or a foreach loop.ASTForUpdate Update clause of a for statement.ASTGuardedPattern A guarded pattern (JDK17 Preview).ASTIfStatement Represents anif
statement, possibly with anelse
statement.ASTImplementsList Represents theimplements
clause of a class declaration.ASTImportDeclaration Represents an import declaration in a Java file.ASTInclusiveOrExpression Represents a non-shortcut boolean OR-expression.ASTInitializer ASTInstanceOfExpression Represents a type test on an object.ASTLabeledStatement ASTLambdaExpression ASTLiteral ASTLocalVariableDeclaration Represents a local variable declaration.ASTMarkerAnnotation Represents an annotation with no declared member, e.g.ASTMemberSelector ASTMemberValue Represents the value of a member of an annotation.ASTMemberValueArrayInitializer Represents an array of member values in an annotation member value.ASTMemberValuePair Represents a single member-value pair in an annotation.ASTMemberValuePairs Represents a list of member values in an annotation.ASTMethodDeclaration Method declaration node.ASTMethodDeclarator Deprecated.This node will be removed with 7.0.0.ASTMethodOrConstructorDeclaration Groups method and constructor declarations under a common type.ASTMethodReference ASTModuleDeclaration ASTModuleDirective ASTModuleDirective.DirectiveType ASTModuleDirective.RequiresModifier ASTModuleName ASTMultiplicativeExpression Represents a multiplication, division, or modulo operation on two or more values.ASTName ASTNameList ASTNormalAnnotation Represents an annotation that with a parenthesized list of key-value pairs (possibly empty).ASTNullLiteral ASTPackageDeclaration ASTPattern A pattern (for pattern matching constructs likeInstanceOfExpression
or within aASTSwitchLabel
).ASTPermitsList Represents thepermits
clause of a (sealed) class declaration.ASTPostfixExpression Represents a unary postfix operation on a value.ASTPreDecrementExpression Represents a pre-decrement expression on a variable.ASTPreIncrementExpression Represents a pre-increment expression on a variable.ASTPrimaryExpression ASTPrimaryPrefix ASTPrimarySuffix ASTPrimitiveType Represents a primitive type.ASTRecordBody Defines the body of a RecordDeclaration (JDK 16 feature).ASTRecordComponent Defines a single component of a RecordDeclaration (JDK 16 feature).ASTRecordComponentList Defines the state description of a RecordDeclaration (JDK 16 feature).ASTRecordDeclaration A record declaration is a special data class type (JDK 16 feature).ASTReferenceType Represents a reference type, i.e.ASTRelationalExpression Represents a comparison on two numeric values.ASTResource ASTResources ASTResourceSpecification ASTResultType ASTReturnStatement ASTRSIGNEDSHIFT Deprecated.Will be removed in 7.0.0.ASTRUNSIGNEDSHIFT Deprecated.Will be removed in 7.0.0.ASTShiftExpression Represents a shift expression on a numeric value.ASTSingleMemberAnnotation Represents an annotation using the shorthand syntax for the default member.ASTStatement ASTStatementExpression ASTStatementExpressionList ASTSwitchExpression ASTSwitchLabel ASTSwitchLabeledBlock ASTSwitchLabeledExpression ASTSwitchLabeledRule ASTSwitchLabeledThrowStatement ASTSwitchStatement Represents aswitch
statement.ASTSynchronizedStatement ASTThrowStatement ASTTryStatement Try statement node.ASTType Represents a type reference.ASTTypeArgument Represents a single type argument in a type arguments list.ASTTypeArguments Represents a list of type arguments.ASTTypeBound Represents a type bound on a type parameter.ASTTypeDeclaration ASTTypeParameter Represents a type parameter declaration of a method, constructor, class or interface declaration.ASTTypeParameters Represents a list of type parameters.ASTTypePattern A type pattern (JDK16).ASTUnaryExpression Represents a unary prefix operation on a value.ASTUnaryExpressionNotPlusMinus Represents a boolean negation or bitwise inverse operation.ASTVariableDeclarator Groups a variable ID and its initializer if it exists.ASTVariableDeclaratorId Represents an identifier in the context of variable or parameter declarations (not their use in expressions).ASTVariableInitializer ASTWhileStatement Represents awhile
statement.ASTWildcardBounds Represents a type bound on a wildcard type argument.ASTYieldStatement CanSuppressWarnings Deprecated.This interface will be removed, the AST should not know about rules.Comment Dimensionable Deprecated.Will be removed with 7.0.0.JavaNode Root interface for all Nodes of the Java AST.JavaParser Deprecated.JavaParserConstants Deprecated.JavaParserControllessVisitor Deprecated.Visitor decorators are deprecated because they lead to fragile code.JavaParserTokenManager Deprecated.JavaParserTreeConstants Deprecated.JavaParserVisitor JavaParserVisitorAdapter JavaParserVisitorDecorator Deprecated.Visitor decorators are deprecated because they lead to fragile code.JavaQualifiableNode Deprecated.JavaQualifiedName Deprecated.This class and subclasses will be removed in PMD 7.0 for lack of usefulness.JJTJavaParserState Deprecated.MethodLikeNode Deprecated.Lambda expressions should not be grouped with other kinds of method declarations, they have nothing in common.MethodLikeNode.MethodLikeKind Deprecated.Same reason as forASTAnyTypeDeclaration.TypeKind
ParseException Deprecated.Use superclassParseException
Token Deprecated.TypeNode This interface allows a Java Class to be associated with a node. -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.dfa Class Description ASTBreakStatement ASTCompilationUnit ASTConstructorDeclaration ASTContinueStatement ASTExpression Represents an expression, in the most general sense.ASTForInit ASTForUpdate Update clause of a for statement.ASTLabeledStatement ASTMethodDeclaration Method declaration node.ASTReturnStatement ASTStatement ASTStatementExpression ASTSwitchLabel ASTSwitchStatement Represents aswitch
statement.ASTThrowStatement ASTVariableDeclarator Groups a variable ID and its initializer if it exists.JavaNode Root interface for all Nodes of the Java AST.JavaParserVisitor JavaParserVisitorAdapter -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.metrics Class Description ASTAnyTypeDeclaration Groups class, enum, record, annotation and interface declarations.ASTMethodOrConstructorDeclaration Groups method and constructor declarations under a common type.MethodLikeNode Deprecated.Lambda expressions should not be grouped with other kinds of method declarations, they have nothing in common. -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.metrics.api Class Description ASTAnyTypeDeclaration Groups class, enum, record, annotation and interface declarations.ASTMethodOrConstructorDeclaration Groups method and constructor declarations under a common type.MethodLikeNode Deprecated.Lambda expressions should not be grouped with other kinds of method declarations, they have nothing in common. -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.metrics.impl Class Description ASTAnyTypeDeclaration Groups class, enum, record, annotation and interface declarations.ASTFieldDeclaration Represents a field declaration in the body of a type declaration.ASTMethodOrConstructorDeclaration Groups method and constructor declarations under a common type.MethodLikeNode Deprecated.Lambda expressions should not be grouped with other kinds of method declarations, they have nothing in common. -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.metrics.impl.visitors Class Description ASTAnnotationTypeDeclaration ASTAnyTypeDeclaration Groups class, enum, record, annotation and interface declarations.ASTAssertStatement Represents anassert
statement.ASTBreakStatement ASTCatchStatement Catch statement node.ASTClassOrInterfaceDeclaration Represents class and interface declarations.ASTConditionalExpression Represents a conditional expression, aka ternary expression.ASTConstructorDeclaration ASTContinueStatement ASTDoStatement Represents ado ... while
statement.ASTEnumDeclaration ASTExplicitConstructorInvocation ASTFieldDeclaration Represents a field declaration in the body of a type declaration.ASTFinallyStatement ASTForStatement Represents afor
-loop, or a foreach loop.ASTIfStatement Represents anif
statement, possibly with anelse
statement.ASTInitializer ASTLabeledStatement ASTLocalVariableDeclaration Represents a local variable declaration.ASTMethodDeclaration Method declaration node.ASTMethodOrConstructorDeclaration Groups method and constructor declarations under a common type.ASTPrimaryExpression ASTReturnStatement ASTStatementExpression ASTSwitchExpression ASTSwitchLabel ASTSwitchStatement Represents aswitch
statement.ASTSynchronizedStatement ASTThrowStatement ASTTryStatement Try statement node.ASTWhileStatement Represents awhile
statement.JavaNode Root interface for all Nodes of the Java AST.JavaParserControllessVisitor Deprecated.Visitor decorators are deprecated because they lead to fragile code.JavaParserControllessVisitorAdapter Deprecated.Visitor decorators are deprecated because they lead to fragile code.JavaParserVisitor JavaParserVisitorAdapter JavaParserVisitorDecorator Deprecated.Visitor decorators are deprecated because they lead to fragile code.JavaParserVisitorReducedAdapter Deprecated.The functionality of this adapter will be moved into the base java visitor, so this class will go away with PMD 7. -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.multifile Class Description ASTAnyTypeDeclaration Groups class, enum, record, annotation and interface declarations.ASTCompilationUnit ASTFieldDeclaration Represents a field declaration in the body of a type declaration.ASTMethodOrConstructorDeclaration Groups method and constructor declarations under a common type.JavaParserVisitor JavaParserVisitorAdapter JavaParserVisitorReducedAdapter Deprecated.The functionality of this adapter will be moved into the base java visitor, so this class will go away with PMD 7. -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.multifile.signature Class Description AccessNode This interface captures Java access modifiers.ASTFieldDeclaration Represents a field declaration in the body of a type declaration.ASTMethodOrConstructorDeclaration Groups method and constructor declarations under a common type. -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.qname Class Description ASTAllocationExpression ASTAnyTypeDeclaration Groups class, enum, record, annotation and interface declarations.ASTCompilationUnit ASTConstructorDeclaration ASTEnumConstant Represents an enum constant declaration within an enum declaration.ASTLambdaExpression ASTMethodDeclaration Method declaration node.JavaParserVisitor JavaParserVisitorAdapter JavaParserVisitorReducedAdapter Deprecated.The functionality of this adapter will be moved into the base java visitor, so this class will go away with PMD 7.JavaQualifiedName Deprecated.This class and subclasses will be removed in PMD 7.0 for lack of usefulness. -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.rule Class Description Annotatable The interface use to mark nodes that can be annotated.ASTAdditiveExpression Represents an addition operation on two or more values, or string concatenation.ASTAllocationExpression ASTAndExpression Represents a non-shortcut boolean AND-expression.ASTAnnotation Represents an annotation.ASTAnnotationMethodDeclaration ASTAnnotationTypeBody ASTAnnotationTypeDeclaration ASTAnnotationTypeMemberDeclaration ASTAnyTypeDeclaration Groups class, enum, record, annotation and interface declarations.ASTArgumentList ASTArguments ASTArrayDimsAndInits ASTArrayInitializer ASTAssertStatement Represents anassert
statement.ASTAssignmentOperator Represents an assignment operator in an assignment expression.ASTBlock ASTBlockStatement ASTBooleanLiteral ASTBreakStatement ASTCastExpression ASTCatchStatement Catch statement node.ASTClassOrInterfaceBody Represents the body of a class or interface declaration.ASTClassOrInterfaceBodyDeclaration ASTClassOrInterfaceDeclaration Represents class and interface declarations.ASTClassOrInterfaceType Represents a class or interface type, possibly parameterised with type arguments.ASTCompactConstructorDeclaration This defines a compact constructor for a RecordDeclaration (JDK 16 feature).ASTCompilationUnit ASTConditionalAndExpression Represents a boolean AND-expression.ASTConditionalExpression Represents a conditional expression, aka ternary expression.ASTConditionalOrExpression Represents a boolean OR-expression.ASTConstructorDeclaration ASTContinueStatement ASTDefaultValue ASTDoStatement Represents ado ... while
statement.ASTEmptyStatement ASTEnumBody ASTEnumConstant Represents an enum constant declaration within an enum declaration.ASTEnumDeclaration ASTEqualityExpression Represents an identity test between two values or more values.ASTExclusiveOrExpression Represents a boolean XOR-expression.ASTExplicitConstructorInvocation ASTExpression Represents an expression, in the most general sense.ASTExtendsList Represents theextends
clause of a class or interface declaration.ASTFieldDeclaration Represents a field declaration in the body of a type declaration.ASTFinallyStatement ASTForInit ASTFormalParameter Formal parameter node.ASTFormalParameters ASTForStatement Represents afor
-loop, or a foreach loop.ASTForUpdate Update clause of a for statement.ASTGuardedPattern A guarded pattern (JDK17 Preview).ASTIfStatement Represents anif
statement, possibly with anelse
statement.ASTImplementsList Represents theimplements
clause of a class declaration.ASTImportDeclaration Represents an import declaration in a Java file.ASTInclusiveOrExpression Represents a non-shortcut boolean OR-expression.ASTInitializer ASTInstanceOfExpression Represents a type test on an object.ASTLabeledStatement ASTLambdaExpression ASTLiteral ASTLocalVariableDeclaration Represents a local variable declaration.ASTMarkerAnnotation Represents an annotation with no declared member, e.g.ASTMemberSelector ASTMemberValue Represents the value of a member of an annotation.ASTMemberValueArrayInitializer Represents an array of member values in an annotation member value.ASTMemberValuePair Represents a single member-value pair in an annotation.ASTMemberValuePairs Represents a list of member values in an annotation.ASTMethodDeclaration Method declaration node.ASTMethodDeclarator Deprecated.This node will be removed with 7.0.0.ASTMethodOrConstructorDeclaration Groups method and constructor declarations under a common type.ASTMethodReference ASTModuleDeclaration ASTModuleDirective ASTModuleName ASTMultiplicativeExpression Represents a multiplication, division, or modulo operation on two or more values.ASTName ASTNameList ASTNormalAnnotation Represents an annotation that with a parenthesized list of key-value pairs (possibly empty).ASTNullLiteral ASTPackageDeclaration ASTPermitsList Represents thepermits
clause of a (sealed) class declaration.ASTPostfixExpression Represents a unary postfix operation on a value.ASTPreDecrementExpression Represents a pre-decrement expression on a variable.ASTPreIncrementExpression Represents a pre-increment expression on a variable.ASTPrimaryExpression ASTPrimaryPrefix ASTPrimarySuffix ASTPrimitiveType Represents a primitive type.ASTRecordBody Defines the body of a RecordDeclaration (JDK 16 feature).ASTRecordComponent Defines a single component of a RecordDeclaration (JDK 16 feature).ASTRecordComponentList Defines the state description of a RecordDeclaration (JDK 16 feature).ASTRecordDeclaration A record declaration is a special data class type (JDK 16 feature).ASTReferenceType Represents a reference type, i.e.ASTRelationalExpression Represents a comparison on two numeric values.ASTResource ASTResources ASTResourceSpecification ASTResultType ASTReturnStatement ASTRSIGNEDSHIFT Deprecated.Will be removed in 7.0.0.ASTRUNSIGNEDSHIFT Deprecated.Will be removed in 7.0.0.ASTShiftExpression Represents a shift expression on a numeric value.ASTSingleMemberAnnotation Represents an annotation using the shorthand syntax for the default member.ASTStatement ASTStatementExpression ASTStatementExpressionList ASTSwitchExpression ASTSwitchLabel ASTSwitchLabeledBlock ASTSwitchLabeledExpression ASTSwitchLabeledThrowStatement ASTSwitchStatement Represents aswitch
statement.ASTSynchronizedStatement ASTThrowStatement ASTTryStatement Try statement node.ASTType Represents a type reference.ASTTypeArgument Represents a single type argument in a type arguments list.ASTTypeArguments Represents a list of type arguments.ASTTypeBound Represents a type bound on a type parameter.ASTTypeDeclaration ASTTypeParameter Represents a type parameter declaration of a method, constructor, class or interface declaration.ASTTypeParameters Represents a list of type parameters.ASTTypePattern A type pattern (JDK16).ASTUnaryExpression Represents a unary prefix operation on a value.ASTUnaryExpressionNotPlusMinus Represents a boolean negation or bitwise inverse operation.ASTVariableDeclarator Groups a variable ID and its initializer if it exists.ASTVariableDeclaratorId Represents an identifier in the context of variable or parameter declarations (not their use in expressions).ASTVariableInitializer ASTWhileStatement Represents awhile
statement.ASTWildcardBounds Represents a type bound on a wildcard type argument.ASTYieldStatement JavaNode Root interface for all Nodes of the Java AST.JavaParserVisitor MethodLikeNode Deprecated.Lambda expressions should not be grouped with other kinds of method declarations, they have nothing in common. -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.rule.bestpractices Class Description AbstractJavaAccessNode Deprecated.ASTAllocationExpression ASTAnnotation Represents an annotation.ASTAnyTypeDeclaration Groups class, enum, record, annotation and interface declarations.ASTArguments ASTCatchStatement Catch statement node.ASTClassOrInterfaceBodyDeclaration ASTClassOrInterfaceDeclaration Represents class and interface declarations.ASTClassOrInterfaceType Represents a class or interface type, possibly parameterised with type arguments.ASTCompilationUnit ASTConstructorDeclaration ASTEnumConstant Represents an enum constant declaration within an enum declaration.ASTEnumDeclaration ASTExtendsList Represents theextends
clause of a class or interface declaration.ASTForStatement Represents afor
-loop, or a foreach loop.ASTImportDeclaration Represents an import declaration in a Java file.ASTLiteral ASTLocalVariableDeclaration Represents a local variable declaration.ASTMethodDeclaration Method declaration node.ASTMethodDeclarator Deprecated.This node will be removed with 7.0.0.ASTName ASTPrimaryExpression ASTPrimarySuffix ASTReturnStatement ASTStatementExpression ASTTryStatement Try statement node.JavaParserVisitor -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.rule.codestyle Class Description AccessNode This interface captures Java access modifiers.ASTAnnotation Represents an annotation.ASTAnnotationMethodDeclaration ASTAnnotationTypeDeclaration ASTClassOrInterfaceDeclaration Represents class and interface declarations.ASTClassOrInterfaceType Represents a class or interface type, possibly parameterised with type arguments.ASTCompilationUnit ASTConditionalExpression Represents a conditional expression, aka ternary expression.ASTConstructorDeclaration ASTEnumConstant Represents an enum constant declaration within an enum declaration.ASTEnumDeclaration ASTFieldDeclaration Represents a field declaration in the body of a type declaration.ASTFormalParameters ASTIfStatement Represents anif
statement, possibly with anelse
statement.ASTImportDeclaration Represents an import declaration in a Java file.ASTLocalVariableDeclaration Represents a local variable declaration.ASTMethodDeclaration Method declaration node.ASTMethodDeclarator Deprecated.This node will be removed with 7.0.0.ASTName ASTPackageDeclaration ASTResource ASTReturnStatement ASTTryStatement Try statement node.ASTVariableDeclaratorId Represents an identifier in the context of variable or parameter declarations (not their use in expressions).JavaNode Root interface for all Nodes of the Java AST.JavaParserVisitor -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.rule.design Class Description ASTAnyTypeDeclaration Groups class, enum, record, annotation and interface declarations.ASTAssignmentOperator Represents an assignment operator in an assignment expression.ASTBreakStatement ASTCatchStatement Catch statement node.ASTClassOrInterfaceBody Represents the body of a class or interface declaration.ASTClassOrInterfaceDeclaration Represents class and interface declarations.ASTClassOrInterfaceType Represents a class or interface type, possibly parameterised with type arguments.ASTCompilationUnit ASTConditionalExpression Represents a conditional expression, aka ternary expression.ASTConstructorDeclaration ASTContinueStatement ASTDoStatement Represents ado ... while
statement.ASTEnumDeclaration ASTExplicitConstructorInvocation ASTFieldDeclaration Represents a field declaration in the body of a type declaration.ASTFinallyStatement ASTFormalParameter Formal parameter node.ASTFormalParameters ASTForStatement Represents afor
-loop, or a foreach loop.ASTIfStatement Represents anif
statement, possibly with anelse
statement.ASTImportDeclaration Represents an import declaration in a Java file.ASTInitializer ASTLabeledStatement ASTLocalVariableDeclaration Represents a local variable declaration.ASTMethodDeclaration Method declaration node.ASTMethodDeclarator Deprecated.This node will be removed with 7.0.0.ASTMethodOrConstructorDeclaration Groups method and constructor declarations under a common type.ASTPackageDeclaration ASTResultType ASTReturnStatement ASTStatement ASTStatementExpression ASTSwitchLabel ASTSwitchStatement Represents aswitch
statement.ASTSynchronizedStatement ASTThrowStatement ASTVariableInitializer ASTWhileStatement Represents awhile
statement.JavaNode Root interface for all Nodes of the Java AST.JavaParserVisitor MethodLikeNode Deprecated.Lambda expressions should not be grouped with other kinds of method declarations, they have nothing in common. -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.rule.documentation Class Description ASTClassOrInterfaceDeclaration Represents class and interface declarations.ASTCompilationUnit ASTConstructorDeclaration ASTEnumDeclaration ASTFieldDeclaration Represents a field declaration in the body of a type declaration.ASTMethodDeclaration Method declaration node.Comment JavaParserVisitor -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.rule.errorprone Class Description ASTAllocationExpression ASTAnnotationTypeDeclaration ASTBreakStatement ASTCatchStatement Catch statement node.ASTClassOrInterfaceBody Represents the body of a class or interface declaration.ASTClassOrInterfaceDeclaration Represents class and interface declarations.ASTCompilationUnit ASTConstructorDeclaration ASTContinueStatement ASTEnumDeclaration ASTExpression Represents an expression, in the most general sense.ASTFieldDeclaration Represents a field declaration in the body of a type declaration.ASTIfStatement Represents anif
statement, possibly with anelse
statement.ASTImplementsList Represents theimplements
clause of a class declaration.ASTImportDeclaration Represents an import declaration in a Java file.ASTLiteral ASTLocalVariableDeclaration Represents a local variable declaration.ASTMethodDeclaration Method declaration node.ASTMethodDeclarator Deprecated.This node will be removed with 7.0.0.ASTName ASTNullLiteral ASTPrimaryExpression ASTPrimaryPrefix ASTPrimarySuffix ASTRecordDeclaration A record declaration is a special data class type (JDK 16 feature).ASTReturnStatement ASTStatementExpression ASTUnaryExpression Represents a unary prefix operation on a value.ASTUnaryExpressionNotPlusMinus Represents a boolean negation or bitwise inverse operation.ASTVariableDeclaratorId Represents an identifier in the context of variable or parameter declarations (not their use in expressions).JavaParserVisitor -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.rule.multithreading Class Description ASTClassOrInterfaceDeclaration Represents class and interface declarations.ASTCompilationUnit ASTFieldDeclaration Represents a field declaration in the body of a type declaration.ASTMethodDeclaration Method declaration node.JavaParserVisitor -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.rule.performance Class Description ASTAdditiveExpression Represents an addition operation on two or more values, or string concatenation.ASTAllocationExpression ASTBlockStatement ASTClassOrInterfaceBody Represents the body of a class or interface declaration.ASTClassOrInterfaceDeclaration Represents class and interface declarations.ASTCompilationUnit ASTFieldDeclaration Represents a field declaration in the body of a type declaration.ASTImportDeclaration Represents an import declaration in a Java file.ASTLiteral ASTMethodDeclaration Method declaration node.ASTName ASTPrimaryExpression ASTPrimaryPrefix ASTVariableDeclaratorId Represents an identifier in the context of variable or parameter declarations (not their use in expressions).JavaParserVisitor -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.rule.security Class Description ASTAllocationExpression JavaParserVisitor -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.symboltable Class Description AccessNode This interface captures Java access modifiers.ASTAnnotationTypeDeclaration ASTBlock ASTCatchStatement Catch statement node.ASTClassOrInterfaceBody Represents the body of a class or interface declaration.ASTClassOrInterfaceDeclaration Represents class and interface declarations.ASTCompilationUnit ASTConstructorDeclaration ASTEnumDeclaration ASTForStatement Represents afor
-loop, or a foreach loop.ASTImportDeclaration Represents an import declaration in a Java file.ASTLambdaExpression ASTMethodDeclaration Method declaration node.ASTMethodDeclarator Deprecated.This node will be removed with 7.0.0.ASTPrimaryExpression ASTRecordDeclaration A record declaration is a special data class type (JDK 16 feature).ASTResource ASTSwitchStatement Represents aswitch
statement.ASTTryStatement Try statement node.ASTVariableDeclaratorId Represents an identifier in the context of variable or parameter declarations (not their use in expressions).JavaNode Root interface for all Nodes of the Java AST.JavaParserVisitor JavaParserVisitorAdapter TypeNode This interface allows a Java Class to be associated with a node. -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.typeresolution Class Description ASTAdditiveExpression Represents an addition operation on two or more values, or string concatenation.ASTAllocationExpression ASTAndExpression Represents a non-shortcut boolean AND-expression.ASTAnnotation Represents an annotation.ASTArgumentList ASTBooleanLiteral ASTCastExpression ASTClassOrInterfaceType Represents a class or interface type, possibly parameterised with type arguments.ASTCompilationUnit ASTConditionalAndExpression Represents a boolean AND-expression.ASTConditionalExpression Represents a conditional expression, aka ternary expression.ASTConditionalOrExpression Represents a boolean OR-expression.ASTEnumConstant Represents an enum constant declaration within an enum declaration.ASTEqualityExpression Represents an identity test between two values or more values.ASTExclusiveOrExpression Represents a boolean XOR-expression.ASTExpression Represents an expression, in the most general sense.ASTFieldDeclaration Represents a field declaration in the body of a type declaration.ASTFormalParameter Formal parameter node.ASTForStatement Represents afor
-loop, or a foreach loop.ASTImportDeclaration Represents an import declaration in a Java file.ASTInclusiveOrExpression Represents a non-shortcut boolean OR-expression.ASTInstanceOfExpression Represents a type test on an object.ASTLiteral ASTLocalVariableDeclaration Represents a local variable declaration.ASTMarkerAnnotation Represents an annotation with no declared member, e.g.ASTMultiplicativeExpression Represents a multiplication, division, or modulo operation on two or more values.ASTName ASTNormalAnnotation Represents an annotation that with a parenthesized list of key-value pairs (possibly empty).ASTNullLiteral ASTPackageDeclaration ASTPostfixExpression Represents a unary postfix operation on a value.ASTPreDecrementExpression Represents a pre-decrement expression on a variable.ASTPreIncrementExpression Represents a pre-increment expression on a variable.ASTPrimaryExpression ASTPrimaryPrefix ASTPrimarySuffix ASTPrimitiveType Represents a primitive type.ASTReferenceType Represents a reference type, i.e.ASTRelationalExpression Represents a comparison on two numeric values.ASTResource ASTShiftExpression Represents a shift expression on a numeric value.ASTSingleMemberAnnotation Represents an annotation using the shorthand syntax for the default member.ASTStatementExpression ASTSwitchExpression ASTType Represents a type reference.ASTTypeArgument Represents a single type argument in a type arguments list.ASTTypeBound Represents a type bound on a type parameter.ASTTypeDeclaration ASTTypeParameter Represents a type parameter declaration of a method, constructor, class or interface declaration.ASTTypeParameters Represents a list of type parameters.ASTUnaryExpression Represents a unary prefix operation on a value.ASTUnaryExpressionNotPlusMinus Represents a boolean negation or bitwise inverse operation.ASTVariableDeclarator Groups a variable ID and its initializer if it exists.ASTVariableDeclaratorId Represents an identifier in the context of variable or parameter declarations (not their use in expressions).ASTWildcardBounds Represents a type bound on a wildcard type argument.ASTYieldStatement JavaParserVisitor JavaParserVisitorAdapter TypeNode This interface allows a Java Class to be associated with a node. -
Classes in net.sourceforge.pmd.lang.java.ast used by net.sourceforge.pmd.lang.java.types Class Description TypeNode This interface allows a Java Class to be associated with a node.