A B C D E F G H I J K L M N O P Q R S T U V W X Y _
All Classes All Packages
All Classes All Packages
A
- ABSTRACT - Static variable in interface net.sourceforge.pmd.lang.java.ast.AccessNode
- ABSTRACT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- AbstractAnyTypeDeclaration - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.
- AbstractClassWithoutAbstractMethodRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
- AbstractClassWithoutAbstractMethodRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.AbstractClassWithoutAbstractMethodRule
- AbstractCommentRule - Class in net.sourceforge.pmd.lang.java.rule.documentation
-
Deprecated.Internal API
- AbstractCommentRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.documentation.AbstractCommentRule
-
Deprecated.
- AbstractIgnoredAnnotationRule - Class in net.sourceforge.pmd.lang.java.rule
-
Deprecated.Internal API
- AbstractIgnoredAnnotationRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.AbstractIgnoredAnnotationRule
-
Deprecated.
- AbstractInefficientZeroCheck - Class in net.sourceforge.pmd.lang.java.rule
-
Deprecated.Internal API
- AbstractInefficientZeroCheck() - Constructor for class net.sourceforge.pmd.lang.java.rule.AbstractInefficientZeroCheck
-
Deprecated.
- AbstractJavaAccessNode - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.
- AbstractJavaAccessNode(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
Deprecated.
- AbstractJavaAccessNode(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
Deprecated.
- AbstractJavaAccessTypeNode - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.
- AbstractJavaAccessTypeNode(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessTypeNode
-
Deprecated.
- AbstractJavaAccessTypeNode(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessTypeNode
-
Deprecated.
- AbstractJavaClassMetric - Class in net.sourceforge.pmd.lang.java.metrics.impl
-
Base class for class metrics.
- AbstractJavaClassMetric() - Constructor for class net.sourceforge.pmd.lang.java.metrics.impl.AbstractJavaClassMetric
- AbstractJavaHandler - Class in net.sourceforge.pmd.lang.java
-
Deprecated.For removal, the abstraction is not useful.
- AbstractJavaHandler() - Constructor for class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
Deprecated.
- AbstractJavaMetric<N extends Node> - Class in net.sourceforge.pmd.lang.java.metrics
-
Base class for metrics.
- AbstractJavaMetric() - Constructor for class net.sourceforge.pmd.lang.java.metrics.AbstractJavaMetric
- AbstractJavaMetricsRule - Class in net.sourceforge.pmd.lang.java.rule
-
Deprecated.Internal API
- AbstractJavaMetricsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.AbstractJavaMetricsRule
-
Deprecated.
- AbstractJavaNode - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.
- AbstractJavaNode(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
-
Deprecated.
- AbstractJavaNode(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
-
Deprecated.
- AbstractJavaOperationMetric - Class in net.sourceforge.pmd.lang.java.metrics.impl
-
Base class for operation metrics.
- AbstractJavaOperationMetric() - Constructor for class net.sourceforge.pmd.lang.java.metrics.impl.AbstractJavaOperationMetric
- AbstractJavaParser - Class in net.sourceforge.pmd.lang.java
-
Deprecated.For removal, the abstraction is not useful.
- AbstractJavaParser(ParserOptions) - Constructor for class net.sourceforge.pmd.lang.java.AbstractJavaParser
-
Deprecated.
- AbstractJavaRule - Class in net.sourceforge.pmd.lang.java.rule
- AbstractJavaRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.AbstractJavaRule
- AbstractJavaScope - Class in net.sourceforge.pmd.lang.java.symboltable
-
Deprecated.
- AbstractJavaScope() - Constructor for class net.sourceforge.pmd.lang.java.symboltable.AbstractJavaScope
-
Deprecated.
- AbstractJavaTypeNode - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.
- AbstractJavaTypeNode(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.AbstractJavaTypeNode
-
Deprecated.
- AbstractJavaTypeNode(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.AbstractJavaTypeNode
-
Deprecated.
- AbstractJUnitRule - Class in net.sourceforge.pmd.lang.java.rule
-
Deprecated.Internal API
- AbstractJUnitRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.AbstractJUnitRule
-
Deprecated.
- AbstractLombokAwareRule - Class in net.sourceforge.pmd.lang.java.rule
-
Deprecated.Internal API
- AbstractLombokAwareRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.AbstractLombokAwareRule
-
Deprecated.
- AbstractMethodLikeNode - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.
- AbstractMethodOrConstructorDeclaration - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.
- AbstractNcssCountRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
Deprecated.Internal API
- AbstractNcssCountRule(Class<?>) - Constructor for class net.sourceforge.pmd.lang.java.rule.design.AbstractNcssCountRule
-
Deprecated.Count the nodes of the given type using NCSS rules.
- AbstractOptimizationRule - Class in net.sourceforge.pmd.lang.java.rule.performance
-
Deprecated.Internal API
- AbstractOptimizationRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.performance.AbstractOptimizationRule
-
Deprecated.
- AbstractPoorMethodCall - Class in net.sourceforge.pmd.lang.java.rule
-
Deprecated.Internal API
- AbstractPoorMethodCall() - Constructor for class net.sourceforge.pmd.lang.java.rule.AbstractPoorMethodCall
-
Deprecated.
- AbstractResolver(PMDASMClassLoader) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.AbstractResolver
-
Deprecated.Creates a new AbstractResolver that uses the given class loader.
- AbstractStatisticalJavaRule - Class in net.sourceforge.pmd.lang.java.rule
-
Deprecated.see
StatisticalRule
- AbstractStatisticalJavaRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.AbstractStatisticalJavaRule
-
Deprecated.
- AbstractSunSecureRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
-
Deprecated.Internal API
- AbstractSunSecureRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.AbstractSunSecureRule
-
Deprecated.
- AccessNode - Interface in net.sourceforge.pmd.lang.java.ast
-
This interface captures Java access modifiers.
- AccessorClassGenerationRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
-
1.
- AccessorClassGenerationRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.AccessorClassGenerationRule
- AccessorMethodGenerationRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
- AccessorMethodGenerationRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.AccessorMethodGenerationRule
- addDataPoint(DataPoint) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractStatisticalJavaRule
-
Deprecated.
- addDeclaration(NameDeclaration) - Method in class net.sourceforge.pmd.lang.java.symboltable.AbstractJavaScope
-
Deprecated.
- addDeclaration(NameDeclaration) - Method in class net.sourceforge.pmd.lang.java.symboltable.LocalScope
- addDeclaration(NameDeclaration) - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodScope
- addDeclaration(NameDeclaration) - Method in class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
- addImport(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet
-
Deprecated.Adds a import to the list of imports
- AdditiveExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- addNameOccurrence(NameOccurrence) - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassScope
- addNameOccurrence(NameOccurrence) - Method in class net.sourceforge.pmd.lang.java.symboltable.LocalScope
- addNameOccurrence(NameOccurrence) - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodScope
- addNext(SimpleTypedNameDeclaration) - Method in class net.sourceforge.pmd.lang.java.symboltable.SimpleTypedNameDeclaration
-
Deprecated.
- addVariablesToSet(Set<Variable>) - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- AllocationExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- allowsAllAssignments() - Method in class net.sourceforge.pmd.lang.java.rule.errorprone.AssignmentInOperandRule
- allTagIds() - Static method in class net.sourceforge.pmd.lang.java.javadoc.JavadocTag
- analyzeJUnitClass(ASTClassOrInterfaceDeclaration) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractJUnitRule
-
Deprecated.
- analyzeMember(AbstractJavaAccessNode, List<NameOccurrence>, ClassScope, Object) - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.AccessorMethodGenerationRule
- ANDASSIGN - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- AndExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- Annotatable - Interface in net.sourceforge.pmd.lang.java.ast
-
The interface use to mark nodes that can be annotated.
- Annotation() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- ANNOTATION - net.sourceforge.pmd.lang.java.ast.ASTAnyTypeBodyDeclaration.DeclarationKind
- ANNOTATION - net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration.TypeKind
-
Deprecated.
- ANNOTATION_METHOD - net.sourceforge.pmd.lang.java.ast.ASTAnyTypeBodyDeclaration.DeclarationKind
- AnnotationMethodDeclaration(int) - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- AnnotationTypeBody() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- AnnotationTypeDeclaration(int) - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- AnnotationTypeMemberDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- AppendCharacterWithCharRule - Class in net.sourceforge.pmd.lang.java.rule.performance
-
This rule finds the following:
- AppendCharacterWithCharRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.performance.AppendCharacterWithCharRule
- appliesToClassName(String) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractInefficientZeroCheck
-
Deprecated.
- appliesToClassName(String) - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.UseCollectionIsEmptyRule
- apply(List<? extends Node>, RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractJavaRule
- apply(List<? extends Node>, RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractStatisticalJavaRule
-
Deprecated.
- applyTo(NameDeclaration) - Method in class net.sourceforge.pmd.lang.java.symboltable.DeclarationFinderFunction
-
Deprecated.
- ArgumentList() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- Arguments() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- ArrayDimsAndInits() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- ArrayInitializer() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- ArrayIsStoredDirectlyRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
-
If a method or constructor receives an array as an argument, the array should be cloned instead of directly stored.
- ArrayIsStoredDirectlyRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.ArrayIsStoredDirectlyRule
- AssertStatement() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- ASSIGN - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- assignCommentsToDeclarations(ASTCompilationUnit) - Method in class net.sourceforge.pmd.lang.java.rule.documentation.AbstractCommentRule
-
Deprecated.
- assigned(List<NameOccurrence>) - Method in class net.sourceforge.pmd.lang.java.rule.performance.AbstractOptimizationRule
-
Deprecated.
- AssignmentInOperandRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
- AssignmentInOperandRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.AssignmentInOperandRule
- AssignmentOperator() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- AssignmentToNonFinalStaticRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
- AssignmentToNonFinalStaticRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.AssignmentToNonFinalStaticRule
- ASTAdditiveExpression - Class in net.sourceforge.pmd.lang.java.ast
-
Represents an addition operation on two or more values, or string concatenation.
- ASTAdditiveExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAdditiveExpression
-
Deprecated.
- ASTAdditiveExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAdditiveExpression
-
Deprecated.
- ASTAllocationExpression - Class in net.sourceforge.pmd.lang.java.ast
- ASTAllocationExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAllocationExpression
-
Deprecated.
- ASTAllocationExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAllocationExpression
-
Deprecated.
- ASTAndExpression - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a non-shortcut boolean AND-expression.
- ASTAndExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAndExpression
-
Deprecated.
- ASTAndExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAndExpression
-
Deprecated.
- ASTAnnotation - Class in net.sourceforge.pmd.lang.java.ast
-
Represents an annotation.
- ASTAnnotation(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAnnotation
-
Deprecated.
- ASTAnnotation(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAnnotation
-
Deprecated.
- ASTAnnotationMethodDeclaration - Class in net.sourceforge.pmd.lang.java.ast
- ASTAnnotationMethodDeclaration(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAnnotationMethodDeclaration
-
Deprecated.
- ASTAnnotationMethodDeclaration(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAnnotationMethodDeclaration
-
Deprecated.
- ASTAnnotationTypeBody - Class in net.sourceforge.pmd.lang.java.ast
- ASTAnnotationTypeBody(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAnnotationTypeBody
-
Deprecated.
- ASTAnnotationTypeBody(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAnnotationTypeBody
-
Deprecated.
- ASTAnnotationTypeDeclaration - Class in net.sourceforge.pmd.lang.java.ast
- ASTAnnotationTypeDeclaration(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAnnotationTypeDeclaration
-
Deprecated.
- ASTAnnotationTypeDeclaration(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAnnotationTypeDeclaration
-
Deprecated.
- ASTAnnotationTypeMemberDeclaration - Class in net.sourceforge.pmd.lang.java.ast
- ASTAnnotationTypeMemberDeclaration(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAnnotationTypeMemberDeclaration
-
Deprecated.
- ASTAnnotationTypeMemberDeclaration(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAnnotationTypeMemberDeclaration
-
Deprecated.
- ASTAnyTypeBodyDeclaration - Interface in net.sourceforge.pmd.lang.java.ast
-
Marker interface for type body declarations, such as annotation members, field or method declarations.
- ASTAnyTypeBodyDeclaration.DeclarationKind - Enum in net.sourceforge.pmd.lang.java.ast
-
Kind of declaration.
- ASTAnyTypeDeclaration - Interface in net.sourceforge.pmd.lang.java.ast
-
Groups class, enum, record, annotation and interface declarations.
- ASTAnyTypeDeclaration.TypeKind - Enum in net.sourceforge.pmd.lang.java.ast
-
Deprecated.This is not useful, not adapted to the problem, and does not scale to changes in the Java language. The only use of this is to get a name, this can be replaced with
PrettyPrintingUtil
.Besides, the real problem is that
- enums are also classes
- annotations are also interfaces
- there are also anonymous classes in PMD 7.0, so this cannot even be used to downcast safely
ASTAnyTypeBodyDeclaration.DeclarationKind
- ASTArgumentList - Class in net.sourceforge.pmd.lang.java.ast
- ASTArgumentList(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTArgumentList
-
Deprecated.
- ASTArgumentList(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTArgumentList
-
Deprecated.
- ASTArguments - Class in net.sourceforge.pmd.lang.java.ast
- ASTArguments(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTArguments
-
Deprecated.
- ASTArguments(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTArguments
-
Deprecated.
- ASTArrayDimsAndInits - Class in net.sourceforge.pmd.lang.java.ast
- ASTArrayDimsAndInits(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTArrayDimsAndInits
-
Deprecated.
- ASTArrayDimsAndInits(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTArrayDimsAndInits
-
Deprecated.
- ASTArrayInitializer - Class in net.sourceforge.pmd.lang.java.ast
- ASTArrayInitializer(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTArrayInitializer
-
Deprecated.
- ASTArrayInitializer(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTArrayInitializer
-
Deprecated.
- ASTAssertStatement - Class in net.sourceforge.pmd.lang.java.ast
-
Represents an
assert
statement. - ASTAssertStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAssertStatement
-
Deprecated.
- ASTAssertStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAssertStatement
-
Deprecated.
- ASTAssignmentOperator - Class in net.sourceforge.pmd.lang.java.ast
-
Represents an assignment operator in an assignment expression.
- ASTAssignmentOperator(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAssignmentOperator
-
Deprecated.
- ASTAssignmentOperator(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTAssignmentOperator
-
Deprecated.
- ASTBlock - Class in net.sourceforge.pmd.lang.java.ast
- ASTBlock(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTBlock
-
Deprecated.
- ASTBlock(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTBlock
-
Deprecated.
- ASTBlockStatement - Class in net.sourceforge.pmd.lang.java.ast
- ASTBlockStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTBlockStatement
-
Deprecated.
- ASTBlockStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTBlockStatement
-
Deprecated.
- ASTBooleanLiteral - Class in net.sourceforge.pmd.lang.java.ast
- ASTBooleanLiteral(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTBooleanLiteral
-
Deprecated.
- ASTBooleanLiteral(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTBooleanLiteral
-
Deprecated.
- ASTBreakStatement - Class in net.sourceforge.pmd.lang.java.ast
- ASTBreakStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTBreakStatement
-
Deprecated.
- ASTBreakStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTBreakStatement
-
Deprecated.
- ASTCastExpression - Class in net.sourceforge.pmd.lang.java.ast
- ASTCastExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTCastExpression
-
Deprecated.
- ASTCastExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTCastExpression
-
Deprecated.
- ASTCatchStatement - Class in net.sourceforge.pmd.lang.java.ast
-
Catch statement node.
- ASTCatchStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTCatchStatement
-
Deprecated.
- ASTCatchStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTCatchStatement
-
Deprecated.
- ASTClassOrInterfaceBody - Class in net.sourceforge.pmd.lang.java.ast
-
Represents the body of a class or interface declaration.
- ASTClassOrInterfaceBody(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBody
-
Deprecated.
- ASTClassOrInterfaceBody(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBody
-
Deprecated.
- ASTClassOrInterfaceBodyDeclaration - Class in net.sourceforge.pmd.lang.java.ast
- ASTClassOrInterfaceBodyDeclaration(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBodyDeclaration
-
Deprecated.
- ASTClassOrInterfaceBodyDeclaration(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBodyDeclaration
-
Deprecated.
- ASTClassOrInterfaceDeclaration - Class in net.sourceforge.pmd.lang.java.ast
-
Represents class and interface declarations.
- ASTClassOrInterfaceDeclaration(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
-
Deprecated.
- ASTClassOrInterfaceDeclaration(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
-
Deprecated.
- ASTClassOrInterfaceType - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a class or interface type, possibly parameterised with type arguments.
- ASTClassOrInterfaceType(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceType
-
Deprecated.
- ASTClassOrInterfaceType(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceType
-
Deprecated.
- ASTCompactConstructorDeclaration - Class in net.sourceforge.pmd.lang.java.ast
-
This defines a compact constructor for a RecordDeclaration (JDK 16 feature).
- ASTCompilationUnit - Class in net.sourceforge.pmd.lang.java.ast
- ASTCompilationUnit(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
-
Deprecated.
- ASTCompilationUnit(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
-
Deprecated.
- ASTComponentPatternList - Class in net.sourceforge.pmd.lang.java.ast
-
Contains a potentially empty list of nested Patterns for RecordPattern (JDK 19).
- ASTConditionalAndExpression - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a boolean AND-expression.
- ASTConditionalAndExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTConditionalAndExpression
-
Deprecated.
- ASTConditionalAndExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTConditionalAndExpression
-
Deprecated.
- ASTConditionalExpression - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a conditional expression, aka ternary expression.
- ASTConditionalExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTConditionalExpression
-
Deprecated.
- ASTConditionalExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTConditionalExpression
-
Deprecated.
- ASTConditionalOrExpression - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a boolean OR-expression.
- ASTConditionalOrExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTConditionalOrExpression
-
Deprecated.
- ASTConditionalOrExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTConditionalOrExpression
-
Deprecated.
- ASTConstructorDeclaration - Class in net.sourceforge.pmd.lang.java.ast
- ASTConstructorDeclaration(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTConstructorDeclaration
-
Deprecated.
- ASTConstructorDeclaration(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTConstructorDeclaration
-
Deprecated.
- ASTContinueStatement - Class in net.sourceforge.pmd.lang.java.ast
- ASTContinueStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTContinueStatement
-
Deprecated.
- ASTContinueStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTContinueStatement
-
Deprecated.
- ASTDefaultValue - Class in net.sourceforge.pmd.lang.java.ast
- ASTDefaultValue(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTDefaultValue
-
Deprecated.
- ASTDefaultValue(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTDefaultValue
-
Deprecated.
- ASTDoStatement - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a
do ... while
statement. - ASTDoStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTDoStatement
-
Deprecated.
- ASTDoStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTDoStatement
-
Deprecated.
- ASTEmptyStatement - Class in net.sourceforge.pmd.lang.java.ast
- ASTEmptyStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTEmptyStatement
-
Deprecated.
- ASTEmptyStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTEmptyStatement
-
Deprecated.
- ASTEnumBody - Class in net.sourceforge.pmd.lang.java.ast
- ASTEnumBody(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTEnumBody
-
Deprecated.
- ASTEnumBody(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTEnumBody
-
Deprecated.
- ASTEnumConstant - Class in net.sourceforge.pmd.lang.java.ast
-
Represents an enum constant declaration within an enum declaration.
- ASTEnumConstant(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTEnumConstant
-
Deprecated.
- ASTEnumConstant(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTEnumConstant
-
Deprecated.
- ASTEnumDeclaration - Class in net.sourceforge.pmd.lang.java.ast
- ASTEnumDeclaration(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTEnumDeclaration
-
Deprecated.
- ASTEnumDeclaration(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTEnumDeclaration
-
Deprecated.
- ASTEqualityExpression - Class in net.sourceforge.pmd.lang.java.ast
-
Represents an identity test between two values or more values.
- ASTEqualityExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTEqualityExpression
-
Deprecated.
- ASTEqualityExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTEqualityExpression
-
Deprecated.
- ASTExclusiveOrExpression - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a boolean XOR-expression.
- ASTExclusiveOrExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTExclusiveOrExpression
-
Deprecated.
- ASTExclusiveOrExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTExclusiveOrExpression
-
Deprecated.
- ASTExplicitConstructorInvocation - Class in net.sourceforge.pmd.lang.java.ast
- ASTExplicitConstructorInvocation(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
-
Deprecated.
- ASTExplicitConstructorInvocation(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
-
Deprecated.
- ASTExpression - Class in net.sourceforge.pmd.lang.java.ast
-
Represents an expression, in the most general sense.
- ASTExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTExpression
-
Deprecated.
- ASTExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTExpression
-
Deprecated.
- ASTExtendsList - Class in net.sourceforge.pmd.lang.java.ast
-
Represents the
extends
clause of a class or interface declaration. - ASTExtendsList(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTExtendsList
-
Deprecated.
- ASTExtendsList(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTExtendsList
-
Deprecated.
- ASTFieldDeclaration - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a field declaration in the body of a type declaration.
- ASTFieldDeclaration(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
Deprecated.
- ASTFieldDeclaration(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
Deprecated.
- ASTFinallyStatement - Class in net.sourceforge.pmd.lang.java.ast
- ASTFinallyStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTFinallyStatement
-
Deprecated.
- ASTFinallyStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTFinallyStatement
-
Deprecated.
- ASTForInit - Class in net.sourceforge.pmd.lang.java.ast
- ASTForInit(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTForInit
-
Deprecated.
- ASTForInit(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTForInit
-
Deprecated.
- ASTFormalParameter - Class in net.sourceforge.pmd.lang.java.ast
-
Formal parameter node.
- ASTFormalParameter(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
-
Deprecated.
- ASTFormalParameter(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
-
Deprecated.
- ASTFormalParameters - Class in net.sourceforge.pmd.lang.java.ast
- ASTFormalParameters(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTFormalParameters
-
Deprecated.
- ASTFormalParameters(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTFormalParameters
-
Deprecated.
- ASTForStatement - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a
for
-loop, or a foreach loop. - ASTForStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTForStatement
-
Deprecated.
- ASTForStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTForStatement
-
Deprecated.
- ASTForUpdate - Class in net.sourceforge.pmd.lang.java.ast
-
Update clause of a for statement.
- ASTForUpdate(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTForUpdate
-
Deprecated.
- ASTForUpdate(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTForUpdate
-
Deprecated.
- ASTGuardedPattern - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.This is not used with java 19 preview anymore. Only valid for java 18 preview.
- ASTIfStatement - Class in net.sourceforge.pmd.lang.java.ast
-
Represents an
if
statement, possibly with anelse
statement. - ASTIfStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTIfStatement
-
Deprecated.
- ASTIfStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTIfStatement
-
Deprecated.
- ASTImplementsList - Class in net.sourceforge.pmd.lang.java.ast
-
Represents the
implements
clause of a class declaration. - ASTImplementsList(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTImplementsList
-
Deprecated.
- ASTImplementsList(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTImplementsList
-
Deprecated.
- ASTImportDeclaration - Class in net.sourceforge.pmd.lang.java.ast
-
Represents an import declaration in a Java file.
- ASTImportDeclaration(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
-
Deprecated.
- ASTImportDeclaration(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
-
Deprecated.
- ASTInclusiveOrExpression - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a non-shortcut boolean OR-expression.
- ASTInclusiveOrExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTInclusiveOrExpression
-
Deprecated.
- ASTInclusiveOrExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTInclusiveOrExpression
-
Deprecated.
- ASTInitializer - Class in net.sourceforge.pmd.lang.java.ast
- ASTInitializer(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTInitializer
-
Deprecated.
- ASTInitializer(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTInitializer
-
Deprecated.
- ASTInstanceOfExpression - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a type test on an object.
- ASTInstanceOfExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTInstanceOfExpression
-
Deprecated.
- ASTInstanceOfExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTInstanceOfExpression
-
Deprecated.
- ASTLabeledStatement - Class in net.sourceforge.pmd.lang.java.ast
- ASTLabeledStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTLabeledStatement
-
Deprecated.
- ASTLabeledStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTLabeledStatement
-
Deprecated.
- ASTLambdaExpression - Class in net.sourceforge.pmd.lang.java.ast
- ASTLambdaExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTLambdaExpression
-
Deprecated.
- ASTLambdaExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTLambdaExpression
-
Deprecated.
- ASTLiteral - Class in net.sourceforge.pmd.lang.java.ast
- ASTLiteral(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTLiteral
-
Deprecated.
- ASTLiteral(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTLiteral
-
Deprecated.
- ASTLocalVariableDeclaration - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a local variable declaration.
- ASTLocalVariableDeclaration(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
-
Deprecated.
- ASTLocalVariableDeclaration(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
-
Deprecated.
- ASTMarkerAnnotation - Class in net.sourceforge.pmd.lang.java.ast
-
Represents an annotation with no declared member, e.g.
- ASTMarkerAnnotation(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMarkerAnnotation
-
Deprecated.
- ASTMarkerAnnotation(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMarkerAnnotation
-
Deprecated.
- ASTMemberSelector - Class in net.sourceforge.pmd.lang.java.ast
- ASTMemberSelector(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMemberSelector
-
Deprecated.
- ASTMemberSelector(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMemberSelector
-
Deprecated.
- ASTMemberValue - Class in net.sourceforge.pmd.lang.java.ast
-
Represents the value of a member of an annotation.
- ASTMemberValue(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMemberValue
-
Deprecated.
- ASTMemberValue(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMemberValue
-
Deprecated.
- ASTMemberValueArrayInitializer - Class in net.sourceforge.pmd.lang.java.ast
-
Represents an array of member values in an annotation member value.
- ASTMemberValueArrayInitializer(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMemberValueArrayInitializer
-
Deprecated.
- ASTMemberValueArrayInitializer(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMemberValueArrayInitializer
-
Deprecated.
- ASTMemberValuePair - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a single member-value pair in an annotation.
- ASTMemberValuePair(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMemberValuePair
-
Deprecated.
- ASTMemberValuePair(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMemberValuePair
-
Deprecated.
- ASTMemberValuePairs - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a list of member values in an annotation.
- ASTMemberValuePairs(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMemberValuePairs
-
Deprecated.
- ASTMemberValuePairs(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMemberValuePairs
-
Deprecated.
- ASTMethodDeclaration - Class in net.sourceforge.pmd.lang.java.ast
-
Method declaration node.
- ASTMethodDeclaration(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
Deprecated.
- ASTMethodDeclaration(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
Deprecated.
- ASTMethodDeclarator - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.This node will be removed with 7.0.0. You can directly use
ASTMethodDeclaration.getName()
,ASTMethodDeclaration.getFormalParameters()
,ASTMethodDeclaration.getArity()
instead. - ASTMethodDeclarator(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclarator
-
Deprecated.
- ASTMethodDeclarator(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclarator
-
Deprecated.
- ASTMethodOrConstructorDeclaration - Interface in net.sourceforge.pmd.lang.java.ast
-
Groups method and constructor declarations under a common type.
- ASTMethodReference - Class in net.sourceforge.pmd.lang.java.ast
- ASTMethodReference(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMethodReference
-
Deprecated.
- ASTMethodReference(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMethodReference
-
Deprecated.
- ASTModuleDeclaration - Class in net.sourceforge.pmd.lang.java.ast
- ASTModuleDeclaration(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration
-
Deprecated.
- ASTModuleDeclaration(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration
-
Deprecated.
- ASTModuleDirective - Class in net.sourceforge.pmd.lang.java.ast
- ASTModuleDirective(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTModuleDirective
-
Deprecated.
- ASTModuleDirective(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTModuleDirective
-
Deprecated.
- ASTModuleDirective.DirectiveType - Enum in net.sourceforge.pmd.lang.java.ast
- ASTModuleDirective.RequiresModifier - Enum in net.sourceforge.pmd.lang.java.ast
- ASTModuleName - Class in net.sourceforge.pmd.lang.java.ast
- ASTModuleName(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTModuleName
-
Deprecated.
- ASTModuleName(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTModuleName
-
Deprecated.
- ASTMultiplicativeExpression - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a multiplication, division, or modulo operation on two or more values.
- ASTMultiplicativeExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMultiplicativeExpression
-
Deprecated.
- ASTMultiplicativeExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMultiplicativeExpression
-
Deprecated.
- ASTName - Class in net.sourceforge.pmd.lang.java.ast
- ASTName(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTName
-
Deprecated.
- ASTName(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTName
-
Deprecated.
- ASTNameList - Class in net.sourceforge.pmd.lang.java.ast
- ASTNameList(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTNameList
-
Deprecated.
- ASTNameList(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTNameList
-
Deprecated.
- ASTNormalAnnotation - Class in net.sourceforge.pmd.lang.java.ast
-
Represents an annotation that with a parenthesized list of key-value pairs (possibly empty).
- ASTNormalAnnotation(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTNormalAnnotation
-
Deprecated.
- ASTNormalAnnotation(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTNormalAnnotation
-
Deprecated.
- ASTNullLiteral - Class in net.sourceforge.pmd.lang.java.ast
- ASTNullLiteral(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTNullLiteral
-
Deprecated.
- ASTNullLiteral(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTNullLiteral
-
Deprecated.
- ASTPackageDeclaration - Class in net.sourceforge.pmd.lang.java.ast
- ASTPackageDeclaration(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTPackageDeclaration
-
Deprecated.
- ASTPackageDeclaration(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTPackageDeclaration
-
Deprecated.
- ASTPattern - Interface in net.sourceforge.pmd.lang.java.ast
-
A pattern (for pattern matching constructs like
InstanceOfExpression
or within aASTSwitchLabel
). - ASTPermitsList - Class in net.sourceforge.pmd.lang.java.ast
-
Represents the
permits
clause of a (sealed) class declaration. - ASTPostfixExpression - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a unary postfix operation on a value.
- ASTPostfixExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTPostfixExpression
-
Deprecated.
- ASTPostfixExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTPostfixExpression
-
Deprecated.
- ASTPreDecrementExpression - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a pre-decrement expression on a variable.
- ASTPreDecrementExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTPreDecrementExpression
-
Deprecated.
- ASTPreDecrementExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTPreDecrementExpression
-
Deprecated.
- ASTPreIncrementExpression - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a pre-increment expression on a variable.
- ASTPreIncrementExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTPreIncrementExpression
-
Deprecated.
- ASTPreIncrementExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTPreIncrementExpression
-
Deprecated.
- ASTPrimaryExpression - Class in net.sourceforge.pmd.lang.java.ast
- ASTPrimaryExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTPrimaryExpression
-
Deprecated.
- ASTPrimaryExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTPrimaryExpression
-
Deprecated.
- ASTPrimaryPrefix - Class in net.sourceforge.pmd.lang.java.ast
- ASTPrimaryPrefix(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTPrimaryPrefix
-
Deprecated.
- ASTPrimaryPrefix(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTPrimaryPrefix
-
Deprecated.
- ASTPrimarySuffix - Class in net.sourceforge.pmd.lang.java.ast
- ASTPrimarySuffix(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTPrimarySuffix
-
Deprecated.
- ASTPrimarySuffix(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTPrimarySuffix
-
Deprecated.
- ASTPrimitiveType - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a primitive type.
- ASTPrimitiveType(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTPrimitiveType
-
Deprecated.
- ASTPrimitiveType(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTPrimitiveType
-
Deprecated.
- ASTRecordBody - Class in net.sourceforge.pmd.lang.java.ast
-
Defines the body of a RecordDeclaration (JDK 16 feature).
- ASTRecordComponent - Class in net.sourceforge.pmd.lang.java.ast
-
Defines a single component of a RecordDeclaration (JDK 16 feature).
- ASTRecordComponentList - Class in net.sourceforge.pmd.lang.java.ast
-
Defines the state description of a RecordDeclaration (JDK 16 feature).
- ASTRecordDeclaration - Class in net.sourceforge.pmd.lang.java.ast
-
A record declaration is a special data class type (JDK 16 feature).
- ASTRecordPattern - Class in net.sourceforge.pmd.lang.java.ast
-
A record pattern (JDK19).
- ASTReferenceType - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a reference type, i.e.
- ASTReferenceType(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTReferenceType
-
Deprecated.
- ASTReferenceType(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTReferenceType
-
Deprecated.
- ASTRelationalExpression - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a comparison on two numeric values.
- ASTRelationalExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTRelationalExpression
-
Deprecated.
- ASTRelationalExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTRelationalExpression
-
Deprecated.
- ASTResource - Class in net.sourceforge.pmd.lang.java.ast
- ASTResource(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTResource
-
Deprecated.
- ASTResource(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTResource
-
Deprecated.
- ASTResources - Class in net.sourceforge.pmd.lang.java.ast
- ASTResources(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTResources
-
Deprecated.
- ASTResources(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTResources
-
Deprecated.
- ASTResourceSpecification - Class in net.sourceforge.pmd.lang.java.ast
- ASTResourceSpecification(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTResourceSpecification
-
Deprecated.
- ASTResourceSpecification(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTResourceSpecification
-
Deprecated.
- ASTResultType - Class in net.sourceforge.pmd.lang.java.ast
- ASTResultType(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTResultType
-
Deprecated.
- ASTResultType(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTResultType
-
Deprecated.
- ASTReturnStatement - Class in net.sourceforge.pmd.lang.java.ast
- ASTReturnStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTReturnStatement
-
Deprecated.
- ASTReturnStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTReturnStatement
-
Deprecated.
- ASTRSIGNEDSHIFT - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.Will be removed in 7.0.0. Use
ASTShiftExpression.getOperator()
- ASTRSIGNEDSHIFT(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTRSIGNEDSHIFT
-
Deprecated.
- ASTRSIGNEDSHIFT(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTRSIGNEDSHIFT
-
Deprecated.
- ASTRUNSIGNEDSHIFT - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.Will be removed in 7.0.0. Use
ASTShiftExpression.getOperator()
- ASTRUNSIGNEDSHIFT(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTRUNSIGNEDSHIFT
-
Deprecated.
- ASTRUNSIGNEDSHIFT(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTRUNSIGNEDSHIFT
-
Deprecated.
- ASTShiftExpression - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a shift expression on a numeric value.
- ASTShiftExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTShiftExpression
-
Deprecated.
- ASTShiftExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTShiftExpression
-
Deprecated.
- ASTSingleMemberAnnotation - Class in net.sourceforge.pmd.lang.java.ast
-
Represents an annotation using the shorthand syntax for the default member.
- ASTSingleMemberAnnotation(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTSingleMemberAnnotation
-
Deprecated.
- ASTSingleMemberAnnotation(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTSingleMemberAnnotation
-
Deprecated.
- ASTStatement - Class in net.sourceforge.pmd.lang.java.ast
- ASTStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTStatement
-
Deprecated.
- ASTStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTStatement
-
Deprecated.
- ASTStatementExpression - Class in net.sourceforge.pmd.lang.java.ast
- ASTStatementExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTStatementExpression
-
Deprecated.
- ASTStatementExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTStatementExpression
-
Deprecated.
- ASTStatementExpressionList - Class in net.sourceforge.pmd.lang.java.ast
- ASTStatementExpressionList(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTStatementExpressionList
-
Deprecated.
- ASTStatementExpressionList(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTStatementExpressionList
-
Deprecated.
- ASTSwitchExpression - Class in net.sourceforge.pmd.lang.java.ast
- ASTSwitchGuard - Class in net.sourceforge.pmd.lang.java.ast
-
A guard for refining a switch case in
ASTSwitchLabel
s. - ASTSwitchLabel - Class in net.sourceforge.pmd.lang.java.ast
- ASTSwitchLabel(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTSwitchLabel
-
Deprecated.
- ASTSwitchLabel(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTSwitchLabel
-
Deprecated.
- ASTSwitchLabeledBlock - Class in net.sourceforge.pmd.lang.java.ast
- ASTSwitchLabeledExpression - Class in net.sourceforge.pmd.lang.java.ast
- ASTSwitchLabeledRule - Interface in net.sourceforge.pmd.lang.java.ast
- ASTSwitchLabeledThrowStatement - Class in net.sourceforge.pmd.lang.java.ast
- ASTSwitchStatement - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a
switch
statement. - ASTSwitchStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTSwitchStatement
-
Deprecated.
- ASTSwitchStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTSwitchStatement
-
Deprecated.
- ASTSynchronizedStatement - Class in net.sourceforge.pmd.lang.java.ast
- ASTSynchronizedStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTSynchronizedStatement
-
Deprecated.
- ASTSynchronizedStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTSynchronizedStatement
-
Deprecated.
- ASTThrowStatement - Class in net.sourceforge.pmd.lang.java.ast
- ASTThrowStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTThrowStatement
-
Deprecated.
- ASTThrowStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTThrowStatement
-
Deprecated.
- ASTTryStatement - Class in net.sourceforge.pmd.lang.java.ast
-
Try statement node.
- ASTTryStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTTryStatement
-
Deprecated.
- ASTTryStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTTryStatement
-
Deprecated.
- ASTType - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a type reference.
- ASTType(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTType
-
Deprecated.
- ASTType(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTType
-
Deprecated.
- ASTTypeArgument - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a single type argument in a type arguments list.
- ASTTypeArgument(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTTypeArgument
-
Deprecated.
- ASTTypeArgument(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTTypeArgument
-
Deprecated.
- ASTTypeArguments - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a list of type arguments.
- ASTTypeArguments(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTTypeArguments
-
Deprecated.
- ASTTypeArguments(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTTypeArguments
-
Deprecated.
- ASTTypeBound - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a type bound on a type parameter.
- ASTTypeBound(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTTypeBound
-
Deprecated.
- ASTTypeBound(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTTypeBound
-
Deprecated.
- ASTTypeDeclaration - Class in net.sourceforge.pmd.lang.java.ast
- ASTTypeDeclaration(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTTypeDeclaration
-
Deprecated.
- ASTTypeDeclaration(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTTypeDeclaration
-
Deprecated.
- ASTTypeParameter - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a type parameter declaration of a method, constructor, class or interface declaration.
- ASTTypeParameter(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTTypeParameter
-
Deprecated.
- ASTTypeParameter(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTTypeParameter
-
Deprecated.
- ASTTypeParameters - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a list of type parameters.
- ASTTypeParameters(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTTypeParameters
-
Deprecated.
- ASTTypeParameters(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTTypeParameters
-
Deprecated.
- ASTTypePattern - Class in net.sourceforge.pmd.lang.java.ast
-
A type pattern (JDK16).
- ASTUnaryExpression - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a unary prefix operation on a value.
- ASTUnaryExpression(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTUnaryExpression
-
Deprecated.
- ASTUnaryExpression(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTUnaryExpression
-
Deprecated.
- ASTUnaryExpressionNotPlusMinus - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a boolean negation or bitwise inverse operation.
- ASTUnaryExpressionNotPlusMinus(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTUnaryExpressionNotPlusMinus
-
Deprecated.
- ASTUnaryExpressionNotPlusMinus(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTUnaryExpressionNotPlusMinus
-
Deprecated.
- ASTVariableDeclarator - Class in net.sourceforge.pmd.lang.java.ast
-
Groups a variable ID and its initializer if it exists.
- ASTVariableDeclarator(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclarator
-
Deprecated.
- ASTVariableDeclarator(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclarator
-
Deprecated.
- ASTVariableDeclaratorId - Class in net.sourceforge.pmd.lang.java.ast
-
Represents an identifier in the context of variable or parameter declarations (not their use in expressions).
- ASTVariableDeclaratorId(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Deprecated.
- ASTVariableDeclaratorId(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Deprecated.
- ASTVariableInitializer - Class in net.sourceforge.pmd.lang.java.ast
- ASTVariableInitializer(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTVariableInitializer
-
Deprecated.
- ASTVariableInitializer(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTVariableInitializer
-
Deprecated.
- ASTWhileStatement - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a
while
statement. - ASTWhileStatement(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTWhileStatement
-
Deprecated.
- ASTWhileStatement(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTWhileStatement
-
Deprecated.
- ASTWildcardBounds - Class in net.sourceforge.pmd.lang.java.ast
-
Represents a type bound on a wildcard type argument.
- ASTWildcardBounds(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTWildcardBounds
-
Deprecated.
- ASTWildcardBounds(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTWildcardBounds
-
Deprecated.
- ASTYieldStatement - Class in net.sourceforge.pmd.lang.java.ast
- AT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- ATFD - net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey
-
Access to Foreign Data.
- ATFD - net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey
-
Access to Foreign Data.
- AtfdBaseVisitor - Class in net.sourceforge.pmd.lang.java.metrics.impl.visitors
-
Deprecated.Is internal API, will be moved in 7.0.0
- AtfdBaseVisitor() - Constructor for class net.sourceforge.pmd.lang.java.metrics.impl.visitors.AtfdBaseVisitor
-
Deprecated.
- AtfdClassMetric() - Constructor for class net.sourceforge.pmd.lang.java.metrics.impl.AtfdMetric.AtfdClassMetric
- AtfdMetric - Class in net.sourceforge.pmd.lang.java.metrics.impl
-
Access to Foreign Data.
- AtfdMetric() - Constructor for class net.sourceforge.pmd.lang.java.metrics.impl.AtfdMetric
- AtfdMetric.AtfdClassMetric - Class in net.sourceforge.pmd.lang.java.metrics.impl
- AtfdMetric.AtfdOperationMetric - Class in net.sourceforge.pmd.lang.java.metrics.impl
- AtfdOperationMetric() - Constructor for class net.sourceforge.pmd.lang.java.metrics.impl.AtfdMetric.AtfdOperationMetric
- AtLeastOneConstructorRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
-
This rule detects non-static classes with no constructors; requiring even the default constructor to be explicit.
- AtLeastOneConstructorRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.AtLeastOneConstructorRule
- AUTHOR - Static variable in class net.sourceforge.pmd.lang.java.javadoc.JavadocTag
- AvoidBranchingStatementAsLastInLoopRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
- AvoidBranchingStatementAsLastInLoopRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidBranchingStatementAsLastInLoopRule
- AvoidCallingFinalizeRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
- AvoidCallingFinalizeRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidCallingFinalizeRule
- AvoidCatchingThrowableRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
-
Finds
catch
statements containingthrowable
as the type definition. - AvoidCatchingThrowableRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidCatchingThrowableRule
- AvoidDeeplyNestedIfStmtsRule - Class in net.sourceforge.pmd.lang.java.rule.design
- AvoidDeeplyNestedIfStmtsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.AvoidDeeplyNestedIfStmtsRule
- AvoidDollarSignsRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
- AvoidDollarSignsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.AvoidDollarSignsRule
- AvoidDuplicateLiteralsRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
- AvoidDuplicateLiteralsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidDuplicateLiteralsRule
- AvoidDuplicateLiteralsRule.ExceptionParser - Class in net.sourceforge.pmd.lang.java.rule.errorprone
-
Deprecated.This ad-hoc solution will be integrated into the global properties framework somehow
- AvoidFieldNameMatchingMethodNameRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
- AvoidFieldNameMatchingMethodNameRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidFieldNameMatchingMethodNameRule
- AvoidFieldNameMatchingTypeNameRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
- AvoidFieldNameMatchingTypeNameRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidFieldNameMatchingTypeNameRule
- AvoidInstantiatingObjectsInLoopsRule - Class in net.sourceforge.pmd.lang.java.rule.performance
- AvoidInstantiatingObjectsInLoopsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.performance.AvoidInstantiatingObjectsInLoopsRule
- AvoidMultipleUnaryOperatorsRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
- AvoidMultipleUnaryOperatorsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidMultipleUnaryOperatorsRule
- AvoidReassigningCatchVariablesRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
- AvoidReassigningCatchVariablesRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidReassigningCatchVariablesRule
- AvoidReassigningLoopVariablesRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
- AvoidReassigningLoopVariablesRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidReassigningLoopVariablesRule
- AvoidReassigningParametersRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
- AvoidReassigningParametersRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidReassigningParametersRule
- AvoidThrowingNullPointerExceptionRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
Finds
throw
statements containingNullPointerException
instances as thrown values - AvoidThrowingNullPointerExceptionRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.AvoidThrowingNullPointerExceptionRule
- AvoidUsingHardCodedIPRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
- AvoidUsingHardCodedIPRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
- AvoidUsingOctalValuesRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
- AvoidUsingOctalValuesRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidUsingOctalValuesRule
B
- badClassMetricKeyMessage() - Static method in class net.sourceforge.pmd.lang.java.xpath.MetricFunction
-
Deprecated.
- badMetricKeyArgMessage() - Static method in class net.sourceforge.pmd.lang.java.xpath.MetricFunction
-
Deprecated.
- badOperationMetricKeyMessage() - Static method in class net.sourceforge.pmd.lang.java.xpath.MetricFunction
-
Deprecated.
- BANG - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- BeanMembersShouldSerializeRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
- BeanMembersShouldSerializeRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.BeanMembersShouldSerializeRule
- beginColumn - Variable in class net.sourceforge.pmd.lang.java.ast.Token
-
Deprecated.The column number of the first character of this Token.
- beginLine - Variable in class net.sourceforge.pmd.lang.java.ast.Token
-
Deprecated.The line number of the first character of this Token.
- BigIntegerInstantiationRule - Class in net.sourceforge.pmd.lang.java.rule.performance
-
Rule that marks instantiations of new
BigInteger
orBigDecimal
objects, when there is a well-known constant available, such asBigInteger.ZERO
. - BigIntegerInstantiationRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.performance.BigIntegerInstantiationRule
- BINARY_LITERAL - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- BIT_AND - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- BIT_OR - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- Block() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- BlockStatement() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- BOOLEAN - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- booleanExpressionComplexity(Node) - Static method in class net.sourceforge.pmd.lang.java.metrics.impl.CycloMetric
-
Evaluates the number of paths through a boolean expression.
- BooleanInstantiationRule - Class in net.sourceforge.pmd.lang.java.rule.performance
-
Avoid instantiating Boolean objects; you can reference Boolean.TRUE, Boolean.FALSE, or call Boolean.valueOf() instead.
- BooleanInstantiationRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.performance.BooleanInstantiationRule
- BooleanLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- Bound - Class in net.sourceforge.pmd.lang.java.typeresolution.typeinference
-
Deprecated.
- Bound(JavaTypeDefinition, JavaTypeDefinition, InferenceRuleType) - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.typeinference.Bound
-
Deprecated.
- Bound(JavaTypeDefinition, Variable, InferenceRuleType) - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.typeinference.Bound
-
Deprecated.
- Bound(Variable, JavaTypeDefinition, InferenceRuleType) - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.typeinference.Bound
-
Deprecated.
- Bound(Variable, Variable, InferenceRuleType) - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.typeinference.Bound
-
Deprecated.
- BoundOrConstraint - Class in net.sourceforge.pmd.lang.java.typeresolution.typeinference
-
Deprecated.
- BoundOrConstraint(JavaTypeDefinition, JavaTypeDefinition, InferenceRuleType) - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- BoundOrConstraint(JavaTypeDefinition, Variable, InferenceRuleType) - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- BoundOrConstraint(Variable, JavaTypeDefinition, InferenceRuleType) - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- BoundOrConstraint(Variable, Variable, InferenceRuleType) - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- boundsHaveAnEqualityBetween(List<Variable>, Variable, List<Bound>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.TypeInferenceResolver
-
Deprecated.
- boxPrimitive(JavaTypeDefinition) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodTypeResolution
-
Deprecated.
- BREAK - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- BreakStatement() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- BrokenNullCheckRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
- BrokenNullCheckRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.BrokenNullCheckRule
- build(Method) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodType
-
Deprecated.
- build(JavaTypeDefinition, List<JavaTypeDefinition>, Method) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodType
-
Deprecated.
- buildDataFlowFor(JavaNode) - Method in class net.sourceforge.pmd.lang.java.dfa.StatementAndBraceFinder
-
Deprecated.
- buildFor(ASTFieldDeclaration) - Static method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaFieldSignature
-
Builds a field signature from its AST node.
- buildFor(ASTMethodOrConstructorDeclaration) - Static method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaOperationSignature
-
Builds an operation signature from a method or constructor declaration.
- buildHashCode() - Method in class net.sourceforge.pmd.lang.java.ast.JavaQualifiedName
-
Deprecated.Computes the hashcode.
- buildHashCode() - Method in class net.sourceforge.pmd.lang.java.qname.JavaOperationQualifiedName
-
Deprecated.
- buildHashCode() - Method in class net.sourceforge.pmd.lang.java.qname.JavaTypeQualifiedName
-
Deprecated.
- buildToString() - Method in class net.sourceforge.pmd.lang.java.ast.JavaQualifiedName
-
Deprecated.Construct the toString once.
- buildToString() - Method in class net.sourceforge.pmd.lang.java.qname.JavaOperationQualifiedName
-
Deprecated.
- buildToString() - Method in class net.sourceforge.pmd.lang.java.qname.JavaTypeQualifiedName
-
Deprecated.
- bumpArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayDimsAndInits
-
Deprecated.
- bumpArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimitiveType
-
Deprecated.
- bumpArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTReferenceType
-
Deprecated.
- bumpArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Deprecated.
- bumpDecisionPoints() - Method in class net.sourceforge.pmd.lang.java.rule.design.StdCyclomaticComplexityRule.Entry
-
Deprecated.
- bumpDecisionPoints(int) - Method in class net.sourceforge.pmd.lang.java.rule.design.StdCyclomaticComplexityRule.Entry
-
Deprecated.
- BYTE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
C
- call(Context, List) - Method in class net.sourceforge.pmd.lang.java.xpath.GetCommentOnFunction
-
Deprecated.
- call(Context, List) - Method in class net.sourceforge.pmd.lang.java.xpath.MetricFunction
-
Deprecated.
- call(Context, List) - Method in class net.sourceforge.pmd.lang.java.xpath.TypeIsExactlyFunction
-
Deprecated.
- call(Context, List) - Method in class net.sourceforge.pmd.lang.java.xpath.TypeIsFunction
-
Deprecated.
- call(Context, List) - Method in class net.sourceforge.pmd.lang.java.xpath.TypeOfFunction
-
Deprecated.
- canParse() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaParser
-
Deprecated.
- CanSuppressWarnings - Interface in net.sourceforge.pmd.lang.java.ast
-
Deprecated.This interface will be removed, the AST should not know about rules.
- CASE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- CASE_SENSITIVE_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.java.rule.documentation.CommentContentRule
- CaseLabelElement(ASTSwitchLabel) - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- CastExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- CATCH - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- CatchStatement() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- CHAR - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- CHARACTER_LITERAL - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- check(JavaNode, RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.codestyle.UnnecessaryImportRule
-
Remove the import wrapper that imports the name referenced by the given node.
- check(PropertyDescriptor<List<String>>, Node, Object) - Method in class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidBranchingStatementAsLastInLoopRule
- CHECK_ADDRESS_TYPES_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
- CHECK_BREAK_LOOP_TYPES - Static variable in class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidBranchingStatementAsLastInLoopRule
- CHECK_CONTINUE_LOOP_TYPES - Static variable in class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidBranchingStatementAsLastInLoopRule
- CHECK_DO - Static variable in class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidBranchingStatementAsLastInLoopRule
- CHECK_FOR - Static variable in class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidBranchingStatementAsLastInLoopRule
- CHECK_RETURN_LOOP_TYPES - Static variable in class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidBranchingStatementAsLastInLoopRule
- CHECK_WHILE - Static variable in class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidBranchingStatementAsLastInLoopRule
- checkForDuplicatedNameDeclaration(NameDeclaration) - Method in class net.sourceforge.pmd.lang.java.symboltable.AbstractJavaScope
-
Deprecated.
- checkIPv4 - Variable in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
-
Deprecated.
- checkIPv4MappedIPv6 - Variable in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
-
Deprecated.
- checkIPv6 - Variable in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
-
Deprecated.
- checkNodeAndReport(Object, Node, Node) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractInefficientZeroCheck
-
Deprecated.Checks whether the given expression is a equality/relation expression that compares with a size() call.
- CheckResultSetRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
-
Rule that verifies, that the return values of next(), first(), last(), etc.
- CheckResultSetRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.CheckResultSetRule
- CheckSkipResultRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
- CheckSkipResultRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.CheckSkipResultRule
- checksNothing() - Method in class net.sourceforge.pmd.lang.java.rule.design.LoosePackageCouplingRule
- checksNothing() - Method in class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidBranchingStatementAsLastInLoopRule
- checkSubtypeability(MethodType, MethodType) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodTypeResolution
-
Deprecated.
- children() - Method in interface net.sourceforge.pmd.lang.java.ast.JavaNode
- childrenAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
-
Deprecated.
- childrenAccept(JavaParserVisitor, Object) - Method in interface net.sourceforge.pmd.lang.java.ast.JavaNode
-
Deprecated.This method is not useful, the logic for combining children values should be present on the visitor, not the node
- CLASS - net.sourceforge.pmd.lang.java.ast.ASTAnyTypeBodyDeclaration.DeclarationKind
- CLASS - net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration.TypeKind
-
Deprecated.
- CLASS - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- CLASS_FAN_OUT - net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey
-
ClassFanOut Complexity
- CLASS_FAN_OUT - net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey
-
ClassFanOut Complexity
- CLASSES_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.java.rule.design.LoosePackageCouplingRule
- ClassFanOutClassMetric() - Constructor for class net.sourceforge.pmd.lang.java.metrics.impl.ClassFanOutMetric.ClassFanOutClassMetric
- ClassFanOutMetric - Class in net.sourceforge.pmd.lang.java.metrics.impl
-
The ClassFanOutComplexity counts the usage of other classes within this class.
- ClassFanOutMetric() - Constructor for class net.sourceforge.pmd.lang.java.metrics.impl.ClassFanOutMetric
- ClassFanOutMetric.ClassFanOutClassMetric - Class in net.sourceforge.pmd.lang.java.metrics.impl
- ClassFanOutMetric.ClassFanOutOperationMetric - Class in net.sourceforge.pmd.lang.java.metrics.impl
- ClassFanOutMetric.ClassFanOutOption - Enum in net.sourceforge.pmd.lang.java.metrics.impl
- ClassFanOutOperationMetric() - Constructor for class net.sourceforge.pmd.lang.java.metrics.impl.ClassFanOutMetric.ClassFanOutOperationMetric
- ClassNameDeclaration - Class in net.sourceforge.pmd.lang.java.symboltable
- ClassNameDeclaration(JavaNode) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.ClassNameDeclaration
- classNameExists(String) - Method in class net.sourceforge.pmd.lang.java.typeresolution.ClassTypeResolver
-
Deprecated.Check whether the supplied class name exists.
- ClassNamingConventionsRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
-
Configurable naming conventions for type declarations.
- ClassNamingConventionsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.ClassNamingConventionsRule
- ClassOrInterfaceBody() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- ClassOrInterfaceBodyDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- ClassOrInterfaceDeclaration(int) - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- ClassOrInterfaceType() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- ClassScope - Class in net.sourceforge.pmd.lang.java.symboltable
-
This scope represents one Java class.
- ClassScope(String, ClassNameDeclaration) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.ClassScope
- ClassScope(ClassNameDeclaration) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.ClassScope
-
This is only for anonymous inner classes.
- ClassTypeResolver - Class in net.sourceforge.pmd.lang.java.typeresolution
-
Deprecated.
- ClassTypeResolver() - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.ClassTypeResolver
-
Deprecated.
- ClassTypeResolver(ClassLoader) - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.ClassTypeResolver
-
Deprecated.
- clearNodeScope(Node) - Method in class net.sourceforge.pmd.lang.java.ast.JJTJavaParserState
-
Deprecated.
- CloneMethodMustImplementCloneableRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
-
The method clone() should only be implemented if the class implements the Cloneable interface with the exception of a final method that only throws CloneNotSupportedException.
- CloneMethodMustImplementCloneableRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.CloneMethodMustImplementCloneableRule
- closeNodeScope(Node, boolean) - Method in class net.sourceforge.pmd.lang.java.ast.JJTJavaParserState
-
Deprecated.
- closeNodeScope(Node, int) - Method in class net.sourceforge.pmd.lang.java.ast.JJTJavaParserState
-
Deprecated.
- CloseResourceRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
-
Makes sure you close your database connections.
- CloseResourceRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.CloseResourceRule
- CodeInCommentsRule - Class in net.sourceforge.pmd.lang.java.rule.documentation
- CodeInCommentsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.documentation.CodeInCommentsRule
- COGNITIVE_COMPLEXITY - net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey
-
Cognitive complexity.
- CognitiveComplexityMetric - Class in net.sourceforge.pmd.lang.java.metrics.impl
-
Measures the cognitive complexity of a Class / Method in Java.
- CognitiveComplexityMetric() - Constructor for class net.sourceforge.pmd.lang.java.metrics.impl.CognitiveComplexityMetric
- CognitiveComplexityRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
Cognitive complexity rule.
- CognitiveComplexityRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.CognitiveComplexityRule
- COLON - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- COMMA - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- comment() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
-
Deprecated.
- comment(Comment) - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
-
Deprecated.
- Comment - Class in net.sourceforge.pmd.lang.java.ast
- Comment(Token) - Constructor for class net.sourceforge.pmd.lang.java.ast.Comment
- CommentContentRule - Class in net.sourceforge.pmd.lang.java.rule.documentation
-
A rule that checks for illegal words in the comment text.
- CommentContentRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.documentation.CommentContentRule
- CommentDefaultAccessModifierRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
-
Check for Methods, Fields and Nested Classes that have a default access modifier This rule ignores all nodes annotated with @VisibleForTesting by default.
- CommentDefaultAccessModifierRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.CommentDefaultAccessModifierRule
- CommentRequiredRule - Class in net.sourceforge.pmd.lang.java.rule.documentation
- CommentRequiredRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.documentation.CommentRequiredRule
- comments - Variable in class net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager
-
Deprecated.
- CommentSizeRule - Class in net.sourceforge.pmd.lang.java.rule.documentation
-
A rule to manage those who just can't shut up...
- CommentSizeRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.documentation.CommentSizeRule
- CommentUtil - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.This utility class is deprecated and will be removed with PMD 7.0.0. Its methods have been intended to parse javadoc tags. A more useful solution will be added around the AST node
FormalComment
, which contains as childrenJavadocElement
nodes, which in turn provide access to theJavadocTag
. - CompactConstructorDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- CompilationUnit() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.THE JAVA LANGUAGE GRAMMAR STARTS HERE *
- compilePatternsFromList(List<String>) - Static method in class net.sourceforge.pmd.lang.java.rule.regex.RegexHelper
-
Deprecated.Compiles a list of regex into a list of patterns.
- compute(ASTConstructorDeclaration) - Method in class net.sourceforge.pmd.lang.java.dfa.VariableAccessVisitor
-
Deprecated.
- compute(ASTMethodDeclaration) - Method in class net.sourceforge.pmd.lang.java.dfa.VariableAccessVisitor
-
Deprecated.
- computeFor(ASTAnyTypeDeclaration, MetricOptions) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.AtfdMetric.AtfdClassMetric
- computeFor(ASTAnyTypeDeclaration, MetricOptions) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.ClassFanOutMetric.ClassFanOutClassMetric
- computeFor(ASTAnyTypeDeclaration, MetricOptions) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.LocMetric.LocClassMetric
- computeFor(ASTAnyTypeDeclaration, MetricOptions) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.NcssMetric.NcssClassMetric
- computeFor(ASTAnyTypeDeclaration, MetricOptions) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.NoamMetric
- computeFor(ASTAnyTypeDeclaration, MetricOptions) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.NopaMetric
- computeFor(ASTAnyTypeDeclaration, MetricOptions) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.TccMetric
- computeFor(ASTAnyTypeDeclaration, MetricOptions) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.WmcMetric
- computeFor(ASTAnyTypeDeclaration, MetricOptions) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.WocMetric
- computeFor(MethodLikeNode, MetricOptions) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.AtfdMetric.AtfdOperationMetric
- computeFor(MethodLikeNode, MetricOptions) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.ClassFanOutMetric.ClassFanOutOperationMetric
- computeFor(MethodLikeNode, MetricOptions) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.CognitiveComplexityMetric
- computeFor(MethodLikeNode, MetricOptions) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.CycloMetric
- computeFor(MethodLikeNode, MetricOptions) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.LocMetric.LocOperationMetric
- computeFor(MethodLikeNode, MetricOptions) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.NcssMetric.NcssOperationMetric
- computeFor(MethodLikeNode, MetricOptions) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.NpathMetric
- ConditionalAndExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- ConditionalExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- ConditionalOrExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- configureImports(List<ASTImportDeclaration>) - Method in class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
-
Configures the type resolution for the symbol table.
- ConfusingTernaryRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
-
if (x != y) { diff(); } else { same(); }
and
(!x ? diff() : same());
- ConfusingTernaryRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.ConfusingTernaryRule
- ConsecutiveAppendsShouldReuseRule - Class in net.sourceforge.pmd.lang.java.rule.performance
- ConsecutiveAppendsShouldReuseRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.performance.ConsecutiveAppendsShouldReuseRule
- ConsecutiveLiteralAppendsRule - Class in net.sourceforge.pmd.lang.java.rule.performance
-
This rule finds concurrent calls to StringBuffer/Builder.append where String literals are used It would be much better to make these calls using one call to
.append
- ConsecutiveLiteralAppendsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.performance.ConsecutiveLiteralAppendsRule
- CONSIDER_ASSERT - net.sourceforge.pmd.lang.java.metrics.impl.CycloMetric.CycloOption
-
Consider assert statements.
- CONST - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- Constraint - Class in net.sourceforge.pmd.lang.java.typeresolution.typeinference
-
Deprecated.
- Constraint(JavaTypeDefinition, JavaTypeDefinition, InferenceRuleType) - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.typeinference.Constraint
-
Deprecated.
- Constraint(JavaTypeDefinition, Variable, InferenceRuleType) - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.typeinference.Constraint
-
Deprecated.
- Constraint(Variable, JavaTypeDefinition, InferenceRuleType) - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.typeinference.Constraint
-
Deprecated.
- Constraint(Variable, Variable, InferenceRuleType) - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.typeinference.Constraint
-
Deprecated.
- CONSTRUCTOR - net.sourceforge.pmd.lang.java.ast.ASTAnyTypeBodyDeclaration.DeclarationKind
- CONSTRUCTOR - net.sourceforge.pmd.lang.java.ast.MethodLikeNode.MethodLikeKind
-
Deprecated.
- CONSTRUCTOR - net.sourceforge.pmd.lang.java.multifile.signature.JavaOperationSignature.Role
- ConstructorCallsOverridableMethodRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
-
Searches through all methods and constructors called from constructors.
- ConstructorCallsOverridableMethodRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.ConstructorCallsOverridableMethodRule
- ConstructorDeclaration(int) - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- contains(NameOccurrence) - Method in class net.sourceforge.pmd.lang.java.symboltable.AbstractJavaScope
-
Deprecated.
- CONTAINS - net.sourceforge.pmd.lang.java.typeresolution.typeinference.InferenceRuleType
-
Deprecated.
- containsComment() - Method in class net.sourceforge.pmd.lang.java.ast.ASTBlock
- containsComment() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorDeclaration
- CONTINUE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- ContinueStatement() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- couldResolve(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet.AbstractResolver
-
Deprecated.
- couldResolve(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet.CurrentPackageResolver
-
Deprecated.
- couldResolve(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet.ExplicitImportResolver
-
Deprecated.
- couldResolve(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet.FullyQualifiedNameResolver
-
Deprecated.
- couldResolve(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet.ImplicitImportResolver
-
Deprecated.
- couldResolve(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet.ImportOnDemandResolver
-
Deprecated.
- couldResolve(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet.PrimitiveTypeResolver
-
Deprecated.
- couldResolve(String) - Method in interface net.sourceforge.pmd.lang.java.symboltable.TypeSet.Resolver
-
Deprecated.Checks if the given class could be resolved by this resolver.
- couldResolve(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet.VoidResolver
-
Deprecated.
- couldResolve(String) - Method in class net.sourceforge.pmd.lang.java.typeresolution.PMDASMClassLoader
-
Deprecated.Checks if the class loader could resolve a given class name (ie: it doesn't know for sure it will fail).
- COUNT_IMPORTS - net.sourceforge.pmd.lang.java.metrics.impl.NcssMetric.NcssOption
-
Counts import and package statement.
- countMatchingFieldSigs(ASTAnyTypeDeclaration, JavaFieldSigMask) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.AbstractJavaClassMetric
-
Counts the fields matching the signature mask in this class.
- countMatchingOpSigs(ASTAnyTypeDeclaration, JavaOperationSigMask) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.AbstractJavaClassMetric
-
Counts the operations matching the signature mask in this class.
- countNodeChildren(Node, Object) - Method in class net.sourceforge.pmd.lang.java.rule.design.AbstractNcssCountRule
-
Deprecated.Count the number of children of the given Java node.
- CouplingBetweenObjectsRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
CouplingBetweenObjects attempts to capture all unique Class attributes, local variables, and return types to determine how many objects a class is coupled to.
- CouplingBetweenObjectsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.CouplingBetweenObjectsRule
- coverAbstract() - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaOperationSigMask
- coverAbstract(boolean) - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaOperationSigMask
-
Forbid all mentioned visibilities.
- coverAllRoles() - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaOperationSigMask
-
Sets the mask to cover all roles.
- coverAllVisibilities() - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaSigMask
-
Sets the mask to cover all visibilities.
- coverFinal() - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaFieldSigMask
- coverFinal(boolean) - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaFieldSigMask
-
Include final fields?.
- covers(JavaFieldSignature) - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaFieldSigMask
- covers(JavaOperationSignature) - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaOperationSigMask
- covers(T) - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaSigMask
- coverStatic() - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaFieldSigMask
- coverStatic(boolean) - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaFieldSigMask
-
Include static fields?.
- CPD_END - Static variable in class net.sourceforge.pmd.cpd.JavaTokenizer
- CPD_START - Static variable in class net.sourceforge.pmd.cpd.JavaTokenizer
- createDataFlowNode(List<DataFlowNode>, Node) - Method in class net.sourceforge.pmd.lang.java.JavaDataFlowHandler
-
Deprecated.
- createJavaParser(Reader) - Method in class net.sourceforge.pmd.lang.java.AbstractJavaParser
-
Deprecated.Subclass should override this method to modify the JavaParser as needed.
- createJavaParser(Reader) - Method in class net.sourceforge.pmd.lang.java.JavaLanguageParser
-
Deprecated.
- createRuleViolation(Rule, RuleContext, Node, String) - Method in class net.sourceforge.pmd.lang.java.rule.JavaRuleViolationFactory
-
Deprecated.
- createRuleViolation(Rule, RuleContext, Node, String, int, int) - Method in class net.sourceforge.pmd.lang.java.rule.JavaRuleViolationFactory
-
Deprecated.
- createTokenManager(Reader) - Method in class net.sourceforge.pmd.lang.java.AbstractJavaParser
-
Deprecated.
- curChar - Variable in class net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager
-
Deprecated.
- CurrentPackageResolver(PMDASMClassLoader, String) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.CurrentPackageResolver
-
Deprecated.Creates a new
TypeSet.CurrentPackageResolver
- currentToken - Variable in exception net.sourceforge.pmd.lang.java.ast.ParseException
-
Deprecated.This is the last token that has been consumed successfully.
- CYCLO - net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey
-
Cyclomatic complexity.
- CycloAssertAwareDecorator - Class in net.sourceforge.pmd.lang.java.metrics.impl.visitors
-
Deprecated.Visitor decorators are deprecated because they lead to fragile code.
- CycloAssertAwareDecorator() - Constructor for class net.sourceforge.pmd.lang.java.metrics.impl.visitors.CycloAssertAwareDecorator
-
Deprecated.
- CycloBaseVisitor - Class in net.sourceforge.pmd.lang.java.metrics.impl.visitors
-
Deprecated.Visitor decorators are deprecated because they lead to fragile code.
- CycloBaseVisitor() - Constructor for class net.sourceforge.pmd.lang.java.metrics.impl.visitors.CycloBaseVisitor
-
Deprecated.
- CyclomaticComplexityRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
Cyclomatic complexity rule using metrics.
- CyclomaticComplexityRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.CyclomaticComplexityRule
- CycloMetric - Class in net.sourceforge.pmd.lang.java.metrics.impl
-
Cyclomatic Complexity.
- CycloMetric() - Constructor for class net.sourceforge.pmd.lang.java.metrics.impl.CycloMetric
- CycloMetric.CycloOption - Enum in net.sourceforge.pmd.lang.java.metrics.impl
-
Options for CYCLO.
- CycloPathAwareDecorator - Class in net.sourceforge.pmd.lang.java.metrics.impl.visitors
-
Deprecated.Visitor decorators are deprecated because they lead to fragile code.
- CycloPathAwareDecorator() - Constructor for class net.sourceforge.pmd.lang.java.metrics.impl.visitors.CycloPathAwareDecorator
-
Deprecated.
D
- DaaRuleViolation - Class in net.sourceforge.pmd.lang.java.rule.errorprone
-
Deprecated.See
RuleViolation
- DaaRuleViolation(Rule, RuleContext, Node, String, String, String, int, int) - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.DaaRuleViolation
-
Deprecated.
- DataClassRule - Class in net.sourceforge.pmd.lang.java.rule.design
- DataClassRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.DataClassRule
- DataflowAnomalyAnalysisRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
-
Deprecated.Replaced by
UnusedAssignmentRule
- DataflowAnomalyAnalysisRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.DataflowAnomalyAnalysisRule
-
Deprecated.
- DataFlowFacade - Class in net.sourceforge.pmd.lang.java.dfa
-
Deprecated.See
DataFlowNode
- DataFlowFacade() - Constructor for class net.sourceforge.pmd.lang.java.dfa.DataFlowFacade
-
Deprecated.
- debugStream - Variable in class net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager
-
Deprecated.Debug output.
- DECIMAL_LITERAL - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- DeclarationFinderFunction - Class in net.sourceforge.pmd.lang.java.symboltable
-
Deprecated.
- DeclarationFinderFunction(NameOccurrence) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.DeclarationFinderFunction
-
Deprecated.
- declarationsAreInDefaultPackage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
-
Deprecated.Use
getPackageName().isEmpty()
- decorateWith(JavaParserVisitorDecorator) - Method in class net.sourceforge.pmd.lang.java.ast.JavaParserDecoratedVisitor
-
Deprecated.Adds a decorator to this decorated visitor.
- DECR - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- DEFAULT - Static variable in interface net.sourceforge.pmd.lang.java.ast.AccessNode
- DEFAULT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.Lexical state.
- DEFAULT_BUFFER_SIZE - Static variable in class net.sourceforge.pmd.lang.java.rule.performance.InsufficientStringBufferDeclarationRule
- defaultSuppressionAnnotations() - Method in class net.sourceforge.pmd.lang.java.rule.AbstractIgnoredAnnotationRule
-
Deprecated.
- defaultSuppressionAnnotations() - Method in class net.sourceforge.pmd.lang.java.rule.AbstractLombokAwareRule
-
Deprecated.
- defaultSuppressionAnnotations() - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.UnusedPrivateFieldRule
- defaultSuppressionAnnotations() - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.UnusedPrivateMethodRule
- defaultSuppressionAnnotations() - Method in class net.sourceforge.pmd.lang.java.rule.codestyle.AtLeastOneConstructorRule
- defaultSuppressionAnnotations() - Method in class net.sourceforge.pmd.lang.java.rule.codestyle.CommentDefaultAccessModifierRule
- defaultSuppressionAnnotations() - Method in class net.sourceforge.pmd.lang.java.rule.codestyle.LinguisticNamingRule
- defaultSuppressionAnnotations() - Method in class net.sourceforge.pmd.lang.java.rule.codestyle.UnnecessaryConstructorRule
- defaultSuppressionAnnotations() - Method in class net.sourceforge.pmd.lang.java.rule.design.SingularFieldRule
- defaultSuppressionAnnotations() - Method in class net.sourceforge.pmd.lang.java.rule.design.UseUtilityClassRule
- defaultSuppressionAnnotations() - Method in class net.sourceforge.pmd.lang.java.rule.errorprone.BeanMembersShouldSerializeRule
- DefaultValue() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- DEPRECATED - Static variable in class net.sourceforge.pmd.lang.java.javadoc.JavadocTag
- description - Variable in class net.sourceforge.pmd.lang.java.javadoc.JavadocTag
- Dimensionable - Interface in net.sourceforge.pmd.lang.java.ast
-
Deprecated.Will be removed with 7.0.0. See https://github.com/pmd/pmd/issues/997 and https://github.com/pmd/pmd/issues/910
- disable_tracing() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.Disable tracing.
- DISSALLOWED_TERMS_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.java.rule.documentation.CommentContentRule
- DO - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- DontImportJavaLangRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
- DontImportJavaLangRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.DontImportJavaLangRule
- DontImportSunRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
- DontImportSunRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.DontImportSunRule
- DoStatement() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- DOT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- DOUBLE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- DoubleCheckedLockingRule - Class in net.sourceforge.pmd.lang.java.rule.multithreading
-
void method() { if (x == null) { synchronized(this){ if (x == null) { x = new | method(); } } } }
- DoubleCheckedLockingRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.multithreading.DoubleCheckedLockingRule
- DummyJavaNode - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.
- DummyJavaNode(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.DummyJavaNode
-
Deprecated.
- DummyJavaNode(JavaParser, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.DummyJavaNode
-
Deprecated.
- DumpFacade - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.This class will be removed with PMD 7. The rule designer is a better way to inspect nodes.
- DumpFacade() - Constructor for class net.sourceforge.pmd.lang.java.ast.DumpFacade
-
Deprecated.
- DuplicateImportsRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
-
Deprecated.
- DuplicateImportsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.DuplicateImportsRule
-
Deprecated.
- dysfunctionReason() - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
- dysfunctionReason() - Method in class net.sourceforge.pmd.lang.java.rule.codestyle.VariableNamingConventionsRule
-
Deprecated.
- dysfunctionReason() - Method in class net.sourceforge.pmd.lang.java.rule.design.LoosePackageCouplingRule
- dysfunctionReason() - Method in class net.sourceforge.pmd.lang.java.rule.documentation.CommentContentRule
- dysfunctionReason() - Method in class net.sourceforge.pmd.lang.java.rule.documentation.CommentRequiredRule
- dysfunctionReason() - Method in class net.sourceforge.pmd.lang.java.rule.errorprone.AssignmentInOperandRule
- dysfunctionReason() - Method in class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidBranchingStatementAsLastInLoopRule
- dysfunctionReason() - Method in class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidDuplicateLiteralsRule
E
- ELLIPSIS - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- ELSE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- EMPTY - net.sourceforge.pmd.lang.java.ast.ASTAnyTypeBodyDeclaration.DeclarationKind
-
No child,
ASTAnyTypeBodyDeclaration.getDeclarationNode()
will return null. - EmptyControlStatementRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
- EmptyControlStatementRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.EmptyControlStatementRule
- EmptyStatement() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- enable_tracing() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.Enable tracing.
- enclosingTypeIsA(ASTAnyTypeDeclaration.TypeKind...) - Method in class net.sourceforge.pmd.lang.java.ast.AbstractAnyTypeDeclaration
-
Deprecated.Returns true if the enclosing type of this type declaration is any of the given kinds.
- end(RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.AccessorClassGenerationRule
- end(RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.AccessorMethodGenerationRule
- end(RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.design.GenericClassCounterRule
- end(RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.documentation.CommentContentRule
-
.
- endColumn - Variable in class net.sourceforge.pmd.lang.java.ast.Token
-
Deprecated.The column number of the last character of this Token.
- endLine - Variable in class net.sourceforge.pmd.lang.java.ast.Token
-
Deprecated.The line number of the last character of this Token.
- entryStack - Variable in class net.sourceforge.pmd.lang.java.rule.design.StdCyclomaticComplexityRule
-
Deprecated.
- ENUM - net.sourceforge.pmd.lang.java.ast.ASTAnyTypeBodyDeclaration.DeclarationKind
-
See
ASTEnumDeclaration
. - ENUM - net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration.TypeKind
-
Deprecated.
- EnumBody() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- EnumConstant() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- EnumDeclaration(int) - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- EOF - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.End of File.
- eol - Variable in exception net.sourceforge.pmd.lang.java.ast.ParseException
-
Deprecated.The end of line string for this machine.
- EQ - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- EQUALITY - net.sourceforge.pmd.lang.java.typeresolution.typeinference.InferenceRuleType
-
Deprecated.https://docs.oracle.com/javase/specs/jls/se8/html/jls-18.html#jls-18.2.4
- EqualityExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- equals(Object) - Method in class net.sourceforge.pmd.lang.java.ast.JavaQualifiedName
-
Deprecated.
- equals(Object) - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaFieldSignature
- equals(Object) - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaOperationSignature
- equals(Object) - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
- equals(Object) - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodNameDeclaration
- equals(Object) - Method in class net.sourceforge.pmd.lang.java.symboltable.SimpleTypedNameDeclaration
-
Deprecated.
- equals(Object) - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
- equals(Object) - Method in class net.sourceforge.pmd.lang.java.typeresolution.MethodType
-
Deprecated.
- equals(Object) - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- equals(Object) - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- EXACT - net.sourceforge.pmd.lang.java.typeresolution.typedefinition.TypeDefinitionType
- EXCEPTION_FILE_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidDuplicateLiteralsRule
-
Deprecated.
- EXCEPTION_LIST_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidDuplicateLiteralsRule
- ExceptionAsFlowControlRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
Catches the use of exception statements as a flow control device.
- ExceptionAsFlowControlRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.ExceptionAsFlowControlRule
- ExceptionParser(char) - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidDuplicateLiteralsRule.ExceptionParser
-
Deprecated.
- ExcessiveClassLengthRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
This rule detects when a class exceeds a certain threshold.
- ExcessiveClassLengthRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.ExcessiveClassLengthRule
- ExcessiveImportsRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
ExcessiveImports attempts to count all unique imports a class contains.
- ExcessiveImportsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.ExcessiveImportsRule
- ExcessiveLengthRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
This is a common super class for things which have excessive length.
- ExcessiveLengthRule(Class<?>) - Constructor for class net.sourceforge.pmd.lang.java.rule.design.ExcessiveLengthRule
- ExcessiveMethodLengthRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
This rule detects when a method exceeds a certain threshold.
- ExcessiveMethodLengthRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.ExcessiveMethodLengthRule
- ExcessiveNodeCountRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
This is a common super class for things which shouldn't have excessive nodes underneath.
- ExcessiveNodeCountRule(Class<?>) - Constructor for class net.sourceforge.pmd.lang.java.rule.design.ExcessiveNodeCountRule
- ExcessiveParameterListRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
This rule detects an abnormally long parameter list.
- ExcessiveParameterListRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.ExcessiveParameterListRule
- ExcessivePublicCountRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
Rule attempts to count all public methods and public attributes defined in a class.
- ExcessivePublicCountRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.ExcessivePublicCountRule
- ExclusiveOrExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- execute() - Method in class net.sourceforge.pmd.lang.java.symboltable.Search
-
Deprecated.
- execute(CurrentPath) - Method in class net.sourceforge.pmd.lang.java.rule.errorprone.DataflowAnomalyAnalysisRule
-
Deprecated.
- execute(CurrentPath) - Method in class net.sourceforge.pmd.lang.java.rule.UselessAssignment
- execute(Scope) - Method in class net.sourceforge.pmd.lang.java.symboltable.Search
-
Deprecated.
- expectedTokenSequences - Variable in exception net.sourceforge.pmd.lang.java.ast.ParseException
-
Deprecated.Each entry in this array is an array of integers.
- ExplicitConstructorInvocation() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- ExplicitImportResolver(PMDASMClassLoader, Set<String>) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.ExplicitImportResolver
-
Deprecated.Creates a new
TypeSet.ExplicitImportResolver
. - EXPONENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- EXPORTS - net.sourceforge.pmd.lang.java.ast.ASTModuleDirective.DirectiveType
- Expression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- EXTENDS - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- ExtendsList() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
F
- FALSE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- FIELD - net.sourceforge.pmd.lang.java.ast.ASTAnyTypeBodyDeclaration.DeclarationKind
-
See
ASTFieldDeclaration
. - FieldDeclaration(int) - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- FieldDeclarationsShouldBeAtStartOfClassRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
-
Detects fields that are declared after methods, constructors, etc.
- FieldDeclarationsShouldBeAtStartOfClassRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.FieldDeclarationsShouldBeAtStartOfClassRule
- FieldNamingConventionsRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
-
Configurable naming conventions for field declarations.
- FieldNamingConventionsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.FieldNamingConventionsRule
- filteredCommentIn(Comment) - Method in class net.sourceforge.pmd.lang.java.rule.documentation.AbstractCommentRule
-
Deprecated.
- FINAL - Static variable in interface net.sourceforge.pmd.lang.java.ast.AccessNode
- FINAL - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- FINALLY - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- FinallyStatement() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- findClass(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet
-
Deprecated.Resolves a class by its name using all known resolvers.
- findClassNameDeclaration(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
- findFirstDegreeChaildrenOfType(Node, Class<T>) - Method in class net.sourceforge.pmd.lang.java.rule.design.UselessOverridingMethodRule
-
Deprecated.this method will be removed. Just use
Node.findChildrenOfType(Class)
directly. - findOperations(ASTAnyTypeDeclaration) - Method in class net.sourceforge.pmd.lang.java.metrics.JavaMetricsComputer
-
Deprecated.
- findOps(ASTAnyTypeDeclaration) - Method in class net.sourceforge.pmd.lang.java.JavaLanguageHandler.JavaMetricsProvider
-
Deprecated.
- findOps(ASTAnyTypeDeclaration) - Static method in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
-
Deprecated.
- findVariableHere(JavaNameOccurrence) - Method in class net.sourceforge.pmd.lang.java.symboltable.AbstractJavaScope
-
Deprecated.
- findVariableHere(JavaNameOccurrence) - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassScope
- findVariableHere(JavaNameOccurrence) - Method in class net.sourceforge.pmd.lang.java.symboltable.LocalScope
- findVariableHere(JavaNameOccurrence) - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodScope
- findVariableHere(JavaNameOccurrence) - Method in class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
- FLOAT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- FLOATING_POINT_LITERAL - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- FOR - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- forbid(JavaOperationSignature.Role...) - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaOperationSigMask
-
Forbid all mentioned roles.
- forbid(JavaSignature.Visibility...) - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaSigMask
-
Forbid all mentioned visibilities.
- forbidAbstract() - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaOperationSigMask
- forbidFinal() - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaFieldSigMask
- forbidStatic() - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaFieldSigMask
- forClass(Class<?>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- forClass(Class<?>, JavaTypeDefinition...) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- forClass(TypeDefinitionType, Class<?>, JavaTypeDefinition...) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- forClass(TypeDefinitionType, JavaTypeDefinition...) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- ForInit() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- ForLoopCanBeForeachRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
- ForLoopCanBeForeachRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.ForLoopCanBeForeachRule
- FORMAL_COMMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- FormalComment - Class in net.sourceforge.pmd.lang.java.ast
- FormalComment(Token) - Constructor for class net.sourceforge.pmd.lang.java.ast.FormalComment
- FormalParameter() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- FormalParameterNamingConventionsRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
-
Enforces a naming convention for lambda and method parameters.
- FormalParameterNamingConventionsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.FormalParameterNamingConventionsRule
- FormalParameters() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- ForStatement() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- ForUpdate() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- FullyQualifiedNameResolver(PMDASMClassLoader) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.FullyQualifiedNameResolver
-
Deprecated.Creates a
TypeSet.FullyQualifiedNameResolver
G
- GE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- generateParseException() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.Generate ParseException.
- genericBadNodeMessage() - Static method in class net.sourceforge.pmd.lang.java.xpath.MetricFunction
-
Deprecated.
- GenericClassCounterRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
A generic rule that can be configured to "count" classes of certain type based on either their name (full name, prefix, suffixes anything can be matched with a regex), and/or their type.
- GenericClassCounterRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.GenericClassCounterRule
- GenericLiteralCheckerRule - Class in net.sourceforge.pmd.lang.java.rule
-
This class allow to match a Literal (most likely a String) with a regex pattern.
- GenericLiteralCheckerRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.GenericLiteralCheckerRule
- get(AccessNode) - Static method in enum net.sourceforge.pmd.lang.java.multifile.signature.JavaSignature.Visibility
-
Returns the Visibility enum key for a node.
- get(ASTMethodOrConstructorDeclaration) - Static method in enum net.sourceforge.pmd.lang.java.multifile.signature.JavaOperationSignature.Role
- get(MetricKey<ASTAnyTypeDeclaration>, ASTAnyTypeDeclaration) - Static method in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
-
Deprecated.Computes the standard value of the metric identified by its code on a class AST node.
- get(MetricKey<ASTAnyTypeDeclaration>, ASTAnyTypeDeclaration, MetricOptions) - Static method in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
-
Deprecated.Computes a metric identified by its code on a class AST node, possibly selecting a variant with the
MetricOptions
parameter. - get(MetricKey<MethodLikeNode>, ASTAnyTypeDeclaration, MetricOptions, ResultOption) - Static method in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
-
Deprecated.Compute the sum, average, or highest value of the operation metric on all operations of the class node.
- get(MetricKey<MethodLikeNode>, ASTAnyTypeDeclaration, ResultOption) - Static method in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
-
Deprecated.Compute the sum, average, or highest value of the standard operation metric on all operations of the class node.
- get(MetricKey<MethodLikeNode>, ASTMethodOrConstructorDeclaration) - Static method in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
-
Deprecated.Provided here for backwards binary compatibility with
JavaMetrics.get(MetricKey, MethodLikeNode)
. Please explicitly link your code to that method and recompile your code. Will be remove with 7.0.0 - get(MetricKey<MethodLikeNode>, ASTMethodOrConstructorDeclaration, MetricOptions) - Static method in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
-
Deprecated.Provided here for backwards binary compatibility with
JavaMetrics.get(MetricKey, MethodLikeNode, MetricOptions)
. Please explicitly link your code to that method and recompile your code. Will be remove with 7.0.0 - get(MetricKey<MethodLikeNode>, MethodLikeNode) - Static method in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
-
Deprecated.Computes the standard version of the metric identified by the key on a operation AST node.
- get(MetricKey<MethodLikeNode>, MethodLikeNode, MetricOptions) - Static method in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
-
Deprecated.Computes a metric identified by its key on a operation AST node.
- getAccessNodeParent() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassNameDeclaration
- getAccessNodeParent() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
- getAnnotation(String) - Method in interface net.sourceforge.pmd.lang.java.ast.Annotatable
-
Returns a specific annotation on this node, or null if absent.
- getAnnotationName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotation
-
Returns the name of the annotation as it is used, eg
java.lang.Override
orOverride
. - getAnnotationName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMarkerAnnotation
-
Returns the name of the annotation as it is used, eg
java.lang.Override
orOverride
. - getAnnotationName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTNormalAnnotation
-
Returns the name of the annotation as it is used, eg
java.lang.Override
orOverride
. - getAnnotationName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSingleMemberAnnotation
-
Returns the name of the annotation as it is used, eg
java.lang.Override
orOverride
. - getApplicableMethods(JavaTypeDefinition, String, List<JavaTypeDefinition>, int, Class<?>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodTypeResolution
-
Deprecated.Looks for potentially applicable methods in a given type definition.
- getArgTypeIncludingVararg(int) - Method in class net.sourceforge.pmd.lang.java.typeresolution.MethodType
-
Deprecated.
- getArgumentCount() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArguments
-
Deprecated.for removal. Use
ASTArguments.size()
orASTArgumentList.size()
instead. - getArgumentCount() - Method in class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
- getArgumentCount() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimarySuffix
-
Get the number of arguments for this primary suffix.
- getArgumentCount() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
- getArity() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorDeclaration
-
Returns the number of formal parameters expected by this constructor (excluding any receiver parameter).
- getArity() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
Returns the number of formal parameters expected by this method (excluding any receiver parameter).
- getArity(Method) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodTypeResolution
-
Deprecated.
- getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayDimsAndInits
-
Deprecated.
- getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceType
- getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
Deprecated.
- getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
-
Deprecated.
- getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
-
Deprecated.
- getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimitiveType
-
Deprecated.
- getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTReferenceType
-
Deprecated.
- getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTType
-
Deprecated.
- getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Deprecated.
- getArrayDepth() - Method in interface net.sourceforge.pmd.lang.java.ast.Dimensionable
-
Deprecated.
- getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
- getAsSuper(Class<?>) - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- getASTCompilationUnitPackage() - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet
-
Deprecated.
- getAvailableOperationMetrics() - Method in class net.sourceforge.pmd.lang.java.JavaLanguageHandler.JavaMetricsProvider
-
Deprecated.
- getAvailableTypeMetrics() - Method in class net.sourceforge.pmd.lang.java.JavaLanguageHandler.JavaMetricsProvider
-
Deprecated.
- getBeginColumn() - Method in class net.sourceforge.pmd.lang.java.ast.Token
-
Deprecated.
- getBeginLine() - Method in class net.sourceforge.pmd.lang.java.ast.Token
-
Deprecated.
- getBestMethodReturnType(JavaTypeDefinition, List<MethodType>, ASTArgumentList) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodTypeResolution
-
Deprecated.Searches a list of methods by trying the three phases of method overload resolution.
- getBinaryName() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractAnyTypeDeclaration
-
Deprecated.
- getBinaryName() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
-
Returns the binary name of this type declaration.
- getBinaryName() - Method in class net.sourceforge.pmd.lang.java.qname.JavaTypeQualifiedName
-
Deprecated.Returns the binary name of the type identified by this qualified name.
- getBlock() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCatchStatement
-
Deprecated.
- getBlock() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
Deprecated.
- getBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCatchStatement
-
Returns the body of this catch clause.
- getBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompactConstructorDeclaration
- getBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTDoStatement
-
Returns the statement that will be run while the guard evaluates to true.
- getBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFinallyStatement
-
Returns the body of this finally clause.
- getBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTForStatement
-
Returns the statement that represents the body of this loop.
- getBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTInitializer
-
Returns the body of this initializer.
- getBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
Returns the block defined by this method, or null if the method is abstract.
- getBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSynchronizedStatement
-
Returns the body of this statement.
- getBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTryStatement
-
Returns the body of this try statement.
- getBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTWhileStatement
-
Returns the statement that will be run while the guard evaluates to true.
- getBoundTypeNodes() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeBound
-
Returns a list with the type bounds of this node.
- getCalculator() - Method in enum net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey
- getCalculator() - Method in enum net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey
- getCatchClauses() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTryStatement
-
Returns the catch clauses of this try statement.
- getCatchStatements() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTryStatement
-
Deprecated.
- getCaughtExceptionTypeNodes() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCatchStatement
-
Returns the list of type nodes denoting the exception types caught by this catch block.
- getCaughtExceptionTypes() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCatchStatement
-
Returns the list of exception types caught by this catch block.
- getChild(int) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValuePairs
- getChild(int) - Method in interface net.sourceforge.pmd.lang.java.ast.JavaNode
- getClassDeclaration() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassScope
- getClassDeclarations() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassScope
- getClassDeclarations() - Method in class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
-
Convenience method that casts the declarations to
ClassNameDeclaration
s. - getClasses() - Method in class net.sourceforge.pmd.lang.java.ast.JavaQualifiedName
-
Deprecated.Use {
JavaTypeQualifiedName.getClassList()
. Will be removed in 7.0.0 - getClassList() - Method in class net.sourceforge.pmd.lang.java.qname.JavaTypeQualifiedName
-
Deprecated.Returns the class specific part of the name.
- getClassName() - Method in class net.sourceforge.pmd.lang.java.ast.JavaQualifiedName
-
Deprecated.
- getClassName() - Method in class net.sourceforge.pmd.lang.java.qname.JavaOperationQualifiedName
-
Deprecated.
- getClassName() - Method in class net.sourceforge.pmd.lang.java.qname.JavaTypeQualifiedName
-
Deprecated.
- getClassName() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassScope
- getClassSimpleName() - Method in class net.sourceforge.pmd.lang.java.ast.JavaQualifiedName
-
Deprecated.Use
JavaTypeQualifiedName.getClassSimpleName()
. Will be removed in 7.0.0 - getClassSimpleName() - Method in class net.sourceforge.pmd.lang.java.qname.JavaTypeQualifiedName
-
Deprecated.Get the simple name of the class.
- getClassTypeResolver() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
-
Deprecated.
- GetCommentOnFunction - Class in net.sourceforge.pmd.lang.java.xpath
-
Deprecated.
- GetCommentOnFunction() - Constructor for class net.sourceforge.pmd.lang.java.xpath.GetCommentOnFunction
-
Deprecated.
- getComments() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
- getComparisonTargets() - Method in class net.sourceforge.pmd.lang.java.rule.AbstractInefficientZeroCheck
-
Deprecated.For each relation/equality operator, comparison targets need to define.
- getComparisonTargets() - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.UseCollectionIsEmptyRule
- getComplexityAverage() - Method in class net.sourceforge.pmd.lang.java.rule.design.StdCyclomaticComplexityRule.Entry
-
Deprecated.
- getComponentList() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordDeclaration
-
Deprecated.Renamed to
ASTRecordDeclaration.getRecordComponents()
- getComponentType() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
-
Gets the component type of this type definition if it is an array type.
- getCondition() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAssertStatement
-
Returns the expression tested by this assert statement.
- getCondition() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConditionalExpression
-
Returns the node that represents the guard of this conditional.
- getCondition() - Method in class net.sourceforge.pmd.lang.java.ast.ASTDoStatement
-
Returns the node that represents the guard of this loop.
- getCondition() - Method in class net.sourceforge.pmd.lang.java.ast.ASTForStatement
-
Returns the node that represents the guard of this loop.
- getCondition() - Method in class net.sourceforge.pmd.lang.java.ast.ASTIfStatement
-
Returns the node that represents the guard of this conditional.
- getCondition() - Method in class net.sourceforge.pmd.lang.java.ast.ASTWhileStatement
-
Returns the node that represents the guard of this loop.
- getDataFlowFacade() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
Deprecated.
- getDataFlowHandler() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
Deprecated.
- getDecl() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
-
Deprecated.
- getDecl() - Method in class net.sourceforge.pmd.lang.java.symboltable.DeclarationFinderFunction
-
Deprecated.
- getDeclarationNode() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeBodyDeclaration
-
Returns the child of this declaration, which can be cast to a more specific node type using
ASTAnyTypeBodyDeclaration.getKind()
as a cue. - getDeclarationNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompactConstructorDeclaration
- getDeclarations() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotationTypeDeclaration
- getDeclarations() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
-
Retrieves the member declarations (fields, methods, classes, etc.) from the body of this type declaration.
- getDeclarations() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
- getDeclarations() - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumDeclaration
- getDeclarations() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordDeclaration
- getDeclaratorId() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
- getDeclaredAnnotations() - Method in interface net.sourceforge.pmd.lang.java.ast.Annotatable
-
Get all annotations present on this node.
- getDeclaredAnnotations() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
- getDeclaredAnnotations() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypePattern
- getDeclaringType(Node) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractJavaRule
-
Deprecated.This method just returns the type name as a string which doesn't leverage any type resolution. Use
Node.getFirstParentOfType(Class)
directly to find the node of typeASTClassOrInterfaceBodyDeclaration
via thegetType
method. - getDefinitionType() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- getDesignerBindings() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
Deprecated.
- getDetailMessageNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAssertStatement
-
Returns the expression that corresponds to the detail message, i.e.
- getDFAGraphRule() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
Deprecated.
- getDumpFacade(Writer, String, boolean) - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
Deprecated.
- getElementType() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
-
Gets the element type of this type definition if it is an array type.
- getElseBranch() - Method in class net.sourceforge.pmd.lang.java.ast.ASTIfStatement
-
Returns the statement of the
else
clause, if any. - getEnclosingClass() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- getEnclosingTypeDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractAnyTypeDeclaration
-
Deprecated.Returns the enclosing type of this type, if it is nested.
- getEndColumn() - Method in class net.sourceforge.pmd.lang.java.ast.Token
-
Deprecated.
- getEndLine() - Method in class net.sourceforge.pmd.lang.java.ast.Token
-
Deprecated.
- getErasedCandidateSet(List<JavaTypeDefinition>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.TypeInferenceResolver
-
Deprecated.
- getErasedSuperTypeSet() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- getEscapedStringLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
-
Tries to reconstruct the original string literal.
- getExceptionId() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCatchStatement
-
Returns the declarator id for the exception parameter.
- getExceptionName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCatchStatement
-
Returns exception name caught by this catch block.
- getExplicitImports() - Method in class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
- getExplicitImports() - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet
-
Deprecated.
- getExpr() - Method in class net.sourceforge.pmd.lang.java.ast.ASTYieldStatement
-
Returns the yielded expression.
- getFalseAlternative() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConditionalExpression
-
Returns the node that represents the expression that will be evaluated if the guard evaluates to false.
- getFields(ASTAnyTypeDeclaration) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.AbstractJavaClassMetric
-
Gets a list of all fields declared in the class.
- getFilteredComment() - Method in class net.sourceforge.pmd.lang.java.ast.Comment
-
Filters the comment by removing the leading comment marker (like
*
) of each line as well as the start markers (//
,/*
or/**
and the end markers (*/
). - getFinally() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTryStatement
-
Deprecated.
- getFinallyClause() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTryStatement
-
Returns the
finally
clause of this try statement, if any. - getFirstClassOrInterfaceTypeImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTThrowStatement
-
Deprecated.This method is too specific and doesn't support all cases. It will be removed with PMD 7.
- getFirstNameImage(Node) - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.AbstractSunSecureRule
-
Deprecated.Gets the image of the ASTName node found by
Node.getFirstDescendantOfType(Class)
if it is the greatgrandchild of the given node. - getFormalParameters() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorDeclaration
- getFormalParameters() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
- getGenericType(int) - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- getGenericType(String) - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- getGenericTypeIndex(TypeVariable<?>[], String) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- getGuard() - Method in class net.sourceforge.pmd.lang.java.ast.ASTGuardedPattern
-
Deprecated.
- getGuard() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchGuard
- getGuardExpressionNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAssertStatement
-
Deprecated.
- getGuardExpressionNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConditionalExpression
-
Deprecated.
- getGuardExpressionNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTDoStatement
-
Deprecated.
- getGuardExpressionNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTForStatement
-
Deprecated.
- getGuardExpressionNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTIfStatement
-
Deprecated.
- getGuardExpressionNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTWhileStatement
-
Deprecated.
- getImage() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractAnyTypeDeclaration
-
Deprecated.
- getImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAdditiveExpression
-
Deprecated.
- getImage() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
-
Deprecated.
- getImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTBreakStatement
- getImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclarator
-
Deprecated.
- getImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Deprecated.
- getImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTYieldStatement
- getImage() - Method in class net.sourceforge.pmd.lang.java.ast.Token
-
Deprecated.
- getImage() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
- getImportedClasses(String) - Method in class net.sourceforge.pmd.lang.java.typeresolution.PMDASMClassLoader
-
Deprecated.
- getImportedName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
-
Returns the full name of the import.
- getImportedNameNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
-
Deprecated.this will be removed with PMD 7.0.0
- getImportedSimpleName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
-
Returns the simple name of the type or method imported by this declaration.
- getImportsCount() - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet
-
Deprecated.
- getInitializer() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclarator
-
Returns the initializer, of the variable, or null if it doesn't exist.
- getInnerClasses() - Method in class net.sourceforge.pmd.lang.java.typeresolution.visitors.PMDASMVisitor
-
Deprecated.
- getInstance() - Static method in class net.sourceforge.pmd.lang.java.metrics.JavaMetricsComputer
-
Deprecated.
- getInstance(ClassLoader) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.PMDASMClassLoader
-
Deprecated.A new PMDASMClassLoader is created for each compilation unit, this method allows to reuse the same PMDASMClassLoader across all the compilation units.
- getInstantiations(List<Bound>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.TypeInferenceResolver
-
Deprecated.
- getJavaType(int) - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- getJavaTypeCount() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- getKind() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotationMethodDeclaration
- getKind() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeBodyDeclaration
-
Gets the kind of declaration this node contains.
- getKind() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompactConstructorDeclaration
- getKind() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorDeclaration
- getKind() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaExpression
- getKind() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
- getKind() - Method in interface net.sourceforge.pmd.lang.java.ast.MethodLikeNode
-
Deprecated.Same reason as for
ASTAnyTypeDeclaration.TypeKind
- getKind() - Method in class net.sourceforge.pmd.lang.java.ast.Token
-
Deprecated.
- getLabelStatementNodeClass() - Method in class net.sourceforge.pmd.lang.java.JavaDataFlowHandler
-
Deprecated.
- getLanguageMetricsProvider() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
Deprecated.
- getLeftMentionedVariable() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- getLexerForSource(SourceCode) - Method in class net.sourceforge.pmd.cpd.JavaTokenizer
- getLocation() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
- getLowerBoundsOf(Variable, List<Bound>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.TypeInferenceResolver
-
Deprecated.
- getMemberName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValuePair
-
Returns the name of the member set by this pair.
- getMemberValue() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValuePair
-
Returns the value of the member set by this pair.
- getMemberValue() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSingleMemberAnnotation
-
Returns the value of the default member set by this annotation.
- getMentionedVariables(List<Bound>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.TypeInferenceResolver
-
Deprecated.
- getMethod() - Method in class net.sourceforge.pmd.lang.java.typeresolution.MethodType
-
Deprecated.
- getMethodDeclarations() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassScope
- getMethodDeclarator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
Deprecated.Method declarator nodes will be removed with 7.0.0
- getMethodExplicitTypeArugments(Node) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodTypeResolution
-
Deprecated.
- getMethodName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
Deprecated.
- getMethodNameDeclaratorNode() - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodNameDeclaration
- getMethods() - Method in class net.sourceforge.pmd.lang.java.dfa.JavaDFAGraphRule
-
Deprecated.
- getMethodsAndConstructors(ASTAnyTypeDeclaration) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.AbstractJavaClassMetric
-
Gets a list of all methods and constructors declared in the class.
- getMetric(Node, String) - Static method in class net.sourceforge.pmd.lang.java.xpath.MetricFunction
-
Deprecated.
- getMinimalErasedCandidateSet(Set<Class<?>>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.TypeInferenceResolver
-
Deprecated.
- getModifiers() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
Deprecated.
- getModifiers() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
- getMultifileFacade() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
Deprecated.
- getName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
Returns the simple name of the method.
- getName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPackageDeclaration
-
Returns the name of the package.
- getName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeParameter
-
Returns the name of the type variable introduced by this declaration.
- getName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclarator
-
Returns the name of the declared variable.
- getName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Returns the name of the variable.
- getName() - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodScope
- getNameDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.ASTName
- getNameDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Note: this might be
null
in certain cases. - getNameForWhichThisIsAQualifier() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
- getNames() - Method in class net.sourceforge.pmd.lang.java.symboltable.NameFinder
-
Deprecated.
- getNext() - Method in class net.sourceforge.pmd.lang.java.ast.Token
-
Deprecated.
- getNextToken() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.Get the next Token.
- getNextToken() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager
-
Deprecated.Get the next Token.
- getNextToken() - Method in class net.sourceforge.pmd.lang.java.JavaTokenManager
-
Deprecated.
- getOperation() - Method in class net.sourceforge.pmd.lang.java.ast.JavaQualifiedName
-
Deprecated.Use
JavaOperationQualifiedName.getOperation()
. Will be removed in 7.0.0 - getOperation() - Method in class net.sourceforge.pmd.lang.java.qname.JavaOperationQualifiedName
-
Deprecated.Returns the operation specific part of the name.
- getOperator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAdditiveExpression
-
Returns the image of the operator, i.e.
- getOperator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTEqualityExpression
-
Returns the image of the operator, i.e.
- getOperator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMultiplicativeExpression
-
Returns the image of the operator, i.e.
- getOperator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPostfixExpression
-
Returns the image of this unary operator, i.e.
- getOperator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTShiftExpression
-
Returns the image of the operator, i.e.
- getOperator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTUnaryExpression
-
Returns the image of this unary operator, i.e.
- getOperator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTUnaryExpressionNotPlusMinus
-
Returns the image of this unary operator, i.e.
- getPackage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
-
Deprecated.this will be removed with PMD 7.0.0
- getPackageDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
- getPackageList() - Method in class net.sourceforge.pmd.lang.java.qname.JavaTypeQualifiedName
-
Deprecated.Returns the packages in outer-to-inner order.
- getPackageName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
-
Returns the package name of this compilation unit.
- getPackageName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
-
Returns the "package" prefix of the imported name.
- getPackageName() - Method in class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
- getPackageNameImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPackageDeclaration
-
Deprecated.
- getPackages() - Method in class net.sourceforge.pmd.lang.java.ast.JavaQualifiedName
-
Deprecated.Use
JavaTypeQualifiedName.getPackageList()
()}. Will be removed in 7.0.0 - getPackages() - Method in class net.sourceforge.pmd.lang.java.typeresolution.visitors.PMDASMVisitor
-
Deprecated.
- getParameterCount() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorDeclaration
-
Deprecated.
- getParameterCount() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameters
-
Deprecated.for removal. Use
ASTFormalParameters.size()
instead. - getParameterCount() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclarator
-
Deprecated.
- getParameterCount() - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodNameDeclaration
- getParameterDisplaySignature() - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodNameDeclaration
- getParameterName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeParameter
-
Deprecated.
- getParameters() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorDeclaration
-
Deprecated.to be removed with PMD 7.0.0 - use getFormalParameters() instead
- getParameterTypes() - Method in class net.sourceforge.pmd.lang.java.typeresolution.MethodType
-
Deprecated.
- getParent() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMarkerAnnotation
- getParent() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValuePair
- getParent() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValuePairs
- getParent() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclarator
-
Deprecated.
- getParent() - Method in class net.sourceforge.pmd.lang.java.ast.ASTNormalAnnotation
- getParent() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSingleMemberAnnotation
- getParent() - Method in interface net.sourceforge.pmd.lang.java.ast.JavaNode
- getParenthesisDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTGuardedPattern
-
Deprecated.
- getParenthesisDepth() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTPattern
-
Returns the number of parenthesis levels around this pattern.
- getParenthesisDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordPattern
- getParenthesisDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypePattern
- getParser(ParserOptions) - Method in class net.sourceforge.pmd.lang.java.JavaLanguageHandler
-
Deprecated.
- getPattern() - Method in class net.sourceforge.pmd.lang.java.ast.ASTGuardedPattern
-
Deprecated.
- getPermittedSubclasses() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
- getPreviousComment() - Method in class net.sourceforge.pmd.lang.java.ast.Token
-
Deprecated.
- getPrintableName() - Method in enum net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration.TypeKind
-
Deprecated.
- getPrintableName() - Method in enum net.sourceforge.pmd.lang.java.ast.MethodLikeNode.MethodLikeKind
-
Deprecated.
- getQualifiedName() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractAnyTypeDeclaration
-
Deprecated.
- getQualifiedName() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractMethodLikeNode
-
Deprecated.
- getQualifiedName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAllocationExpression
-
Gets the qualified name of the anonymous class declared by this node, or null if this node doesn't declare any.
- getQualifiedName() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
-
Deprecated.
- getQualifiedName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumConstant
-
Gets the qualified name of the anonymous class declared by this node, or null if this node doesn't declare any.
- getQualifiedName() - Method in interface net.sourceforge.pmd.lang.java.ast.JavaQualifiableNode
-
Deprecated.Returns a qualified name for this node.
- getQualifiedName() - Method in interface net.sourceforge.pmd.lang.java.ast.MethodLikeNode
-
Deprecated.Qualified names are not very useful objects. Use them to get a nice string for a method, but this is not going
- getQualifiedNameResolutionFacade(ClassLoader) - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
Deprecated.
- getQualifiedTypeNames() - Method in class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
-
Returns a set of all types defined within this source file.
- getRecordComponents() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractAnyTypeDeclaration
-
Deprecated.Returns the record component list, or null if this is not a record declaration.
- getRecordComponents() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordDeclaration
-
Returns the record component list.
- getRequiresModifier() - Method in class net.sourceforge.pmd.lang.java.ast.ASTModuleDirective
- getRestrictedPackages() - Method in class net.sourceforge.pmd.lang.java.rule.design.LoosePackageCouplingRule
- getResult() - Method in class net.sourceforge.pmd.lang.java.symboltable.Search
-
Deprecated.
- getResultType() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
Returns the result type node of the method.
- getReturnedVariableName(ASTReturnStatement) - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.AbstractSunSecureRule
-
Deprecated.Gets the name of the variable returned.
- getReturnType() - Method in class net.sourceforge.pmd.lang.java.typeresolution.MethodType
-
Deprecated.
- getRightMentionedVariable() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- getRoot() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
-
Deprecated.
- getRoot() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
- getRoot() - Method in interface net.sourceforge.pmd.lang.java.ast.JavaNode
- getRuleViolationFactory() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
Deprecated.
- getScope() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
-
Deprecated.
- getScope() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
- getSignature() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractMethodOrConstructorDeclaration
-
Deprecated.
- getSignature() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
- getSignature() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration
- getSimpleName() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractAnyTypeDeclaration
-
Deprecated.
- getSimpleName() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
-
Returns the simple name of this type declaration.
- getStableName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTResource
- getSuperClassTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
-
Returns the superclass type node if this node is a class declaration and explicitly declares an
extends
clause. - getSuperInterfacesTypeNodes() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
-
Returns the interfaces implemented by this class, or extended by this interface.
- getSuperTypeSet() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- getSuperTypeSet(Set<JavaTypeDefinition>) - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- getSuppressMap() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaParser
-
Deprecated.
- getSuppressMap() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- getSymbolFacade() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
Deprecated.
- getSymbolFacade(ClassLoader) - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
Deprecated.
- GETTER_OR_SETTER - net.sourceforge.pmd.lang.java.multifile.signature.JavaOperationSignature.Role
- getTestedExpression() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchStatement
-
Gets the expression tested by this switch.
- getTextBlockContent() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
-
Returns the content of the text block after normalizing line endings to LF, removing incidental white space surrounding the text block and interpreting escape sequences.
- getThenBranch() - Method in class net.sourceforge.pmd.lang.java.ast.ASTIfStatement
-
Returns the statement that will be run if the guard evaluates to true.
- getThrows() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
Returns the exception names listed in the
throws
clause of this method declaration, or null if there are none. - getToken(int) - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.Get the specific Token.
- getTokenFilter(TokenManager) - Method in class net.sourceforge.pmd.cpd.JavaTokenizer
- getTrueAlternative() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConditionalExpression
-
Returns the node that represents the expression that will be evaluated if the guard evaluates to true.
- getType() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessTypeNode
-
Deprecated.
- getType() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaTypeNode
-
Deprecated.
- getType() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
Deprecated.FieldDeclaration may declare several variables with a different type It won't implement TypeNode anymore come 7.0.0
- getType() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
-
Returns the type of this formal parameter.
- getType() - Method in class net.sourceforge.pmd.lang.java.ast.ASTModuleDirective
- getType() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Returns the type of the declared variable.
- getType() - Method in class net.sourceforge.pmd.lang.java.ast.ASTYieldStatement
-
Deprecated.Use the type of the expression yielded by
ASTYieldStatement.getExpr()
- getType() - Method in interface net.sourceforge.pmd.lang.java.ast.TypeNode
-
Get the Java Class associated with this node.
- getType() - Method in class net.sourceforge.pmd.lang.java.qname.JavaTypeQualifiedName
-
Deprecated.Gets the Class instance identified by this qualified name.
- getType() - Method in class net.sourceforge.pmd.lang.java.rule.errorprone.DaaRuleViolation
-
Deprecated.
- getType() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassNameDeclaration
- getType() - Method in class net.sourceforge.pmd.lang.java.symboltable.SimpleTypedNameDeclaration
-
Deprecated.
- getType() - Method in interface net.sourceforge.pmd.lang.java.symboltable.TypedNameDeclaration
- getType() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
- getType() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- getType() - Method in interface net.sourceforge.pmd.lang.java.typeresolution.typedefinition.TypeDefinition
-
Deprecated.Get the raw Class type of the definition.
- getTypeBoundNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeParameter
-
Returns the type bound node of this parameter, or null if it is not bounded.
- getTypeBoundNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTWildcardBounds
-
Returns the type node representing the bound, e.g.
- getTypeDefinition() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessTypeNode
-
Deprecated.
- getTypeDefinition() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaTypeNode
-
Deprecated.
- getTypeDefinition() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
Deprecated.FieldDeclaration may declare several variables with a different type It won't implement TypeNode anymore come 7.0.0
- getTypeDefinition() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
- getTypeDefinition() - Method in class net.sourceforge.pmd.lang.java.ast.ASTYieldStatement
-
Deprecated.Use the type of the expression yielded by
ASTYieldStatement.getExpr()
- getTypeDefinition() - Method in interface net.sourceforge.pmd.lang.java.ast.TypeNode
-
Get the TypeDefinition associated with this node.
- getTypeDefOfMethod(JavaTypeDefinition, Method, List<JavaTypeDefinition>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodTypeResolution
-
Deprecated.
- getTypeImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTType
- getTypeImage() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassNameDeclaration
- getTypeImage() - Method in class net.sourceforge.pmd.lang.java.symboltable.SimpleTypedNameDeclaration
-
Deprecated.
- getTypeImage() - Method in interface net.sourceforge.pmd.lang.java.symboltable.TypedNameDeclaration
- getTypeImage() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
- getTypeKind() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotationTypeDeclaration
- getTypeKind() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
-
Deprecated.
- getTypeKind() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
- getTypeKind() - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumDeclaration
- getTypeKind() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordDeclaration
- getTypeNameNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Returns the first child of the node returned by
ASTVariableDeclaratorId.getTypeNode()
. - getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
-
Returns the type node of this formal parameter.
- getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTInstanceOfExpression
-
Gets the type against which the expression is tested.
- getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
-
Gets the type node for this variable declaration statement.
- getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordComponent
- getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordPattern
-
Gets the type against which the expression is tested.
- getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeArgument
-
Returns the type node of this type argument.
- getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypePattern
-
Gets the type against which the expression is tested.
- getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Determines the type node of this variable id, that is, the type node belonging to the variable declaration of this node (either a FormalParameter, LocalVariableDeclaration or FieldDeclaration).
- getTypeNode() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassNameDeclaration
-
Null for anonymous classes.
- getTypeNode() - Method in class net.sourceforge.pmd.lang.java.symboltable.SimpleTypedNameDeclaration
-
Deprecated.
- getTypeNode() - Method in interface net.sourceforge.pmd.lang.java.symboltable.TypedNameDeclaration
-
Nullable
- getTypeNode() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
- getTypeParameterCount() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- getTypeResolutionFacade(ClassLoader) - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
Deprecated.
- getUninstantiatedVariables(List<Bound>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.TypeInferenceResolver
-
Deprecated.
- getUsages() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
- getValue() - Method in class net.sourceforge.pmd.lang.java.ast.Token
-
Deprecated.An optional attribute value of the Token.
- getValueAsDouble() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
- getValueAsFloat() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
- getValueAsInt() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
- getValueAsLong() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
- getVarargComponentType() - Method in class net.sourceforge.pmd.lang.java.typeresolution.MethodType
-
Deprecated.
- getVariableDeclarations() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassScope
- getVariableDeclarations() - Method in class net.sourceforge.pmd.lang.java.symboltable.LocalScope
- getVariableDeclarations() - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodScope
- getVariableDeclaratorId() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
-
Returns the declarator ID of this formal parameter.
- getVariableDependencies(List<Bound>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.TypeInferenceResolver
-
Deprecated.
- getVariableId() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclarator
-
Returns the id of the declared variable.
- getVariableName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
Deprecated.FieldDeclaration may declare several variables, so this is not exhaustive Iterate on the VariableDeclaratorIds instead
- getVariableName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
-
Deprecated.LocalVariableDeclaration may declare several variables, so this is not exhaustive Iterate on the VariableDeclaratorIds instead
- getVariableName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Deprecated.
- getVariableName() - Method in class net.sourceforge.pmd.lang.java.rule.errorprone.DaaRuleViolation
-
Deprecated.
- getVarId() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordComponent
- getVarId() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordPattern
-
Returns the declared variable.
- getVarId() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypePattern
-
Returns the declared variable.
- getViolationParameters(DataPoint) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractStatisticalJavaRule
-
Deprecated.
- getViolationParameters(DataPoint) - Method in class net.sourceforge.pmd.lang.java.rule.design.NcssConstructorCountRule
-
Deprecated.
- getViolationParameters(DataPoint) - Method in class net.sourceforge.pmd.lang.java.rule.design.NcssMethodCountRule
-
Deprecated.
- getViolationParameters(DataPoint) - Method in class net.sourceforge.pmd.lang.java.rule.design.NcssTypeCountRule
-
Deprecated.
- getXPathHandler() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
Deprecated.
- getXPathNodeName() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
-
Deprecated.
- getXPathNodeName() - Method in class net.sourceforge.pmd.lang.java.ast.FormalComment
- getXPathNodeName() - Method in class net.sourceforge.pmd.lang.java.ast.JavadocElement
- getXPathNodeName() - Method in class net.sourceforge.pmd.lang.java.ast.MultiLineComment
- getXPathNodeName() - Method in class net.sourceforge.pmd.lang.java.ast.SingleLineComment
- glomNames(Set<T>) - Method in class net.sourceforge.pmd.lang.java.symboltable.AbstractJavaScope
-
Deprecated.
- GodClassRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
The God Class Rule detects the God Class design flaw using metrics.
- GodClassRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.GodClassRule
- GOTO - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- GT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- GTToken(int, String) - Constructor for class net.sourceforge.pmd.lang.java.ast.Token.GTToken
-
Deprecated.
- Guard() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- GuardedPatternCondition() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- GuardLogStatementRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
-
Check that log.debug, log.trace, log.error, etc...
- GuardLogStatementRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.GuardLogStatementRule
H
- handleSwitch(JavaNode, Object) - Method in class net.sourceforge.pmd.lang.java.metrics.impl.visitors.NpathBaseVisitor
-
Deprecated.
- HardCodedCryptoKeyRule - Class in net.sourceforge.pmd.lang.java.rule.security
-
Finds hard coded encryption keys that are passed to javax.crypto.spec.SecretKeySpec(key, algorithm).
- HardCodedCryptoKeyRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.security.HardCodedCryptoKeyRule
- hasArrayType() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Returns true if the declared variable has an array type.
- hasAuxclasspath() - Method in class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
-
Whether an auxclasspath has been configured or not.
- hasAuxclasspath() - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet
-
Deprecated.Whether the classloader is using the auxclasspath or not.
- hasChosenAddressTypes() - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
-
Deprecated.
- hasClassLombokAnnotation() - Method in class net.sourceforge.pmd.lang.java.rule.AbstractLombokAwareRule
-
Deprecated.Returns whether there have been class level Lombok annotations found.
- hasDefaultCase() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchStatement
-
Returns true if this switch has a
default
case. - hasDetailMessage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAssertStatement
-
Returns true if this assert statement has a "detail message" expression.
- hasDissallowedTerms() - Method in class net.sourceforge.pmd.lang.java.rule.documentation.CommentContentRule
-
Deprecated.
- hasElse() - Method in class net.sourceforge.pmd.lang.java.ast.ASTIfStatement
-
Returns true if this statement has an
else
clause. - hasFinally() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTryStatement
-
Deprecated.Check for nullity of
ASTTryStatement.getFinallyClause()
- hashCode() - Method in class net.sourceforge.pmd.lang.java.ast.JavaQualifiedName
-
Deprecated.
- hashCode() - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaFieldSignature
- hashCode() - Method in class net.sourceforge.pmd.lang.java.multifile.signature.JavaOperationSignature
- hashCode() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
- hashCode() - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodNameDeclaration
- hashCode() - Method in class net.sourceforge.pmd.lang.java.symboltable.SimpleTypedNameDeclaration
-
Deprecated.
- hashCode() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
- hashCode() - Method in class net.sourceforge.pmd.lang.java.typeresolution.MethodType
-
Deprecated.
- hashCode() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- hashCode() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- hasIgnoredAnnotation(AccessNode) - Method in class net.sourceforge.pmd.lang.java.rule.codestyle.CommentDefaultAccessModifierRule
- hasIgnoredAnnotation(Annotatable) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractIgnoredAnnotationRule
-
Deprecated.Checks whether any annotation in ignoredAnnotationsDescriptor is present on the node.
- hasInitializer() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclarator
-
Returns true if the declared variable is initialized.
- hasIntersectionTypes() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCastExpression
- hasLombokAnnotation(Node) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractLombokAwareRule
-
Deprecated.As of release 6.2.0, replaced by
AbstractLombokAwareRule.hasLombokAnnotation(Annotatable)
Checks whether the given node is annotated with any lombok annotation. The node can be any node, e.g. class declaration or field declaration. - hasLombokAnnotation(Annotatable) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractLombokAwareRule
-
Deprecated.Checks whether the given node is annotated with any lombok annotation.
- hasPrefixesOrSuffixes() - Method in class net.sourceforge.pmd.lang.java.rule.codestyle.VariableNamingConventionsRule
-
Deprecated.
- hasPropertyValue(PropertyDescriptor<List<String>>, String) - Method in class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidBranchingStatementAsLastInLoopRule
- hasSameErasureAs(JavaTypeDefinition) - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- hasSuppressWarningsAnnotationFor(Rule) - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBodyDeclaration
- hasSuppressWarningsAnnotationFor(Rule) - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
- hasSuppressWarningsAnnotationFor(Rule) - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
- hasSuppressWarningsAnnotationFor(Rule) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeDeclaration
- hasSuppressWarningsAnnotationFor(Rule) - Method in interface net.sourceforge.pmd.lang.java.ast.CanSuppressWarnings
-
Deprecated.
- hasTypeBound() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeParameter
-
Returns true if this type parameter is bounded, in which case
ASTTypeParameter.getTypeBoundNode()
doesn't returnnull
. - HEADER_PLACEMENT_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.java.rule.documentation.HeaderCommentsRule
- HeaderCommentsRule - Class in net.sourceforge.pmd.lang.java.rule.documentation
-
Restrictions regarding the legal placement and content of the file header.
- HeaderCommentsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.documentation.HeaderCommentsRule
- HEX_FLOATING_POINT_LITERAL - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- HEX_LITERAL - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- highestDecisionPoints - Variable in class net.sourceforge.pmd.lang.java.rule.design.StdCyclomaticComplexityRule.Entry
-
Deprecated.
- HOOK - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- HORIZONTAL_WHITESPACE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
I
- IdempotentOperationsRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
- IdempotentOperationsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.IdempotentOperationsRule
- IdenticalCatchBranchesRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
-
Flags identical catch branches, which can be collapsed into a multi-catch.
- IdenticalCatchBranchesRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.IdenticalCatchBranchesRule
- IDENTIFIER - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- IF - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- IfStatement() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- IGNORE_BOOLEAN_PATHS - net.sourceforge.pmd.lang.java.metrics.impl.CycloMetric.CycloOption
-
Do not count the paths in boolean expressions as decision points.
- image - Variable in class net.sourceforge.pmd.lang.java.ast.Token
-
Deprecated.The string image of the token.
- ImmutableFieldRule - Class in net.sourceforge.pmd.lang.java.rule.design
- ImmutableFieldRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.ImmutableFieldRule
- IMPLEMENTS - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- ImplementsList() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- ImplicitImportResolver(PMDASMClassLoader) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.ImplicitImportResolver
-
Deprecated.Creates a
TypeSet.ImplicitImportResolver
- IMPORT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- ImportDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- ImportFromSamePackageRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
-
Deprecated.
- ImportFromSamePackageRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.ImportFromSamePackageRule
-
Deprecated.
- ImportOnDemandResolver(PMDASMClassLoader, Set<String>) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.ImportOnDemandResolver
-
Deprecated.Creates a
TypeSet.ImportOnDemandResolver
- imports - Variable in class net.sourceforge.pmd.lang.java.rule.bestpractices.UnusedImportsRule
-
Deprecated.
- importsPackage(ASTCompilationUnit, String) - Static method in class net.sourceforge.pmd.lang.java.rule.AbstractJavaRule
- IN_FORMAL_COMMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.Lexical state.
- IN_MULTI_LINE_COMMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.Lexical state.
- INCLUDE_JAVA_LANG - net.sourceforge.pmd.lang.java.metrics.impl.ClassFanOutMetric.ClassFanOutOption
-
Whether to include Classes in the java.lang package.
- InclusiveOrExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- incorporateBounds(List<Bound>, List<Bound>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.TypeInferenceResolver
-
Deprecated.https://docs.oracle.com/javase/specs/jls/se8/html/jls-18.html#jls-18.3
- INCR - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- indexNodes(List<Node>, RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.JavaRuleChainVisitor
-
Deprecated.
- InefficientEmptyStringCheckRule - Class in net.sourceforge.pmd.lang.java.rule.performance
-
This rule finds code which inefficiently determines empty strings.
- InefficientEmptyStringCheckRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.performance.InefficientEmptyStringCheckRule
- InefficientStringBufferingRule - Class in net.sourceforge.pmd.lang.java.rule.performance
-
How this rule works: find additive expressions: + check that the addition is between anything other than two literals if true and also the parent is StringBuffer constructor or append, report a violation.
- InefficientStringBufferingRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.performance.InefficientStringBufferingRule
- InferenceRuleType - Enum in net.sourceforge.pmd.lang.java.typeresolution.typeinference
-
Deprecated.
- inferTypes(List<Constraint>, List<Bound>, List<Variable>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.TypeInferenceResolver
-
Deprecated.
- init() - Method in class net.sourceforge.pmd.lang.java.rule.codestyle.VariableNamingConventionsRule
-
Deprecated.
- init() - Method in class net.sourceforge.pmd.lang.java.rule.design.GenericClassCounterRule
- Initializer() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- INITIALIZER - net.sourceforge.pmd.lang.java.ast.ASTAnyTypeBodyDeclaration.DeclarationKind
-
See
ASTInitializer
. - initializeWith(Writer, String, boolean, JavaNode) - Method in class net.sourceforge.pmd.lang.java.ast.DumpFacade
-
Deprecated.
- initializeWith(ClassLoader, ASTCompilationUnit) - Method in class net.sourceforge.pmd.lang.java.qname.QualifiedNameResolver
-
Deprecated.Initialises the visitor and starts it.
- initializeWith(ClassLoader, ASTCompilationUnit) - Method in class net.sourceforge.pmd.lang.java.symboltable.SymbolFacade
-
Deprecated.
- initializeWith(ClassLoader, ASTCompilationUnit) - Method in class net.sourceforge.pmd.lang.java.typeresolution.TypeResolutionFacade
-
Deprecated.
- initializeWith(DataFlowHandler, ASTCompilationUnit) - Method in class net.sourceforge.pmd.lang.java.dfa.DataFlowFacade
-
Deprecated.
- initializeWith(ASTCompilationUnit) - Method in class net.sourceforge.pmd.lang.java.multifile.MultifileVisitorFacade
- initializeWith(ASTCompilationUnit) - Method in class net.sourceforge.pmd.lang.java.symboltable.SymbolFacade
-
Deprecated.
- innerClasses - Variable in class net.sourceforge.pmd.lang.java.typeresolution.visitors.PMDASMVisitor
-
Deprecated.
- input_stream - Variable in class net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager
-
Deprecated.
- InsecureCryptoIvRule - Class in net.sourceforge.pmd.lang.java.rule.security
-
Finds hardcoded static Initialization Vectors vectors used with cryptographic operations.
- InsecureCryptoIvRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.security.InsecureCryptoIvRule
- INSTANCE - Static variable in class net.sourceforge.pmd.lang.java.metrics.impl.visitors.CycloBaseVisitor
-
Deprecated.Instance.
- INSTANCE - Static variable in class net.sourceforge.pmd.lang.java.metrics.impl.visitors.NcssBaseVisitor
-
Deprecated.Instance.
- INSTANCE - Static variable in class net.sourceforge.pmd.lang.java.metrics.impl.visitors.NpathBaseVisitor
-
Deprecated.Instance.
- INSTANCE - Static variable in class net.sourceforge.pmd.lang.java.rule.JavaRuleViolationFactory
-
Deprecated.
- INSTANCEOF - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- InstanceOfExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- InsufficientStringBufferDeclarationRule - Class in net.sourceforge.pmd.lang.java.rule.performance
-
This rule finds StringBuffers which may have been pre-sized incorrectly.
- InsufficientStringBufferDeclarationRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.performance.InsufficientStringBufferDeclarationRule
- INT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- INTEGER_LITERAL - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- INTERFACE - net.sourceforge.pmd.lang.java.ast.ASTAnyTypeBodyDeclaration.DeclarationKind
- INTERFACE - net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration.TypeKind
-
Deprecated.
- INTERFACE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- intersect(JavaTypeDefinition, JavaTypeDefinition) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.TypeInferenceResolver
-
Deprecated.
- InvalidLogMessageFormatRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
- InvalidLogMessageFormatRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.InvalidLogMessageFormatRule
- IPV4 - Static variable in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
-
Deprecated.
- IPV4_MAPPED_IPV6 - Static variable in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
-
Deprecated.
- IPV4_PATTERN - Static variable in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
-
Deprecated.
- IPV4_REGEXP - Static variable in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
-
Deprecated.
- IPV6 - Static variable in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
-
Deprecated.
- IPV6_PATTERN - Static variable in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
-
Deprecated.
- IPV6_REGEXP - Static variable in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
-
Deprecated.
- isA(Class<?>, TypeNode) - Static method in class net.sourceforge.pmd.lang.java.types.TypeTestUtil
-
Checks whether the static type of the node is a subtype of the class identified by the given name.
- isA(String, TypeNode) - Static method in class net.sourceforge.pmd.lang.java.types.TypeTestUtil
-
Checks whether the static type of the node is a subtype of the class identified by the given name.
- isA(TypeNode, Class<?>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.TypeHelper
-
Deprecated.
- isA(TypeNode, String) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.TypeHelper
-
Deprecated.
- isA(TypedNameDeclaration, Class<?>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.TypeHelper
-
Deprecated.
- isA(TypedNameDeclaration, String) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.TypeHelper
-
Deprecated.
- isAbstract - Variable in class net.sourceforge.pmd.lang.java.multifile.signature.JavaOperationSignature
- isAbstract() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
Deprecated.
- isAbstract() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
- isAbstract() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
Returns true if this method is abstract, so doesn't declare a body.
- isAbstract() - Method in class net.sourceforge.pmd.lang.java.typeresolution.MethodType
-
Deprecated.
- isAllocation() - Method in class net.sourceforge.pmd.lang.java.ast.ASTBlockStatement
-
Tells if this BlockStatement is an allocation statement.
- isAllowedClass(ASTImportDeclaration) - Method in class net.sourceforge.pmd.lang.java.rule.design.LoosePackageCouplingRule
- isAnnotationMember() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
- isAnnotationPresent(String) - Method in interface net.sourceforge.pmd.lang.java.ast.Annotatable
-
Checks whether the annotation is present on this node.
- isAnonymousClass() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAllocationExpression
-
Returns true if this expression defines a body, which is compiled to an anonymous class.
- isAnonymousClass() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceType
- isAnonymousClass() - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumConstant
-
Returns true if this enum constant defines a body, which is compiled like an anonymous class.
- isAnonymousClass() - Method in class net.sourceforge.pmd.lang.java.qname.JavaTypeQualifiedName
-
Deprecated.Returns true if this qualified name identifies an anonymous class.
- isAnonymousInnerClass() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBody
-
Deprecated.Test the parent for
ASTAllocationExpression
. This will be removed in pmd 7 as unnecessary (refs #905) - isAnonymousInnerClass() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBodyDeclaration
- isAnyAnnotationPresent(Collection<String>) - Method in interface net.sourceforge.pmd.lang.java.ast.Annotatable
-
Checks whether any annotation is present on this node.
- isArguments() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimarySuffix
- isArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayDimsAndInits
-
Deprecated.
- isArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceType
- isArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
Deprecated.
- isArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
-
Deprecated.
- isArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
-
Deprecated.
- isArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimitiveType
-
Deprecated.
- isArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTReferenceType
-
Deprecated.
- isArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTType
-
Deprecated.
- isArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Deprecated.
- isArray() - Method in interface net.sourceforge.pmd.lang.java.ast.Dimensionable
-
Deprecated.
- isArray() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
- isArrayDereference() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimarySuffix
- isArrayType() - Method in class net.sourceforge.pmd.lang.java.ast.ASTType
-
Returns true if this type is an array type.
- isArrayType() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- isBoolean() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimitiveType
- isCharLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
- isClass() - Method in class net.sourceforge.pmd.lang.java.qname.JavaOperationQualifiedName
-
Deprecated.
- isClass() - Method in class net.sourceforge.pmd.lang.java.qname.JavaTypeQualifiedName
-
Deprecated.
- isClassOrInterface() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- isCloneMethod(ASTMethodDeclaration) - Method in class net.sourceforge.pmd.lang.java.rule.errorprone.CloneMethodMustImplementCloneableRule
- isCompileTimeConstant(ASTPrimaryExpression) - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.AccessorMethodGenerationRule
- isCompound() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAssignmentOperator
- isContainingPackage(String, String) - Method in class net.sourceforge.pmd.lang.java.rule.design.LoosePackageCouplingRule
- isDefault() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
Deprecated.
- isDefault() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
- isDefault() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchLabel
- isDiamond() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeArguments
-
Returns true if this is a diamond, that is, the actual type arguments are inferred.
- isDoubleLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
-
Checks whether this literal describes a double.
- isEither(TypeNode, Class<?>, Class<?>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.TypeHelper
-
Deprecated.Not useful, use
TypeTestUtil.isA(Class, TypeNode)
- isEither(TypedNameDeclaration, Class<?>, Class<?>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.TypeHelper
-
Deprecated.Not useful, use
TypeTestUtil.isA(Class, TypeNode)
- isEnumChild() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBody
-
Deprecated.Test the parent for
ASTEnumConstant
. This will be removed in pmd 7 as unnecessary (refs #905) - isEnumChild() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBodyDeclaration
- isExactlyA(Class<?>, TypeNode) - Static method in class net.sourceforge.pmd.lang.java.types.TypeTestUtil
-
Checks whether the static type of the node is exactly the type of the class.
- isExactlyA(String, TypeNode) - Static method in class net.sourceforge.pmd.lang.java.types.TypeTestUtil
-
Checks whether the static type of the node is exactly the type given by the name.
- isExactlyA(TypeNode, String) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.TypeHelper
-
Deprecated.
- isExactlyAny(TypedNameDeclaration, Class<?>...) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.TypeHelper
-
Deprecated.Not useful, use
TypedNameDeclaration.getTypeNode()
andTypeTestUtil.isExactlyA(Class, TypeNode)
- isExactlyNone(TypedNameDeclaration, Class<?>...) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.TypeHelper
-
Deprecated.Not useful, use a negated
TypeTestUtil.isExactlyA(Class, TypeNode)
- isExactType() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- isExceptionBlockParameter() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Returns true if this nodes declares an exception parameter in a
catch
statement. - isExceptionBlockParameter() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
- isExhaustiveEnumSwitch() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchStatement
-
Returns true if this switch statement tests an expression having an enum type and all the constants of this type are covered by a switch case.
- isExplicitReceiverParameter() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
-
Returns true if this node is the explicit receiver parameter, e.g.
- isExplicitReceiverParameter() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Returns true if this node is a receiver parameter for a method or constructor declaration.
- isFallthroughSwitch() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchStatement
-
Returns true if this a switch which uses fallthrough branches (old school
case label: break;
) and not arrow branches. - isField() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Returns true if this node declares a field.
- isField(String, ASTAnyTypeDeclaration) - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.AbstractSunSecureRule
-
Deprecated.Tells if the type declaration has a field with varName.
- isFinal - Variable in class net.sourceforge.pmd.lang.java.multifile.signature.JavaFieldSignature
- isFinal() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
Deprecated.
- isFinal() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
- isFinal() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
- isFinal() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordDeclaration
- isFinal() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Returns true if the variable declared by this node is declared final.
- isFindBoundary() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBodyDeclaration
- isFindBoundary() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
- isFindBoundary() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaExpression
- isFindBoundary() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordDeclaration
- isFloatLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
- isForeach() - Method in class net.sourceforge.pmd.lang.java.ast.ASTForStatement
-
Returns true if this node represents a foreach loop.
- isForeachVariable() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Returns true if this node is a variable declared in a foreach loop.
- isFormalParameter() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Returns true if this node declares a formal parameter for a method declaration or a lambda expression.
- isGeneric() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- isGeneric(Class<?>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodTypeResolution
-
Deprecated.
- isGeneric(Method) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodTypeResolution
-
Deprecated.
- isHexCharacter(char) - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
-
Deprecated.
- isImportOnDemand() - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
-
Returns true if this is an import-on-demand declaration, aka "wildcard import".
- isInStringBufferOperation(Node, int, String) - Static method in class net.sourceforge.pmd.lang.java.rule.performance.InefficientStringBufferingRule
-
Deprecated.will be removed with PMD 7
- isInterface() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
- isInterfaceMember() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
- isInterfaceMember() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
Returns true if this method declaration is a member of an interface type.
- isIntersectionType() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- isIntLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
- isIPv4(char, String) - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
-
Deprecated.
- isIPv6(char, String, boolean, boolean) - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
-
Deprecated.
- isJUnit3Class - Variable in class net.sourceforge.pmd.lang.java.rule.AbstractJUnitRule
-
Deprecated.
- isJUnit4Class - Variable in class net.sourceforge.pmd.lang.java.rule.AbstractJUnitRule
-
Deprecated.
- isJUnit5Class - Variable in class net.sourceforge.pmd.lang.java.rule.AbstractJUnitRule
-
Deprecated.
- isJUnitMethod(ASTMethodDeclaration, Object) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractJUnitRule
-
Deprecated.
- isJUnitTestClass() - Method in class net.sourceforge.pmd.lang.java.rule.AbstractJUnitRule
-
Deprecated.
- isLambda() - Method in class net.sourceforge.pmd.lang.java.qname.JavaOperationQualifiedName
-
Deprecated.Returns true if this qualified name identifies a lambda expression.
- isLambdaParameter() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Returns true if this node declares a formal parameter for a lambda expression.
- isLambdaTypelessParameter() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
-
Deprecated.
- isLatinDigit(char) - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
-
Deprecated.
- isLeftArray() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- isLeftClassOrInterface() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- isLeftNull() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- isLeftPrimitive() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- isLeftProper() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- isLeftType() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- isLeftVariable() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- isLocal() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotationTypeDeclaration
- isLocal() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
-
Returns true if this type is declared locally, e.g.
- isLocal() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
-
Returns true if the class is declared inside a block other than the body of another class, or the top level.
- isLocal() - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumDeclaration
- isLocal() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordDeclaration
- isLocalClass() - Method in class net.sourceforge.pmd.lang.java.ast.JavaQualifiedName
-
Deprecated.Use
JavaTypeQualifiedName.isLocalClass()
. Will be removed in 7.0.0 - isLocalClass() - Method in class net.sourceforge.pmd.lang.java.qname.JavaTypeQualifiedName
-
Deprecated.Returns true if this qualified name identifies a local class.
- isLocalVariable() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Returns true if this node declares a local variable.
- isLocalVariable(String, Node) - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.AbstractSunSecureRule
-
Deprecated.TODO modify usages to use symbol table Tells if the variable name is a local variable declared in the method.
- isLongLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
-
Checks whether this literal is a long integer.
- isLowerBound() - Method in class net.sourceforge.pmd.lang.java.ast.ASTWildcardBounds
-
Returns true if this is a lower type bound, e.g.
- isLowerBound() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- isMatch(Pattern, String) - Static method in class net.sourceforge.pmd.lang.java.rule.regex.RegexHelper
-
Deprecated.Simple commodity method (also designed to increase readability of source code, and to decrease import in the calling class).
- isMemberVisibleFromClass(Class<?>, int, Class<?>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodTypeResolution
-
Deprecated.Given a class, the modifiers of on of it's member and the class that is trying to access that member, returns true is the member is accessible from the accessingClass Class.
- isMethodApplicable(Method, String, int, Class<?>, List<JavaTypeDefinition>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodTypeResolution
-
Deprecated.https://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.2.1 Potential applicability.
- isMethodConvertible(JavaTypeDefinition, ASTExpression) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodTypeResolution
-
Deprecated.
- isMethodConvertible(JavaTypeDefinition, JavaTypeDefinition) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodTypeResolution
-
Deprecated.Method invocation conversion rules.
- isMethodOrConstructorInvocation() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
- isMethodReference() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
- isMulticatchStatement() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCatchStatement
-
Returns true if this node is a multi-catch statement, that is, it catches several unrelated exception types at the same time.
- isNative() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
Deprecated.
- isNative() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
- isNeither(TypedNameDeclaration, Class<?>, Class<?>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.TypeHelper
-
Deprecated.Not useful, use a negated
TypeTestUtil.isA(Class, TypeNode)
- isNested() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractAnyTypeDeclaration
-
Deprecated.
- isNested() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
-
Returns true if this type declaration is nested inside an interface, class or annotation.
- isNonSealed() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
- isNullType() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- isOnLeftHandSide() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
- isOnRightHandSide() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
- isOpen() - Method in class net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration
- isOperation() - Method in class net.sourceforge.pmd.lang.java.qname.JavaOperationQualifiedName
-
Deprecated.
- isOperation() - Method in class net.sourceforge.pmd.lang.java.qname.JavaTypeQualifiedName
-
Deprecated.
- isPackagePrivate() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
Deprecated.
- isPackagePrivate() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
- isPackagePrivate() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
- isPackagePrivate() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
- isParameterized() - Method in class net.sourceforge.pmd.lang.java.typeresolution.MethodType
-
Deprecated.
- isPartOfQualifiedName() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
- isPatternBinding() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Returns true if this is a binding variable in a pattern.
- isPrimitive() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- isPrimitiveReturnType() - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodNameDeclaration
- isPrimitiveType() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
- isPrivate() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
Deprecated.
- isPrivate() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
- isPrivate() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
- isProperSubsetOfVariables(List<Variable>, Map<Variable, JavaTypeDefinition>, Map<Variable, Set<Variable>>, List<Bound>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.TypeInferenceResolver
-
Deprecated.Given a set of inference variables to resolve, let V be the union of this set and all variables upon which the resolution of at least one variable in this set depends.
- isProtected() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
Deprecated.
- isProtected() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
- isProtected() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
- isPublic() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
Deprecated.
- isPublic() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
- isPublic() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
- isPublic() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
Returns true if this method has public visibility.
- isQualifiedName(Node) - Static method in class net.sourceforge.pmd.lang.java.rule.AbstractJavaRule
- isRawType() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
-
Returns true if this type has type parameters and has not been parameterized, e.g.
- isRecordComponent() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
- isReferenceToClassSameCompilationUnit() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceType
-
Checks whether the type this node is referring to is declared within the same compilation unit - either a class/interface or a enum type.
- isReferenceType() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
-
Note that an array of primitive types (int[]) is a reference type.
- isResourceDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Returns true if this declarator id declares a resource in a try-with-resources statement.
- isRightArray() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- isRightClassOrInterface() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- isRightNull() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- isRightPrimitive() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- isRightProper() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- isRightType() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- isRightVariable() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- isSealed() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
- isSelfAssignment() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
-
Assert it the occurrence is a self assignment such as:
i += 3;
- isSingleCharacterStringLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
-
Returns true if this is a String literal with only one character.
- isStandAlonePrimitive() - Method in class net.sourceforge.pmd.lang.java.ast.ASTExpression
- isStatic - Variable in class net.sourceforge.pmd.lang.java.multifile.signature.JavaFieldSignature
- isStatic() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
Deprecated.
- isStatic() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
- isStatic() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
- isStatic() - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
-
Returns true if this is a static import.
- isStatic() - Method in class net.sourceforge.pmd.lang.java.ast.ASTInitializer
- isStrictfp() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
Deprecated.
- isStrictfp() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
- isStringLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
- isSubtypeable(Class<?>, Class<?>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodTypeResolution
-
Deprecated.
- isSubtypeable(JavaTypeDefinition, ASTExpression) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodTypeResolution
-
Deprecated.
- isSubtypeable(JavaTypeDefinition, JavaTypeDefinition) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.MethodTypeResolution
-
Deprecated.Subtypeability rules.
- isSuper() - Method in class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
- isSuppressed(Node) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractJavaRule
-
Deprecated.Not useful, and suppression should happen transparently to rule implementations. This will be removed with 7.0.0
- isSupressed(Node, Rule) - Static method in class net.sourceforge.pmd.lang.java.rule.JavaRuleViolation
-
Deprecated.Is internal API, not useful, there's a typo. See #1927
- isSynchronized() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
Deprecated.
- isSynchronized() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
- isSyntacticallyAbstract() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
Returns true if this method is explicitly modified by the
abstract
modifier. - isSyntacticallyFinal() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
- isSyntacticallyFinal() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordDeclaration
- isSyntacticallyPublic() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
- isSyntacticallyPublic() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
Returns true if this method is explicitly modified by the
public
modifier. - isSyntacticallyStatic() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
- isTargetMethod(JavaNameOccurrence) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractInefficientZeroCheck
-
Deprecated.
- isTargetMethod(JavaNameOccurrence) - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.UseCollectionIsEmptyRule
-
Determine if we're dealing with .size method
- isTernary() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConditionalExpression
-
Deprecated.To be removed in 7.0.0
- isTestClass(ASTClassOrInterfaceBody) - Static method in class net.sourceforge.pmd.lang.java.rule.AbstractJUnitRule
-
Deprecated.
- isTestClassJUnit3(ASTClassOrInterfaceBody) - Static method in class net.sourceforge.pmd.lang.java.rule.AbstractJUnitRule
-
Deprecated.
- isTestClassJUnit4(ASTClassOrInterfaceBody) - Static method in class net.sourceforge.pmd.lang.java.rule.AbstractJUnitRule
-
Deprecated.
- isTestClassJUnit5(ASTClassOrInterfaceBody) - Static method in class net.sourceforge.pmd.lang.java.rule.AbstractJUnitRule
-
Deprecated.
- isTestMethod(ASTMethodDeclaration) - Static method in class net.sourceforge.pmd.lang.java.rule.AbstractJUnitRule
-
Deprecated.
- isTextBlock() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
- isThis() - Method in class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
- isThisOrSuper() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
-
Simply return true is the image is equal to keyword 'this' or 'super'.
- isTransient() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
Deprecated.
- isTransient() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
- isTrue() - Method in class net.sourceforge.pmd.lang.java.ast.ASTBooleanLiteral
- isTryWithResources() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTryStatement
-
Returns true if this node is a try-with-resources, in which case it has a ResourceSpecification child node.
- isTypeInferred() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
-
If true, this formal parameter represents one without explicit types.
- isTypeInferred() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
-
If true, this local variable declaration represents a declaration, which makes use of local variable type inference, e.g.
- isTypeInferred() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Returns true if the declared variable's type is inferred by the compiler.
- isTypeInferred() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
- isUnnamedPackage() - Method in class net.sourceforge.pmd.lang.java.ast.JavaQualifiedName
-
Deprecated.Use
JavaTypeQualifiedName.isUnnamedPackage()
. Will be removed in 7.0.0 - isUnnamedPackage() - Method in class net.sourceforge.pmd.lang.java.qname.JavaTypeQualifiedName
-
Deprecated.Returns true if the class represented by this qualified name is in the unnamed package.
- isUpperBound() - Method in class net.sourceforge.pmd.lang.java.ast.ASTWildcardBounds
-
Returns true if this is an upper type bound, e.g.
- isUpperBound() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- isVararg() - Method in class net.sourceforge.pmd.lang.java.typeresolution.MethodType
-
Deprecated.
- isVarargs() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
-
Returns true if this node is a varargs parameter.
- isVarargs() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordComponent
- isVarargs() - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodNameDeclaration
- isVarargs() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
- isViolationArgument(Node) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractPoorMethodCall
-
Deprecated.Returns whether the node being sent to the method is OK or not.
- isViolationArgument(Node) - Method in class net.sourceforge.pmd.lang.java.rule.performance.UseIndexOfCharRule
- isVoid() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
Returns true if the result type of this method is
void
. - isVoid() - Method in class net.sourceforge.pmd.lang.java.ast.ASTResultType
- isVolatile() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
Deprecated.
- isVolatile() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
- isWildcard() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeArgument
-
Returns true if this node is a wildcard argument (bounded or not).
- isWildcard() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTExtendsList
- iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
Returns an iterator over the ids of the fields declared in this statement.
- iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameters
- iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTImplementsList
- iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
-
Returns an iterator over the ids of the variables declared in this statement.
- iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValueArrayInitializer
- iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValuePairs
- iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPermitsList
- iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordComponentList
- iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchStatement
- iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeArguments
- iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeParameters
J
- JavaClassMetric - Interface in net.sourceforge.pmd.lang.java.metrics.api
-
Metric that can be computed on a class node.
- JavaClassMetricKey - Enum in net.sourceforge.pmd.lang.java.metrics.api
-
Keys identifying standard class metrics.
- JavaDataFlowHandler - Class in net.sourceforge.pmd.lang.java
-
Deprecated.Is internal API.
- JavaDataFlowHandler() - Constructor for class net.sourceforge.pmd.lang.java.JavaDataFlowHandler
-
Deprecated.
- JavaDataFlowNode - Class in net.sourceforge.pmd.lang.java.dfa
-
Deprecated.See
DataFlowNode
- JavaDataFlowNode(List<DataFlowNode>, Node) - Constructor for class net.sourceforge.pmd.lang.java.dfa.JavaDataFlowNode
-
Deprecated.
- JavaDFAGraphRule - Class in net.sourceforge.pmd.lang.java.dfa
-
Deprecated.Only used by the deprecated designer
- JavaDFAGraphRule() - Constructor for class net.sourceforge.pmd.lang.java.dfa.JavaDFAGraphRule
-
Deprecated.
- javadocContentAfter(String, int) - Static method in class net.sourceforge.pmd.lang.java.ast.CommentUtil
-
Deprecated.This method is deprecated and will be removed with PMD 7.0.0. This method has been intended to parse javadoc tags. A more useful solution will be added around the AST node
FormalComment
, which contains as childrenJavadocElement
nodes, which in turn provide access to theJavadocTag
. - JavadocElement - Class in net.sourceforge.pmd.lang.java.ast
- JavadocElement(int, int, int, int, JavadocTag) - Constructor for class net.sourceforge.pmd.lang.java.ast.JavadocElement
- JavadocRule - Class in net.sourceforge.pmd.lang.java.rule.documentation
- JavadocRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.documentation.JavadocRule
- JavadocTag - Class in net.sourceforge.pmd.lang.java.javadoc
- javadocTagsIn(String) - Static method in class net.sourceforge.pmd.lang.java.ast.CommentUtil
-
Deprecated.This method is deprecated and will be removed with PMD 7.0.0. This method has been intended to parse javadoc tags. A more useful solution will be added around the AST node
FormalComment
, which contains as childrenJavadocElement
nodes, which in turn provide access to theJavadocTag
. - JavaFieldSigMask - Class in net.sourceforge.pmd.lang.java.multifile.signature
-
Signature mask for a field.
- JavaFieldSigMask() - Constructor for class net.sourceforge.pmd.lang.java.multifile.signature.JavaFieldSigMask
- JavaFieldSignature - Class in net.sourceforge.pmd.lang.java.multifile.signature
-
Signature for a field.
- JavaFunctions - Class in net.sourceforge.pmd.lang.java.xpath
-
Deprecated.
- JavaLanguage - Class in net.sourceforge.pmd.cpd
- JavaLanguage() - Constructor for class net.sourceforge.pmd.cpd.JavaLanguage
- JavaLanguage(Properties) - Constructor for class net.sourceforge.pmd.cpd.JavaLanguage
- JavaLanguageHandler - Class in net.sourceforge.pmd.lang.java
-
Deprecated.This is internal API, use
LanguageVersion.getLanguageVersionHandler()
. - JavaLanguageHandler(int) - Constructor for class net.sourceforge.pmd.lang.java.JavaLanguageHandler
-
Deprecated.
- JavaLanguageHandler(int, boolean) - Constructor for class net.sourceforge.pmd.lang.java.JavaLanguageHandler
-
Deprecated.
- JavaLanguageHandler.JavaMetricsProvider - Class in net.sourceforge.pmd.lang.java
-
Deprecated.
- JavaLanguageModule - Class in net.sourceforge.pmd.lang.java
-
Created by christoferdutz on 20.09.14.
- JavaLanguageModule() - Constructor for class net.sourceforge.pmd.lang.java.JavaLanguageModule
- JavaLanguageParser - Class in net.sourceforge.pmd.lang.java
-
Deprecated.This is internal API, use
LanguageVersionHandler.getParser(ParserOptions)
. - JavaLanguageParser(int, boolean, ParserOptions) - Constructor for class net.sourceforge.pmd.lang.java.JavaLanguageParser
-
Deprecated.
- JavaLanguageParser(int, ParserOptions) - Constructor for class net.sourceforge.pmd.lang.java.JavaLanguageParser
-
Deprecated.
- JavaMetrics - Class in net.sourceforge.pmd.lang.java.metrics
-
Deprecated.Use
MetricsUtil
- JavaMetricsComputer - Class in net.sourceforge.pmd.lang.java.metrics
-
Deprecated.See
MetricsComputer
- JavaNameOccurrence - Class in net.sourceforge.pmd.lang.java.symboltable
- JavaNameOccurrence(JavaNode, String) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
- JavaNode - Interface in net.sourceforge.pmd.lang.java.ast
-
Root interface for all Nodes of the Java AST.
- JavaOperationMetric - Interface in net.sourceforge.pmd.lang.java.metrics.api
-
Metric that can be computed on an operation.
- JavaOperationMetricKey - Enum in net.sourceforge.pmd.lang.java.metrics.api
-
Keys identifying standard operation metrics.
- JavaOperationQualifiedName - Class in net.sourceforge.pmd.lang.java.qname
-
Deprecated.
- JavaOperationSigMask - Class in net.sourceforge.pmd.lang.java.multifile.signature
-
Signature mask for an operation.
- JavaOperationSigMask() - Constructor for class net.sourceforge.pmd.lang.java.multifile.signature.JavaOperationSigMask
- JavaOperationSignature - Class in net.sourceforge.pmd.lang.java.multifile.signature
-
Signature for an operation.
- JavaOperationSignature.Role - Enum in net.sourceforge.pmd.lang.java.multifile.signature
-
Role of an operation.
- JavaParser - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.
- JavaParser(CharStream) - Constructor for class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.Constructor with user supplied CharStream.
- JavaParser(JavaParserTokenManager) - Constructor for class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.Constructor with generated Token Manager.
- JavaParserConstants - Interface in net.sourceforge.pmd.lang.java.ast
-
Deprecated.
- JavaParserControllessVisitor - Interface in net.sourceforge.pmd.lang.java.ast
-
Deprecated.Visitor decorators are deprecated because they lead to fragile code.
- JavaParserControllessVisitorAdapter - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.Visitor decorators are deprecated because they lead to fragile code.
- JavaParserControllessVisitorAdapter() - Constructor for class net.sourceforge.pmd.lang.java.ast.JavaParserControllessVisitorAdapter
-
Deprecated.
- JavaParserDecoratedVisitor - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.Visitor decorators are deprecated because they lead to fragile code.
- JavaParserDecoratedVisitor(JavaParserControllessVisitor) - Constructor for class net.sourceforge.pmd.lang.java.ast.JavaParserDecoratedVisitor
-
Deprecated.Creates a decorated visitor using the parameter as the base visitor.
- JavaParserTokenManager - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.
- JavaParserTokenManager(CharStream) - Constructor for class net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager
-
Deprecated.Constructor.
- JavaParserTokenManager(CharStream, int) - Constructor for class net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager
-
Deprecated.Constructor.
- JavaParserTreeConstants - Interface in net.sourceforge.pmd.lang.java.ast
-
Deprecated.
- JavaParserVisitor - Interface in net.sourceforge.pmd.lang.java.ast
- JavaParserVisitorAdapter - Class in net.sourceforge.pmd.lang.java.ast
- JavaParserVisitorAdapter() - Constructor for class net.sourceforge.pmd.lang.java.ast.JavaParserVisitorAdapter
- JavaParserVisitorDecorator - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.Visitor decorators are deprecated because they lead to fragile code.
- JavaParserVisitorDecorator() - Constructor for class net.sourceforge.pmd.lang.java.ast.JavaParserVisitorDecorator
-
Deprecated.
- JavaParserVisitorReducedAdapter - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.The functionality of this adapter will be moved into the base java visitor, so this class will go away with PMD 7.
- JavaParserVisitorReducedAdapter() - Constructor for class net.sourceforge.pmd.lang.java.ast.JavaParserVisitorReducedAdapter
-
Deprecated.
- JavaQualifiableNode - Interface in net.sourceforge.pmd.lang.java.ast
-
Deprecated.
- JavaQualifiedName - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.This class and subclasses will be removed in PMD 7.0 for lack of usefulness. JavaQualifiedName cannot be used to represent unknown entities, because in Java source, the only thing we can observe are *canonical* names, which eg don't exist for local classes, and can be ambiguous between a member class and a package name.
So you can't build a conformant JavaQualifiedName without having parsed the source file where the entity is. But since you have parsed the file, you have much better data structures than JavaQualifiedName to reflect the content of the program: you have nodes. So we can do away with this class.
- JavaQualifiedName() - Constructor for class net.sourceforge.pmd.lang.java.ast.JavaQualifiedName
-
Deprecated.
- JavaRuleChainVisitor - Class in net.sourceforge.pmd.lang.java.rule
-
Deprecated.for removal with PMD 7. A language dependent rule chain visitor is not needed anymore. See
RuleChainVisitor
. - JavaRuleChainVisitor() - Constructor for class net.sourceforge.pmd.lang.java.rule.JavaRuleChainVisitor
-
Deprecated.
- JavaRuleViolation - Class in net.sourceforge.pmd.lang.java.rule
-
Deprecated.See
RuleViolation
- JavaRuleViolation(Rule, RuleContext, JavaNode, String) - Constructor for class net.sourceforge.pmd.lang.java.rule.JavaRuleViolation
-
Deprecated.
- JavaRuleViolation(Rule, RuleContext, JavaNode, String, int, int) - Constructor for class net.sourceforge.pmd.lang.java.rule.JavaRuleViolation
-
Deprecated.
- JavaRuleViolationFactory - Class in net.sourceforge.pmd.lang.java.rule
-
Deprecated.
- JavaSigMask<T extends JavaSignature<?>> - Class in net.sourceforge.pmd.lang.java.multifile.signature
-
Generic signature mask.
- JavaSigMask() - Constructor for class net.sourceforge.pmd.lang.java.multifile.signature.JavaSigMask
- JavaSignature<N extends SignedNode<N>> - Class in net.sourceforge.pmd.lang.java.multifile.signature
-
Generic signature.
- JavaSignature(JavaSignature.Visibility) - Constructor for class net.sourceforge.pmd.lang.java.multifile.signature.JavaSignature
-
Initialises the visibility.
- JavaSignature.Visibility - Enum in net.sourceforge.pmd.lang.java.multifile.signature
-
The visibility of a node.
- JavaTokenizer - Class in net.sourceforge.pmd.cpd
- JavaTokenizer() - Constructor for class net.sourceforge.pmd.cpd.JavaTokenizer
- JavaTokenManager - Class in net.sourceforge.pmd.lang.java
-
Deprecated.This is internal API, use
Parser.getTokenManager(String, Reader)
viaLanguageVersionHandler.getParser(ParserOptions)
. - JavaTokenManager(Reader) - Constructor for class net.sourceforge.pmd.lang.java.JavaTokenManager
-
Deprecated.
- JavaTypeDefinition - Class in net.sourceforge.pmd.lang.java.typeresolution.typedefinition
- JavaTypeDefinition(TypeDefinitionType) - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.typedefinition.JavaTypeDefinition
- JavaTypeQualifiedName - Class in net.sourceforge.pmd.lang.java.qname
-
Deprecated.
- jj_nt - Variable in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.Next token.
- jjFillToken() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager
-
Deprecated.
- jjnewLexState - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager
-
Deprecated.Lex State array.
- jjstrLiteralImages - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager
-
Deprecated.Token literal values.
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
-
Deprecated.
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAdditiveExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAllocationExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAndExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotation
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotationMethodDeclaration
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotationTypeBody
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotationTypeDeclaration
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotationTypeMemberDeclaration
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTArgumentList
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTArguments
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayDimsAndInits
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayInitializer
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAssertStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAssignmentOperator
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTBlock
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTBlockStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTBooleanLiteral
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTBreakStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTCastExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTCatchStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBody
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBodyDeclaration
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceType
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompactConstructorDeclaration
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTComponentPatternList
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTConditionalAndExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTConditionalExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTConditionalOrExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorDeclaration
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTContinueStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTDefaultValue
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTDoStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTEmptyStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumBody
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumConstant
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumDeclaration
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTEqualityExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTExclusiveOrExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTExtendsList
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTFinallyStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTForInit
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameters
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTForStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTForUpdate
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTGuardedPattern
-
Deprecated.
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTIfStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTImplementsList
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTInclusiveOrExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTInitializer
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTInstanceOfExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTLabeledStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMarkerAnnotation
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberSelector
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValue
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValueArrayInitializer
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValuePair
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValuePairs
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclarator
-
Deprecated.
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodReference
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTModuleDirective
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTModuleName
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMultiplicativeExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTName
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTNameList
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTNormalAnnotation
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTNullLiteral
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTPackageDeclaration
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTPermitsList
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTPostfixExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTPreDecrementExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTPreIncrementExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimaryExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimaryPrefix
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimarySuffix
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimitiveType
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordBody
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordComponent
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordComponentList
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordDeclaration
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordPattern
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTReferenceType
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTRelationalExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTResource
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTResources
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTResourceSpecification
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTResultType
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTReturnStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTRSIGNEDSHIFT
-
Deprecated.
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTRUNSIGNEDSHIFT
-
Deprecated.
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTShiftExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTSingleMemberAnnotation
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTStatementExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTStatementExpressionList
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchGuard
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchLabel
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchLabeledBlock
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchLabeledExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchLabeledThrowStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTSynchronizedStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTThrowStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTryStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTType
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeArgument
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeArguments
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeBound
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeDeclaration
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeParameter
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeParameters
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypePattern
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTUnaryExpression
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTUnaryExpressionNotPlusMinus
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclarator
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableInitializer
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTWhileStatement
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTWildcardBounds
- jjtAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.ASTYieldStatement
- jjtAccept(JavaParserVisitor, Object) - Method in interface net.sourceforge.pmd.lang.java.ast.JavaNode
-
Calls back the visitor's visit method corresponding to the runtime type of this Node.
- JJTADDITIVEEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTALLOCATIONEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTANDEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTANNOTATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTANNOTATIONMETHODDECLARATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTANNOTATIONTYPEBODY - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTANNOTATIONTYPEDECLARATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTANNOTATIONTYPEMEMBERDECLARATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTARGUMENTLIST - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTARGUMENTS - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTARRAYDIMSANDINITS - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTARRAYINITIALIZER - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTASSERTSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTASSIGNMENTOPERATOR - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTBLOCK - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTBLOCKSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTBOOLEANLITERAL - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTBREAKSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTCASTEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTCATCHSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTCLASSORINTERFACEBODY - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTCLASSORINTERFACEBODYDECLARATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTCLASSORINTERFACEDECLARATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTCLASSORINTERFACETYPE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- jjtClose() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
-
Deprecated.
- JJTCOMPACTCONSTRUCTORDECLARATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTCOMPILATIONUNIT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTCOMPONENTPATTERNLIST - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTCONDITIONALANDEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTCONDITIONALEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTCONDITIONALOREXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTCONSTRUCTORDECLARATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTCONTINUESTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTDEFAULTVALUE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTDOSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTEMPTYSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTENUMBODY - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTENUMCONSTANT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTENUMDECLARATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTEQUALITYEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTEXCLUSIVEOREXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTEXPLICITCONSTRUCTORINVOCATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTEXTENDSLIST - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTFIELDDECLARATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTFINALLYSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTFORINIT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTFORMALPARAMETER - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTFORMALPARAMETERS - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTFORSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTFORUPDATE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTGUARDEDPATTERN - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTIFSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTIMPLEMENTSLIST - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTIMPORTDECLARATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTINCLUSIVEOREXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTINITIALIZER - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTINSTANCEOFEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTJavaParserState - Class in net.sourceforge.pmd.lang.java.ast
-
Deprecated.
- JJTJavaParserState() - Constructor for class net.sourceforge.pmd.lang.java.ast.JJTJavaParserState
-
Deprecated.
- JJTLABELEDSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTLAMBDAEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTLITERAL - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTLOCALVARIABLEDECLARATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTMARKERANNOTATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTMEMBERSELECTOR - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTMEMBERVALUE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTMEMBERVALUEARRAYINITIALIZER - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTMEMBERVALUEPAIR - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTMEMBERVALUEPAIRS - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTMETHODDECLARATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTMETHODDECLARATOR - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTMETHODREFERENCE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTMODULEDECLARATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTMODULEDIRECTIVE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTMODULENAME - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTMULTIPLICATIVEEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTNAME - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTNAMELIST - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- jjtNodeName - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTNORMALANNOTATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTNULLLITERAL - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- jjtOpen() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
-
Deprecated.
- JJTPACKAGEDECLARATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTPERMITSLIST - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTPOSTFIXEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTPREDECREMENTEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTPREINCREMENTEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTPRIMARYEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTPRIMARYPREFIX - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTPRIMARYSUFFIX - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTPRIMITIVETYPE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTRECORDBODY - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTRECORDCOMPONENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTRECORDCOMPONENTLIST - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTRECORDDECLARATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTRECORDPATTERN - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- jjtree - Variable in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- JJTREFERENCETYPE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTRELATIONALEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTRESOURCE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTRESOURCES - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTRESOURCESPECIFICATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTRESULTTYPE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTRETURNSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTRSIGNEDSHIFT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTRUNSIGNEDSHIFT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTSHIFTEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTSINGLEMEMBERANNOTATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTSTATEMENTEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTSTATEMENTEXPRESSIONLIST - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTSWITCHEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTSWITCHGUARD - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTSWITCHLABEL - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTSWITCHLABELEDBLOCK - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTSWITCHLABELEDEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTSWITCHLABELEDTHROWSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTSWITCHSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTSYNCHRONIZEDSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTTHROWSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTTRYSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTTYPE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTTYPEARGUMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTTYPEARGUMENTS - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTTYPEBOUND - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTTYPEDECLARATION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTTYPEPARAMETER - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTTYPEPARAMETERS - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTTYPEPATTERN - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTUNARYEXPRESSION - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTUNARYEXPRESSIONNOTPLUSMINUS - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTVARIABLEDECLARATOR - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTVARIABLEDECLARATORID - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTVARIABLEINITIALIZER - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTVOID - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTWHILESTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTWILDCARDBOUNDS - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JJTYIELDSTATEMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants
-
Deprecated.
- JUNIT3_CLASS_NAME - Static variable in class net.sourceforge.pmd.lang.java.rule.AbstractJUnitRule
-
Deprecated.
- JUNIT4_CLASS_NAME - Static variable in class net.sourceforge.pmd.lang.java.rule.AbstractJUnitRule
-
Deprecated.
- JUNIT5_CLASS_NAME - Static variable in class net.sourceforge.pmd.lang.java.rule.AbstractJUnitRule
-
Deprecated.
- JUnitAssertionsShouldIncludeMessageRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
- JUnitAssertionsShouldIncludeMessageRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.JUnitAssertionsShouldIncludeMessageRule
- JUnitSpellingRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
- JUnitSpellingRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.JUnitSpellingRule
- JUnitStaticSuiteRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
- JUnitStaticSuiteRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.JUnitStaticSuiteRule
- JUnitTestsShouldIncludeAssertRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
- JUnitTestsShouldIncludeAssertRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.JUnitTestsShouldIncludeAssertRule
- JUnitUseExpectedRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
-
This rule finds code like this:
- JUnitUseExpectedRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.JUnitUseExpectedRule
- justReportUnusedImports() - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.UnusedImportsRule
-
Deprecated.
- justReportUnusedImports() - Method in class net.sourceforge.pmd.lang.java.rule.codestyle.UnnecessaryImportRule
-
The deprecated rule
UnusedImportsRule
extends this class and overrides this.
K
- kind - Variable in class net.sourceforge.pmd.lang.java.ast.Token
-
Deprecated.An integer that describes the kind of this token.
L
- label - Variable in class net.sourceforge.pmd.lang.java.javadoc.JavadocTag
- LabeledStatement() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- LAMBDA - net.sourceforge.pmd.lang.java.ast.MethodLikeNode.MethodLikeKind
-
Deprecated.
- LAMBDA - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- LambdaExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- LambdaParameter() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- LambdaParameterList() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- LambdaParameters() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- LambdaParameterType() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- LawOfDemeterRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
This rule can detect possible violations of the Law of Demeter.
- LawOfDemeterRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.LawOfDemeterRule
- LBRACE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- LBRACKET - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- LE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- leftHasMentionedVariable() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- leftProper() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- leftVariable() - Method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
Deprecated.
- LETTER - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- lexStateNames - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager
-
Deprecated.Lexer state names.
- LINE_TERMINATOR - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- LinguisticNamingRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
- LinguisticNamingRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.LinguisticNamingRule
- Literal() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- LiteralsFirstInComparisonsRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
- LiteralsFirstInComparisonsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.LiteralsFirstInComparisonsRule
- loadClass(String) - Method in class net.sourceforge.pmd.lang.java.typeresolution.ClassTypeResolver
-
Deprecated.
- loadClass(String) - Method in class net.sourceforge.pmd.lang.java.typeresolution.PMDASMClassLoader
-
Deprecated.
- loadClassOrNull(String) - Method in class net.sourceforge.pmd.lang.java.typeresolution.ClassTypeResolver
-
Deprecated.
- loadClassOrNull(String) - Method in class net.sourceforge.pmd.lang.java.typeresolution.PMDASMClassLoader
-
Deprecated.Not throwing CNFEs to represent failure makes a huge performance difference.
- LOC - net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey
-
Lines of Code.
- LOC - net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey
-
Lines of Code.
- LocalScope - Class in net.sourceforge.pmd.lang.java.symboltable
-
A LocalScope can have variable declarations and class declarations within it.
- LocalScope() - Constructor for class net.sourceforge.pmd.lang.java.symboltable.LocalScope
- LocalTypeDecl(int) - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- LocalVariableCouldBeFinalRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
- LocalVariableCouldBeFinalRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.LocalVariableCouldBeFinalRule
- LocalVariableDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- LocalVariableNamingConventionsRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
-
Enforces a naming convention for local variables and other locally scoped variables.
- LocalVariableNamingConventionsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.LocalVariableNamingConventionsRule
- LocalVariableType() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- LocClassMetric() - Constructor for class net.sourceforge.pmd.lang.java.metrics.impl.LocMetric.LocClassMetric
- LocMetric - Class in net.sourceforge.pmd.lang.java.metrics.impl
-
Lines of Code.
- LocMetric() - Constructor for class net.sourceforge.pmd.lang.java.metrics.impl.LocMetric
- LocMetric.LocClassMetric - Class in net.sourceforge.pmd.lang.java.metrics.impl
- LocMetric.LocOperationMetric - Class in net.sourceforge.pmd.lang.java.metrics.impl
- LocOperationMetric() - Constructor for class net.sourceforge.pmd.lang.java.metrics.impl.LocMetric.LocOperationMetric
- LONG - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- LOOSE_INVOCATION - net.sourceforge.pmd.lang.java.typeresolution.typeinference.InferenceRuleType
-
Deprecated.
- LooseCouplingRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
- LooseCouplingRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.LooseCouplingRule
- LoosePackageCouplingRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
The loose package coupling Rule can be used to ensure coupling outside of a package hierarchy is minimized to all but an allowed set of classes from within the package hierarchy.
- LoosePackageCouplingRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.LoosePackageCouplingRule
- LOWER_WILDCARD - net.sourceforge.pmd.lang.java.typeresolution.typedefinition.TypeDefinitionType
- LPAREN - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- LSHIFT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- LSHIFTASSIGN - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- LT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- lub(List<JavaTypeDefinition>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.TypeInferenceResolver
-
Deprecated.
M
- MarkerAnnotation() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- MAX_LINE_LENGTH - Static variable in class net.sourceforge.pmd.lang.java.rule.documentation.CommentSizeRule
- MAX_LINES - Static variable in class net.sourceforge.pmd.lang.java.rule.documentation.CommentSizeRule
- MemberSelector() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- MemberValue() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- MemberValueArrayInitializer() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- MemberValuePair() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- MemberValuePairs() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- merge(JavaTypeDefinition, JavaTypeDefinition) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.typeinference.TypeInferenceResolver
-
Deprecated.Merge two types of the same class to something both can be assigned to and is most specific.
- METHOD - net.sourceforge.pmd.lang.java.ast.ASTAnyTypeBodyDeclaration.DeclarationKind
-
See
ASTMethodDeclaration
. - METHOD - net.sourceforge.pmd.lang.java.ast.MethodLikeNode.MethodLikeKind
-
Deprecated.
- METHOD - net.sourceforge.pmd.lang.java.multifile.signature.JavaOperationSignature.Role
- METHOD_REF - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Deprecated.RegularExpression Id.
- MethodArgumentCouldBeFinalRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
- MethodArgumentCouldBeFinalRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.MethodArgumentCouldBeFinalRule
- methodCount - Variable in class net.sourceforge.pmd.lang.java.rule.design.StdCyclomaticComplexityRule.Entry
-
Deprecated.
- MethodDeclaration(int) - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- MethodDeclarator() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- MethodLikeNode - Interface in net.sourceforge.pmd.lang.java.ast
-
Deprecated.Lambda expressions should not be grouped with other kinds of method declarations, they have nothing in common. Giving them a qualified name is hacky and compiler-implementation-dependent. Ultimately this supertype is not useful and can go away.
- MethodLikeNode.MethodLikeKind - Enum in net.sourceforge.pmd.lang.java.ast
-
Deprecated.Same reason as for
ASTAnyTypeDeclaration.TypeKind
- MethodNameDeclaration - Class in net.sourceforge.pmd.lang.java.symboltable
- MethodNameDeclaration(ASTMethodDeclarator) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.MethodNameDeclaration
- methodNames() - Method in class net.sourceforge.pmd.lang.java.rule.AbstractPoorMethodCall
-
Deprecated.Return the names of all the methods we are scanning for, no brackets or argument types.
- methodNames() - Method in class net.sourceforge.pmd.lang.java.rule.performance.UseIndexOfCharRule
-
Method methodNames.
- MethodNamingConventionsRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
- MethodNamingConventionsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.MethodNamingConventionsRule
- MethodReference() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Deprecated.
- MethodReturnsInternalArrayRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
-
Implementation note: this rule currently ignores return types of y.x.z, currently it handles only local type fields.
- MethodReturnsInternalArrayRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.MethodReturnsInternalArrayRule
- MethodScope - Class in net.sourceforge.pmd.lang.java.symboltable
-
A Method Scope can have variable declarations and class declarations within it.
- MethodScope(Node) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.MethodScope
- MethodType - Class in net.sourceforge.pmd.lang