A B C D E F G H I J K L M N O P Q R S T U V W X Z _ 
All Classes All Packages

A

absorb(ShadowChainBuilder.ResolverBuilder) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder.ResolverBuilder
 
ABSTRACT - net.sourceforge.pmd.lang.java.ast.JModifier
 
ABSTRACT - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
AbstractClassWithoutAbstractMethodRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
 
AbstractClassWithoutAbstractMethodRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.AbstractClassWithoutAbstractMethodRule
 
AbstractIgnoredAnnotationRule - Class in net.sourceforge.pmd.lang.java.rule
Deprecated.
Internal API
AbstractIgnoredAnnotationRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.AbstractIgnoredAnnotationRule
Deprecated.
 
AbstractJavaRule - Class in net.sourceforge.pmd.lang.java.rule
Base class for Java rules.
AbstractJavaRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.AbstractJavaRule
 
AbstractJavaRulechainRule - Class in net.sourceforge.pmd.lang.java.rule
Base class for rules using the rulechain.
AbstractJavaRulechainRule(Class<? extends JavaNode>, Class<? extends JavaNode>...) - Constructor for class net.sourceforge.pmd.lang.java.rule.AbstractJavaRulechainRule
Specify the node types to visit as parameters.
AbstractJavaScope - Class in net.sourceforge.pmd.lang.java.symboltable
Deprecated.
AbstractJavaScope() - Constructor for class net.sourceforge.pmd.lang.java.symboltable.AbstractJavaScope
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.
 
AbstractResolver(PMDASMClassLoader) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.AbstractResolver
Deprecated.
Creates a new AbstractResolver that uses the given class loader.
acceptsType(JTypeMirror) - Method in class net.sourceforge.pmd.lang.java.types.ast.ExprContext
Returns true if the given type is compatible with this context implicitly (without cast).
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAdditiveExpression
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAllocationExpression
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAmbiguousName
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAndExpression
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotation
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotationMemberList
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotationMethodDeclaration
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotationTypeBody
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotationTypeDeclaration
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnonymousClassDeclaration
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTArgumentList
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTArguments
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayAccess
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayAllocation
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayDimensions
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayDimExpr
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayDimsAndInits
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayInitializer
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayType
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayTypeDim
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAssertStatement
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAssignmentExpression
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAssignmentOperator
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTBlock
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTBlockStatement
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTBooleanLiteral
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTBreakStatement
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTCastExpression
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTCatchClause
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTCatchParameter
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTCharLiteral
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassLiteral
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBody
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBodyDeclaration
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceType
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompactConstructorDeclaration
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTConditionalAndExpression
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTConditionalExpression
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTConditionalOrExpression
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorCall
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorDeclaration
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTContinueStatement
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTDefaultValue
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTDoStatement
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTEmptyDeclaration
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTEmptyStatement
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumBody
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumConstant
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumDeclaration
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTEqualityExpression
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTExclusiveOrExpression
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTExpressionStatement
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTExtendsList
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldAccess
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTFinallyClause
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTForeachStatement
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTForInit
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameters
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTForStatement
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTForUpdate
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTGuardedPattern
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTIfStatement
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTImplementsList
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTInclusiveOrExpression
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTInfixExpression
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTInitializer
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTInstanceOfExpression
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTIntersectionType
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTLabeledStatement
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaExpression
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaParameter
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaParameterList
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalClassStatement
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberSelector
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValueArrayInitializer
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValuePair
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodCall
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclarator
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodReference
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTModifierList
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTModuleDirective
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTModuleName
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTMultiplicativeExpression
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTName
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTNameList
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTNullLiteral
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTNumericLiteral
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTPackageDeclaration
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTPatternExpression
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTPermitsList
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimaryPrefix
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimarySuffix
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimitiveType
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTReceiverParameter
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordBody
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordComponent
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordComponentList
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordDeclaration
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTRelationalExpression
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTResource
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTResourceList
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTResources
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTResultType
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTReturnStatement
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTRSIGNEDSHIFT
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTRUNSIGNEDSHIFT
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTShiftExpression
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTStatementExpression
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTStatementExpressionList
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTStringLiteral
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTSuperExpression
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchArrowBranch
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchExpression
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchFallthroughBranch
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchLabel
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchStatement
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTSynchronizedStatement
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTThisExpression
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTThrowsList
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTThrowStatement
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTryStatement
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeArgument
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeArguments
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeBound
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeExpression
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeParameter
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeParameters
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypePattern
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTUnaryExpression
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTUnaryExpressionNotPlusMinus
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTUnionType
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableAccess
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclarator
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTVoidType
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTWhileStatement
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTWildcardBounds
Deprecated.
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTWildcardType
 
acceptVisitor(JavaVisitor<? super P, ? extends R>, P) - Method in class net.sourceforge.pmd.lang.java.ast.ASTYieldStatement
 
acceptVisitor(SymbolVisitor<R, P>, P) - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
 
acceptVisitor(SymbolVisitor<R, P>, P) - Method in interface net.sourceforge.pmd.lang.java.symbols.JConstructorSymbol
 
acceptVisitor(SymbolVisitor<R, P>, P) - Method in interface net.sourceforge.pmd.lang.java.symbols.JElementSymbol
Dispatch to the appropriate visit method of the visitor and returns its result.
acceptVisitor(SymbolVisitor<R, P>, P) - Method in interface net.sourceforge.pmd.lang.java.symbols.JFieldSymbol
 
acceptVisitor(SymbolVisitor<R, P>, P) - Method in interface net.sourceforge.pmd.lang.java.symbols.JFormalParamSymbol
 
acceptVisitor(SymbolVisitor<R, P>, P) - Method in interface net.sourceforge.pmd.lang.java.symbols.JLocalVariableSymbol
 
acceptVisitor(SymbolVisitor<R, P>, P) - Method in interface net.sourceforge.pmd.lang.java.symbols.JMethodSymbol
 
acceptVisitor(SymbolVisitor<R, P>, P) - Method in interface net.sourceforge.pmd.lang.java.symbols.JTypeParameterSymbol
 
acceptVisitor(JTypeVisitor<T, P>, P) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.InferenceVar
 
acceptVisitor(JTypeVisitor<T, P>, P) - Method in class net.sourceforge.pmd.lang.java.types.JArrayType
 
acceptVisitor(JTypeVisitor<T, P>, P) - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
 
acceptVisitor(JTypeVisitor<T, P>, P) - Method in class net.sourceforge.pmd.lang.java.types.JIntersectionType
 
acceptVisitor(JTypeVisitor<T, P>, P) - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
 
acceptVisitor(JTypeVisitor<T, P>, P) - Method in class net.sourceforge.pmd.lang.java.types.JPrimitiveType
 
acceptVisitor(JTypeVisitor<T, P>, P) - Method in interface net.sourceforge.pmd.lang.java.types.JTypeVar
 
acceptVisitor(JTypeVisitor<T, P>, P) - Method in interface net.sourceforge.pmd.lang.java.types.JTypeVisitable
Accept a type visitor, dispatching on this object's runtime type to the correct method of the visitor.
acceptVisitor(JTypeVisitor<T, P>, P) - Method in interface net.sourceforge.pmd.lang.java.types.JWildcardType
 
ACCESS_TO_FOREIGN_DATA - Static variable in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
Number of usages of foreign attributes, both directly and through accessors.
accessibleMethodFilter(String, JClassSymbol) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
AccessNode - Interface in net.sourceforge.pmd.lang.java.ast
A node that owns a modifier list.
AccessNode.Visibility - Enum in net.sourceforge.pmd.lang.java.ast
Represents the visibility of a declaration.
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
 
ADD - net.sourceforge.pmd.lang.java.ast.BinaryOp
Addition "+" operator, or string concatenation.
ADD_ASSIGN - net.sourceforge.pmd.lang.java.ast.AssignmentOp
 
addBound(InferenceVar.BoundKind, JTypeMirror) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.InferenceVar
Adds a new bound on this variable.
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
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.
 
addPrimaryBound(InferenceVar.BoundKind, JTypeMirror) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.InferenceVar
 
allArgsAreUnboundedWildcards(List<JTypeMirror>) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
allowsAllAssignments() - Method in class net.sourceforge.pmd.lang.java.rule.errorprone.AssignmentInOperandRule
 
allPrimitives - Variable in class net.sourceforge.pmd.lang.java.types.TypeSystem
The set of all primitive types.
allTagIds() - Static method in class net.sourceforge.pmd.lang.java.javadoc.JavadocTag
 
ambiguityError(MethodCallSite, ExprMirror.InvocationMirror.MethodCtDecl, List<ExprMirror.InvocationMirror.MethodCtDecl>) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
ambiguityError(MethodCallSite, ExprMirror.InvocationMirror.MethodCtDecl, List<ExprMirror.InvocationMirror.MethodCtDecl>) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
AND - net.sourceforge.pmd.lang.java.ast.BinaryOp
AND "&" operator.
AND_ASSIGN - net.sourceforge.pmd.lang.java.ast.AssignmentOp
 
ANDASSIGN - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
andThen(List<? extends JTypeVar>) - Method in class net.sourceforge.pmd.lang.java.types.LexicalScope
Return a new scope which contains the given tvars.
andThen(Map<JVariableSymbol, JTypeMirror>) - Method in class net.sourceforge.pmd.lang.java.types.TypingContext
Return a new typing context which uses this one as a parent.
andThen(Substitution) - Method in class net.sourceforge.pmd.lang.java.types.Substitution
Returns a composed substitution that first applies this substitution to its input, and then applies the after substitution to the result.
andThenZip(List<JVariableSymbol>, List<JTypeMirror>) - Method in class net.sourceforge.pmd.lang.java.types.TypingContext
 
Annotatable - Interface in net.sourceforge.pmd.lang.java.ast
Marks nodes that can be annotated.
ANSI_BLUE - Static variable in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
ANSI_GRAY - Static variable in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
ANSI_PURPLE - Static variable in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
ANSI_RED - Static variable in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
ANSI_RESET - Static variable in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
ANSI_YELLOW - Static variable in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
anyMatch(InvocationNode) - Method in class net.sourceforge.pmd.lang.java.types.InvocationMatcher.CompoundInvocationMatcher
Returns true if any of the matchers match the node.
anyMatch(JavaNode) - Method in class net.sourceforge.pmd.lang.java.types.InvocationMatcher.CompoundInvocationMatcher
Returns true if any of the matchers match the node.
append(S) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder.ResolverBuilder
 
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
 
appendWithoutDuplicate(S) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder.ResolverBuilder
 
apply(String) - Method in class net.sourceforge.pmd.lang.java.types.LexicalScope
Returns the type var with the given name, or null.
apply(SubstVar) - Method in class net.sourceforge.pmd.lang.java.types.Substitution
Returns the type with which the given variable should be replaced.
apply(Node, RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractJavaRule
 
apply(JVariableSymbol) - Method in class net.sourceforge.pmd.lang.java.types.TypingContext
 
areOverrideEquivalent(JMethodSig, JMethodSig) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Two method signatures m1 and m2 are override-equivalent iff either m1 is a subsignature of m2 or m2 is a subsignature of m1.
areSameTypes(List<JTypeMirror>, List<JTypeMirror>, boolean) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
areSameTypes(List<JTypeMirror>, List<JTypeMirror>, Substitution) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
areSameTypes(List<JTypeMirror>, List<JTypeMirror>, Substitution, boolean) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
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
 
arrayType(JTypeMirror) - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
Like TypeSystem.arrayType(JTypeMirror, int), with one dimension.
arrayType(JTypeMirror, int) - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
Creates a new array type from an arbitrary element type.
asChain() - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainNode
 
asClassType(JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Returns t if it is a class or interface type.
asList(JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Returns the components of t if it is an intersection type, otherwise returns t.
asLocalVariableDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.ASTResource
 
asLowerBound() - Method in interface net.sourceforge.pmd.lang.java.types.JWildcardType
Returns the lower bound, or the bottom type if this is an "extends" wildcard.
AsmSymbolResolver - Class in net.sourceforge.pmd.lang.java.symbols.internal.asm
A SymbolResolver that reads class files to produce symbols.
AsmSymbolResolver(TypeSystem, Classpath) - Constructor for class net.sourceforge.pmd.lang.java.symbols.internal.asm.AsmSymbolResolver
 
asNode() - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChain
Returns the API of this instance that views the chain as individual nodes.
asOuterSuper(JTypeMirror, JClassSymbol) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Return the base type of t or any of its outer types that starts with the given type.
ASSIGN - net.sourceforge.pmd.lang.java.ast.AssignmentOp
 
ASSIGN - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
assignComments(ASTCompilationUnit) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
ASSIGNMENT - net.sourceforge.pmd.lang.java.types.ast.ExprContext.ExprContextKind
Assignment context.
AssignmentInOperandRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
 
AssignmentInOperandRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.AssignmentInOperandRule
 
AssignmentOp - Enum in net.sourceforge.pmd.lang.java.ast
An assignment operator for ASTAssignmentExpression.
AssignmentToNonFinalStaticRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
 
AssignmentToNonFinalStaticRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.AssignmentToNonFinalStaticRule
 
asSuper(JTypeMirror, JClassSymbol) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
ASTAdditiveExpression - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Replaced with ASTInfixExpression
ASTAllocationExpression - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
ASTAmbiguousName - Class in net.sourceforge.pmd.lang.java.ast
An ambiguous name occurring in any context.
ASTAndExpression - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Replaced with ASTInfixExpression
ASTAnnotation - Class in net.sourceforge.pmd.lang.java.ast
Represents an annotation.
ASTAnnotationMemberList - Class in net.sourceforge.pmd.lang.java.ast
Represents the list of member-value pairs in an annotation.
ASTAnnotationMethodDeclaration - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Represented directly by MethodDeclaration. An annotation method is just MethodDeclaration whose enclosing type is an annotation.
ASTAnnotationTypeBody - Class in net.sourceforge.pmd.lang.java.ast
 
ASTAnnotationTypeDeclaration - Class in net.sourceforge.pmd.lang.java.ast
The declaration of an annotation type.
ASTAnonymousClassDeclaration - Class in net.sourceforge.pmd.lang.java.ast
An anonymous class declaration.
ASTAnyTypeDeclaration - Interface in net.sourceforge.pmd.lang.java.ast
Groups class, enum, record, annotation and interface declarations under a common supertype.
ASTArgumentList - Class in net.sourceforge.pmd.lang.java.ast
ASTArguments - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Replaced by ASTArgumentList
ASTArrayAccess - Class in net.sourceforge.pmd.lang.java.ast
An array access expression.
ASTArrayAllocation - Class in net.sourceforge.pmd.lang.java.ast
An array creation expression.
ASTArrayDimensions - Class in net.sourceforge.pmd.lang.java.ast
Represents array type dimensions.
ASTArrayDimExpr - Class in net.sourceforge.pmd.lang.java.ast
Represents an array dimension initialized with an expression in an array allocation expression.
ASTArrayDimsAndInits - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Replaced by ASTArrayDimensions
ASTArrayInitializer - Class in net.sourceforge.pmd.lang.java.ast
An array initializer.
ASTArrayType - Class in net.sourceforge.pmd.lang.java.ast
Represents an array type.
ASTArrayTypeDim - Class in net.sourceforge.pmd.lang.java.ast
Represents an array dimension in an array type, or in an array allocation expression.
ASTAssertStatement - Class in net.sourceforge.pmd.lang.java.ast
Represents an assert statement.
ASTAssignableExpr - Interface in net.sourceforge.pmd.lang.java.ast
An expression that may be assigned by an assignment expression, or incremented or decremented.
ASTAssignableExpr.AccessType - Enum in net.sourceforge.pmd.lang.java.ast
Represents the type of access of an assignable expression.
ASTAssignableExpr.ASTNamedReferenceExpr - Interface in net.sourceforge.pmd.lang.java.ast
An assignable expression that has a name, and refers to a symbol.
ASTAssignmentExpression - Class in net.sourceforge.pmd.lang.java.ast
Represents an assignment expression.
ASTAssignmentOperator - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
ASTBlock - Class in net.sourceforge.pmd.lang.java.ast
A block of code.
ASTBlockStatement - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
ASTStatement has been turned into an interface. Usages of BlockStatement can either be replaced with Statement if you don't care about the specific statement, or removed if you were extracting the contained node anyway.
ASTBodyDeclaration - Interface in net.sourceforge.pmd.lang.java.ast
Marker interface for declarations that can occur in a type body, such as field or method declarations.
ASTBooleanLiteral - Class in net.sourceforge.pmd.lang.java.ast
The boolean literal, either "true" or "false".
ASTBreakStatement - Class in net.sourceforge.pmd.lang.java.ast
A break statement, that jumps to a named label (or exits the current loop).
ASTCastExpression - Class in net.sourceforge.pmd.lang.java.ast
Represents a type cast expression.
ASTCatchClause - Class in net.sourceforge.pmd.lang.java.ast
A "catch" clause of a try statement.
ASTCatchParameter - Class in net.sourceforge.pmd.lang.java.ast
Formal parameter of a catch clause to represent the declared exception variable.
ASTCharLiteral - Class in net.sourceforge.pmd.lang.java.ast
Represents a character literal.
ASTClassLiteral - Class in net.sourceforge.pmd.lang.java.ast
A class literal.
ASTClassOrInterfaceBody - Class in net.sourceforge.pmd.lang.java.ast
Represents the body of a class or interface declaration.
ASTClassOrInterfaceBodyDeclaration - Class in net.sourceforge.pmd.lang.java.ast
 
ASTClassOrInterfaceDeclaration - Class in net.sourceforge.pmd.lang.java.ast
Represents class and interface declarations.
ASTClassOrInterfaceType - Class in net.sourceforge.pmd.lang.java.ast
Represents a class or interface type, possibly parameterised with type arguments.
ASTClassOrInterfaceType(String) - 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
 
ASTConditionalAndExpression - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Replaced with ASTInfixExpression
ASTConditionalExpression - Class in net.sourceforge.pmd.lang.java.ast
Represents a conditional expression, aka ternary expression.
ASTConditionalOrExpression - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Replaced with ASTInfixExpression
ASTConstructorCall - Class in net.sourceforge.pmd.lang.java.ast
A class instance creation expression.
ASTConstructorDeclaration - Class in net.sourceforge.pmd.lang.java.ast
A constructor of a class or enum declaration.
ASTContinueStatement - Class in net.sourceforge.pmd.lang.java.ast
A continue statement, that jumps to the next iteration of an enclosing loop.
ASTDefaultValue - Class in net.sourceforge.pmd.lang.java.ast
Represents the default clause of an annotation method.
ASTDoStatement - Class in net.sourceforge.pmd.lang.java.ast
Represents a do ... while statement.
ASTEmptyDeclaration - Class in net.sourceforge.pmd.lang.java.ast
An empty declaration (useless).
ASTEmptyStatement - Class in net.sourceforge.pmd.lang.java.ast
An empty statement (useless).
ASTEnumBody - Class in net.sourceforge.pmd.lang.java.ast
Body of an enum declaration.
ASTEnumConstant - Class in net.sourceforge.pmd.lang.java.ast
Represents an enum constant declaration within an enum type declaration.
ASTEnumDeclaration - Class in net.sourceforge.pmd.lang.java.ast
Represents an enum declaration.
ASTEqualityExpression - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Replaced with ASTInfixExpression
ASTExclusiveOrExpression - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Replaced with ASTInfixExpression
ASTExplicitConstructorInvocation - Class in net.sourceforge.pmd.lang.java.ast
An explicit constructor invocation, occurring at the start of a constructor declaration.
ASTExpression - Interface in net.sourceforge.pmd.lang.java.ast
Represents an expression, in the most general sense.
ASTExpressionStatement - Class in net.sourceforge.pmd.lang.java.ast
A statement that contains an expression.
ASTExtendsList - Class in net.sourceforge.pmd.lang.java.ast
Represents the extends clause of a class or interface declaration.
ASTFieldAccess - Class in net.sourceforge.pmd.lang.java.ast
A field access expression.
ASTFieldDeclaration - Class in net.sourceforge.pmd.lang.java.ast
Represents a field declaration in the body of a type declaration.
ASTFinallyClause - Class in net.sourceforge.pmd.lang.java.ast
The "finally" clause of a try statement.
ASTForeachStatement - Class in net.sourceforge.pmd.lang.java.ast
Represents a "foreach"-loop on an Iterable.
ASTForInit - Class in net.sourceforge.pmd.lang.java.ast
The initialization clause of a for loop.
ASTFormalParameter - Class in net.sourceforge.pmd.lang.java.ast
Formal parameter node for a formal parameter list.
ASTFormalParameters - Class in net.sourceforge.pmd.lang.java.ast
A list of formal parameters in a method or constructor declaration.
ASTForStatement - Class in net.sourceforge.pmd.lang.java.ast
Represents a for loop (distinct from foreach loops).
ASTForUpdate - Class in net.sourceforge.pmd.lang.java.ast
Update clause of a for statement.
ASTGuardedPattern - Class in net.sourceforge.pmd.lang.java.ast
A guarded pattern (JDK17 Preview).
ASTIfStatement - Class in net.sourceforge.pmd.lang.java.ast
Represents an if statement, possibly with an else statement.
ASTImplementsList - Class in net.sourceforge.pmd.lang.java.ast
Represents the implements clause of a class declaration.
ASTImportDeclaration - Class in net.sourceforge.pmd.lang.java.ast
Represents an import declaration in a Java file.
ASTInclusiveOrExpression - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Replaced with ASTInfixExpression
ASTInfixExpression - Class in net.sourceforge.pmd.lang.java.ast
Represents a binary infix expression.
ASTInitializer - Class in net.sourceforge.pmd.lang.java.ast
A class or instance initializer.
ASTInstanceOfExpression - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Replaced with ASTInfixExpression
ASTIntersectionType - Class in net.sourceforge.pmd.lang.java.ast
Represents an intersection type.
ASTLabeledStatement - Class in net.sourceforge.pmd.lang.java.ast
A wrapper around a statement that assigns it a label.
ASTLambdaExpression - Class in net.sourceforge.pmd.lang.java.ast
A lambda expression.
ASTLambdaParameter - Class in net.sourceforge.pmd.lang.java.ast
Formal parameter of a lambda expression.
ASTLambdaParameterList - Class in net.sourceforge.pmd.lang.java.ast
The parameter list of a lambda expression.
ASTList<N extends JavaNode> - Class in net.sourceforge.pmd.lang.java.ast
Common supertype for nodes that act as a kind of list of other nodes.
ASTLiteral - Interface in net.sourceforge.pmd.lang.java.ast
A lexical literal.
ASTLocalClassStatement - Class in net.sourceforge.pmd.lang.java.ast
A statement that contains a local class declaration.
ASTLocalVariableDeclaration - Class in net.sourceforge.pmd.lang.java.ast
Represents a local variable declaration.
AstLocalVarSym - Class in net.sourceforge.pmd.lang.java.symbols.internal.ast
 
ASTLoopStatement - Interface in net.sourceforge.pmd.lang.java.ast
A loop statement.
ASTMemberSelector - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
not a node
ASTMemberSelector(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTMemberSelector
Deprecated.
 
ASTMemberValue - Interface in net.sourceforge.pmd.lang.java.ast
Represents the value of a member of an annotation.
ASTMemberValueArrayInitializer - Class in net.sourceforge.pmd.lang.java.ast
Represents an array of member values in an annotation member value.
ASTMemberValuePair - Class in net.sourceforge.pmd.lang.java.ast
Represents a single pair of member name to value in an annotation.
ASTMethodCall - Class in net.sourceforge.pmd.lang.java.ast
A method invocation expression.
ASTMethodDeclaration - Class in net.sourceforge.pmd.lang.java.ast
A method declaration, in a class or interface declaration.
ASTMethodDeclarator - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Removed, former children are direct children of ASTMethodDeclaration. This is because the node is not even shared with ASTAnnotationMethodDeclaration and is really not useful, mostly worked around everywhere.
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
Method or constructor reference expression.
ASTModifierList - Class in net.sourceforge.pmd.lang.java.ast
List of modifiers of a declaration.
ASTModuleDeclaration - Class in net.sourceforge.pmd.lang.java.ast
 
ASTModuleDirective - Class in net.sourceforge.pmd.lang.java.ast
 
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
 
ASTMultiplicativeExpression - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Replaced with ASTInfixExpression
ASTName - Class in net.sourceforge.pmd.lang.java.ast
 
ASTName(String, AbstractJavaNode) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTName
Deprecated.
ASTNameList - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Replaced with ASTThrowsList
ASTNullLiteral - Class in net.sourceforge.pmd.lang.java.ast
The null literal.
ASTNumericLiteral - Class in net.sourceforge.pmd.lang.java.ast
A numeric literal of any type (double, int, long, float, etc).
ASTPackageDeclaration - Class in net.sourceforge.pmd.lang.java.ast
Package declaration at the top of a source file.
ASTPattern - Interface in net.sourceforge.pmd.lang.java.ast
A pattern (for pattern matching constructs like InstanceOfExpression or within a ASTSwitchLabel).
ASTPatternExpression - Class in net.sourceforge.pmd.lang.java.ast
Wraps a ASTPattern node but presents the interface of ASTExpression.
ASTPermitsList - Class in net.sourceforge.pmd.lang.java.ast
Represents the permits clause of a (sealed) class declaration.
ASTPrimaryExpression - Interface in net.sourceforge.pmd.lang.java.ast
Tags those expressions that are categorised as primary by the JLS.
ASTPrimaryPrefix - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
ASTPrimarySuffix - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
ASTPrimitiveType - Class in net.sourceforge.pmd.lang.java.ast
Represents a primitive type.
ASTPrimitiveType(JPrimitiveType.PrimitiveTypeKind) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTPrimitiveType
Deprecated.
Made public for one shady usage in ClassScope
ASTReceiverParameter - Class in net.sourceforge.pmd.lang.java.ast
Receiver parameter.
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).
ASTReferenceType - Interface in net.sourceforge.pmd.lang.java.ast
Represents a reference type, i.e.
ASTRelationalExpression - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Replaced with ASTInfixExpression
ASTResource - Class in net.sourceforge.pmd.lang.java.ast
A resource of a try-with-resources.
ASTResourceList - Class in net.sourceforge.pmd.lang.java.ast
A list of resources in a try-with-resources.
ASTResources - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
ASTResultType - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
This has been replaced by an unwrapped ASTType, "void" being represented by ASTVoidType.
ASTReturnStatement - Class in net.sourceforge.pmd.lang.java.ast
A return statement in a method or constructor body.
ASTRSIGNEDSHIFT - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Will be removed in 7.0.0. Use ASTShiftExpression#getOperator()
ASTRUNSIGNEDSHIFT - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Will be removed in 7.0.0. Use ASTShiftExpression#getOperator()
ASTShiftExpression - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Replaced with ASTInfixExpression
ASTStatement - Interface in net.sourceforge.pmd.lang.java.ast
Represents a code statement.
ASTStatementExpression - Class in net.sourceforge.pmd.lang.java.ast
ASTStatementExpressionList - Class in net.sourceforge.pmd.lang.java.ast
A list of statement expressions.
ASTStringLiteral - Class in net.sourceforge.pmd.lang.java.ast
Represents a string literal.
ASTSuperExpression - Class in net.sourceforge.pmd.lang.java.ast
The "super" keyword.
ASTSwitchArrowBranch - Class in net.sourceforge.pmd.lang.java.ast
A non-fallthrough switch rule, introduced with switch expressions.
ASTSwitchArrowRHS - Interface in net.sourceforge.pmd.lang.java.ast
A node that can appear as the right-hand-side of a SwitchArrowRule.
ASTSwitchBranch - Interface in net.sourceforge.pmd.lang.java.ast
A branch of a SwitchLike.
ASTSwitchExpression - Class in net.sourceforge.pmd.lang.java.ast
A switch expression, as introduced in Java 12.
ASTSwitchFallthroughBranch - Class in net.sourceforge.pmd.lang.java.ast
A fallthrough switch branch.
ASTSwitchLabel - Class in net.sourceforge.pmd.lang.java.ast
Represents either a case or default label inside a switch statement or expression.
ASTSwitchLike - Interface in net.sourceforge.pmd.lang.java.ast
Common supertype for switch statements and switch expressions.
ASTSwitchStatement - Class in net.sourceforge.pmd.lang.java.ast
Represents a switch statement.
ASTSynchronizedStatement - Class in net.sourceforge.pmd.lang.java.ast
A synchronized statement.
ASTThisExpression - Class in net.sourceforge.pmd.lang.java.ast
The "this" expression.
ASTThrowsList - Class in net.sourceforge.pmd.lang.java.ast
ASTThrowStatement - Class in net.sourceforge.pmd.lang.java.ast
A throw statement.
ASTTopLevelDeclaration - Interface in net.sourceforge.pmd.lang.java.ast
Marker interface for nodes that can appear on the top-level of a file.
ASTTryStatement - Class in net.sourceforge.pmd.lang.java.ast
Try statement node.
ASTType - Interface in net.sourceforge.pmd.lang.java.ast
Represents a type reference.
ASTTypeArgument - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Replaced by just an ASTType
ASTTypeArguments - Class in net.sourceforge.pmd.lang.java.ast
Represents a list of type arguments.
ASTTypeBody - Class in net.sourceforge.pmd.lang.java.ast
Body of a type declaration.
ASTTypeBound - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Since the annotations now nest inside the type, this is just replaced by the type node alone.
ASTTypeBound(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.ASTTypeBound
Deprecated.
 
ASTTypeExpression - Class in net.sourceforge.pmd.lang.java.ast
Wraps a type node but presents the interface of ASTExpression.
ASTTypeParameter - Class in net.sourceforge.pmd.lang.java.ast
Represents a type parameter declaration of a method, constructor, class or interface declaration.
ASTTypeParameters - Class in net.sourceforge.pmd.lang.java.ast
Represents a list of type parameters.
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 operation on a value.
ASTUnaryExpressionNotPlusMinus - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Merged into ASTUnaryExpression
ASTUnionType - Class in net.sourceforge.pmd.lang.java.ast
Represents the type node of a multi-catch statement.
ASTVariableAccess - Class in net.sourceforge.pmd.lang.java.ast
An unqualified reference to a variable (either local, or a field that is in scope).
ASTVariableDeclarator - Class in net.sourceforge.pmd.lang.java.ast
Groups a variable ID and its initializer if it exists.
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).
ASTVariableInitializer - Interface in net.sourceforge.pmd.lang.java.ast
Deprecated.
Array initializers behave exactly as expressions, except they're restricted to one specific syntactic context. Such a syntactic distinction is not useful for analysis. This also simplifies the type hierarchy. This interface can be completely substituted by ASTExpression
ASTVoidType - Class in net.sourceforge.pmd.lang.java.ast
Type node to represent the void pseudo-type.
ASTWhileStatement - Class in net.sourceforge.pmd.lang.java.ast
Represents a while loop.
ASTWildcardBounds - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
Replaced by ASTWildcardType
ASTWildcardType - Class in net.sourceforge.pmd.lang.java.ast
Represents a wildcard type.
ASTYieldStatement - Class in net.sourceforge.pmd.lang.java.ast
A yield statement in a switch expression.
asUpperBound() - Method in interface net.sourceforge.pmd.lang.java.types.JWildcardType
Returns the upper bound, or Object if this is a "super" wildcard.
AT - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
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
 
augment(ShadowChainNode<S, I>, boolean, I, NameResolver<? extends S>) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder
 
augment(ShadowChainNode<S, I>, boolean, I, ShadowChainBuilder.ResolverBuilder) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder
 
augment(ShadowChainNode<S, I>, boolean, I, S) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder
 
augmentWithCache(ShadowChainNode<S, I>, boolean, I, NameResolver<? extends S>) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder
 
augmentWithCache(ShadowChainNode<S, I>, boolean, I, NameResolver<? extends S>, BinaryOperator<List<S>>) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder
 
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
 
AvoidDeeplyNestedIfStmtsRule - Class in net.sourceforge.pmd.lang.java.rule.design
 
AvoidDeeplyNestedIfStmtsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.AvoidDeeplyNestedIfStmtsRule
 
AvoidDuplicateLiteralsRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
 
AvoidDuplicateLiteralsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidDuplicateLiteralsRule
 
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
 
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 containing NullPointerException 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

BANG - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
BeanMembersShouldSerializeRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
 
BeanMembersShouldSerializeRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.BeanMembersShouldSerializeRule
 
BigIntegerInstantiationRule - Class in net.sourceforge.pmd.lang.java.rule.performance
Rule that marks instantiations of new BigInteger or BigDecimal objects, when there is a well-known constant available, such as BigInteger.ZERO.
BigIntegerInstantiationRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.performance.BigIntegerInstantiationRule
 
BINARY_NUMERAL - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
binaryNumericPromotion(JTypeMirror, JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeConversion
JLS§5.6.2 https://docs.oracle.com/javase/specs/jls/se9/html/jls-5.html#jls-5.6.2 Binary numeric promotion is performed on the operands of certain operators: The multiplicative operators *, /, and % (§15.17) The addition and subtraction operators for numeric types + and - (§15.18.2) The numerical comparison operators <, <=, >, and >= (§15.20.1) The numerical equality operators == and != (§15.21.1) The integer bitwise operators &, ^, and | (§15.22.1) In certain cases, the conditional operator ? : (§15.25)
BinaryOp - Enum in net.sourceforge.pmd.lang.java.ast
Represents the operator of an infix expression.
BIT_AND - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
BIT_OR - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
BOOLEAN - net.sourceforge.pmd.lang.java.types.ast.ExprContext.ExprContextKind
Boolean contexts, which unbox their operand to a boolean.
BOOLEAN - net.sourceforge.pmd.lang.java.types.JPrimitiveType.PrimitiveTypeKind
 
BOOLEAN - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
BOOLEAN - Variable in class net.sourceforge.pmd.lang.java.types.TypeSystem
Primitive type boolean.
bootstrapResolver() - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
Returns the bootstrap symbol resolver.
boundAdded(InferenceContext, InferenceVar, InferenceVar.BoundKind, JTypeMirror, boolean) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
boundAdded(InferenceContext, InferenceVar, InferenceVar.BoundKind, JTypeMirror, boolean) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.VerboseLogger
 
box() - Method in class net.sourceforge.pmd.lang.java.types.JPrimitiveType
 
box() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns the primitive wrapper type of this type, if this is a primitive type.
BOXED_VOID - Variable in class net.sourceforge.pmd.lang.java.types.TypeSystem
This is the boxed type of Void.class, not to be confused with void.class, which in this framework is represented by TypeSystem.NO_TYPE.
branchesMatch(Predicate<? super ExprMirror>) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.BranchingMirror
Returns true if every result expression matches the given predicate.
BREAK - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
BrokenNullCheckRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
 
BrokenNullCheckRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.BrokenNullCheckRule
 
build() - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder.ResolverBuilder
 
buildConstValue() - Method in class net.sourceforge.pmd.lang.java.ast.ASTStringLiteral
 
buildTargetSelector() - Method in class net.sourceforge.pmd.lang.java.rule.AbstractJavaRulechainRule
 
buildTargetSelector() - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidReassigningCatchVariablesRule
 
buildTargetSelector() - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.MissingOverrideRule
 
buildTargetSelector() - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.UnusedLocalVariableRule
 
buildTargetSelector() - Method in class net.sourceforge.pmd.lang.java.rule.codestyle.UnnecessaryConstructorRule
 
buildTargetSelector() - Method in class net.sourceforge.pmd.lang.java.rule.multithreading.DoubleCheckedLockingRule
 
buildTargetSelector() - Method in class net.sourceforge.pmd.lang.java.rule.performance.ConsecutiveAppendsShouldReuseRule
 
buildTargetSelector() - Method in class net.sourceforge.pmd.lang.java.rule.performance.StringInstantiationRule
 
buildTargetSelector() - Method in class net.sourceforge.pmd.lang.java.rule.performance.UselessStringValueOfRule
 
buildTypeFromAstInternal(TypeSystem, Substitution, ASTType) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
bumpArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayDimsAndInits
Deprecated.
bySubtyping() - Method in enum net.sourceforge.pmd.lang.java.types.TypeOps.Convertibility
BYTE - net.sourceforge.pmd.lang.java.types.JPrimitiveType.PrimitiveTypeKind
 
BYTE - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
BYTE - Variable in class net.sourceforge.pmd.lang.java.types.TypeSystem
Primitive type byte.

C

capture(JClassType) - Static method in class net.sourceforge.pmd.lang.java.types.TypeConversion
Perform capture conversion on the type t.
capture(JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeConversion
Perform capture conversion on the type t.
CASE - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
CASE_SENSITIVE_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.java.rule.documentation.CommentContentRule
 
CAST - net.sourceforge.pmd.lang.java.types.ast.ExprContext.ExprContextKind
Cast context.
CATCH - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
CHAR - net.sourceforge.pmd.lang.java.types.JPrimitiveType.PrimitiveTypeKind
 
CHAR - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
CHAR - Variable in class net.sourceforge.pmd.lang.java.types.TypeSystem
Primitive type char.
CHARACTER_LITERAL - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
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_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.
 
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
 
CLASS - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
CLASSES_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.java.rule.design.LoosePackageCouplingRule
 
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
 
Classpath - Interface in net.sourceforge.pmd.lang.java.symbols.internal.asm
Classpath abstraction.
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.
Some rules still use this so we keep it around, but it's dysfunctional
ClassTypeResolver() - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.ClassTypeResolver
Deprecated.
 
ClassWithOnlyPrivateConstructorsShouldBeFinalRule - Class in net.sourceforge.pmd.lang.java.rule.design
 
ClassWithOnlyPrivateConstructorsShouldBeFinalRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.ClassWithOnlyPrivateConstructorsShouldBeFinalRule
 
CLONEABLE - Variable in class net.sourceforge.pmd.lang.java.types.TypeSystem
The interface Cloneable.
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
 
cloneWithBounds(JTypeMirror, JTypeMirror) - Method in interface net.sourceforge.pmd.lang.java.types.JTypeVar
 
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
 
COGNITIVE_COMPLEXITY - Static variable in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
Cognitive complexity is a measure of how difficult it is for humans to read and understand a method.
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
 
collectMostSpecific(JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.internal.infer.OverloadSet
Returns a collector that can apply to a stream of method signatures, and that collects them into a set of method, where none override one another.
COLON - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
color(Object, String) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
colorIvars(Object) - Static method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
colorPunct(Object) - Static method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
COMMA - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
Comment - Class in net.sourceforge.pmd.lang.java.ast
 
Comment(JavaccToken) - 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
 
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
 
comparePrecedence(BinaryOp) - Method in enum net.sourceforge.pmd.lang.java.ast.BinaryOp
Compare the precedence of this operator with that of the other, as if with a Comparator.
COMPARISON_OPS - Static variable in enum net.sourceforge.pmd.lang.java.ast.BinaryOp
complement() - Method in enum net.sourceforge.pmd.lang.java.types.internal.infer.InferenceVar.BoundKind
Returns the complementary bound kind.
COMPLEMENT - net.sourceforge.pmd.lang.java.ast.UnaryOp
Bitwise complement operator "~".
complementSet(boolean) - Method in enum net.sourceforge.pmd.lang.java.types.internal.infer.InferenceVar.BoundKind
Returns the complement of this kind.
composite(List<? extends NameResolver<? extends T>>) - Static method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.NameResolver
Returns a resolver that concatenates the results of every resolver in the given list.
computeUpperBound() - Method in interface net.sourceforge.pmd.lang.java.symbols.JTypeParameterSymbol
Returns the upper bound of this type variable.
CONDITIONAL_AND - net.sourceforge.pmd.lang.java.ast.BinaryOp
Conditional (shortcut) AND "&&" operator.
CONDITIONAL_OR - net.sourceforge.pmd.lang.java.ast.BinaryOp
Conditional (shortcut) OR "||" operator.
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.
ConsecutiveLiteralAppendsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.performance.ConsecutiveLiteralAppendsRule
 
CONSIDER_ASSERT - net.sourceforge.pmd.lang.java.metrics.JavaMetrics.CycloOption
Consider assert statements as if they were if (..) throw new AssertionError(..).
CONST - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
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
 
contains(NameOccurrence) - Method in class net.sourceforge.pmd.lang.java.symboltable.AbstractJavaScope
Deprecated.
 
containsComment() - Method in class net.sourceforge.pmd.lang.java.ast.ASTBlock
 
containsComment() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorDeclaration
 
contextClasspath() - Static method in interface net.sourceforge.pmd.lang.java.symbols.internal.asm.Classpath
 
CONTINUE - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
copyToMutable(Map<String, V>) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder
Copy the given map into a new mutable map.
CoreResolvers - Class in net.sourceforge.pmd.lang.java.symbols.table.coreimpl
 
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.JavaMetrics.NcssOption
Counts import and package statement.
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
 
CPD_END - Static variable in class net.sourceforge.pmd.cpd.JavaTokenizer
 
CPD_START - Static variable in class net.sourceforge.pmd.cpd.JavaTokenizer
 
createBuiltInMethodDeclaration(String, String...) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
Creates a fake method name declaration for built-in methods from Java like the Enum Method "valueOf".
createMirrorForSubexpression(ASTExpression, ExprMirror, JavaExprMirrors.MirrorMaker) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ast.JavaExprMirrors.MirrorMaker
 
CTOR_NAME - Static variable in interface net.sourceforge.pmd.lang.java.symbols.JConstructorSymbol
Common dummy name for constructor symbols.
ctxInitialization(InferenceContext, JMethodSig) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
ctxInitialization(InferenceContext, JMethodSig) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.VerboseLogger
 
CurrentPackageResolver(PMDASMClassLoader, String) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.CurrentPackageResolver
Deprecated.
CYCLO - Static variable in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
Number of independent paths through a block of code.
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
 

D

DataClassRule - Class in net.sourceforge.pmd.lang.java.rule.design
 
DataClassRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.DataClassRule
 
DECIMAL_FLOATING_POINT_LITERAL - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
DECIMAL_NUMERAL - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
declaration(JClassSymbol) - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
Like TypeSystem.typeOf(JTypeDeclSymbol, boolean), defaulting the erased parameter to false.
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()
DECR - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
DEFAULT - net.sourceforge.pmd.lang.java.ast.JModifier
 
DEFAULT - Static variable in class net.sourceforge.pmd.lang.java.types.TypingContext
Empty context.
defaultMirrorMaker() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.ast.JavaExprMirrors
 
defaultReportLevel() - Method in class net.sourceforge.pmd.lang.java.rule.design.ExcessiveClassLengthRule
 
defaultReportLevel() - Method in class net.sourceforge.pmd.lang.java.rule.design.ExcessiveImportsRule
 
defaultReportLevel() - Method in class net.sourceforge.pmd.lang.java.rule.design.ExcessiveMethodLengthRule
 
defaultReportLevel() - Method in class net.sourceforge.pmd.lang.java.rule.design.ExcessiveParameterListRule
 
defaultReportLevel() - Method in class net.sourceforge.pmd.lang.java.rule.design.ExcessivePublicCountRule
 
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.UnusedPrivateMethodRule
 
defaultSuppressionAnnotations() - Method in class net.sourceforge.pmd.lang.java.rule.codestyle.AtLeastOneConstructorRule
 
defaultSuppressionAnnotations() - Method in class net.sourceforge.pmd.lang.java.rule.codestyle.UnnecessaryConstructorRule
 
defaultSuppressionAnnotations() - Method in class net.sourceforge.pmd.lang.java.rule.errorprone.BeanMembersShouldSerializeRule
 
delegateTo(Classpath) - Method in interface net.sourceforge.pmd.lang.java.symbols.internal.asm.Classpath
 
dependsOn(AstProcessingStage<?>) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractJavaRule
 
DEPRECATED - Static variable in class net.sourceforge.pmd.lang.java.javadoc.JavadocTag
 
describe(int) - Static method in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
Returns a string describing the given token kind.
description - Variable in class net.sourceforge.pmd.lang.java.javadoc.JavadocTag
 
DIGIT_SEQ - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
disambigWithCtx(NodeStream<? extends JavaNode>, ReferenceCtx) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
DISSALLOWED_TERMS_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.java.rule.documentation.CommentContentRule
 
DIV - net.sourceforge.pmd.lang.java.ast.BinaryOp
Division "/" operator.
DIV_ASSIGN - net.sourceforge.pmd.lang.java.ast.AssignmentOp
 
DO - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
doColor(Object, Pattern, String) - Static method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
DOT - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
DOUBLE - net.sourceforge.pmd.lang.java.types.JPrimitiveType.PrimitiveTypeKind
 
DOUBLE - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
DOUBLE - Variable in class net.sourceforge.pmd.lang.java.types.TypeSystem
Primitive type double.
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
 
dysfunctionReason() - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
 
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
 

E

elementType - Variable in class net.sourceforge.pmd.lang.java.ast.ASTList
 
ELLIPSIS - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
ELSE - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
EMPTY - Static variable in class net.sourceforge.pmd.lang.java.types.LexicalScope
The empty scope contains no vars.
EMPTY - Static variable in class net.sourceforge.pmd.lang.java.types.Substitution
The empty substitution maps every type variable to itself.
emptyResolver() - Static method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.CoreResolvers
 
ENCLOSING_TYPE - net.sourceforge.pmd.lang.java.symbols.table.ScopeInfo
An enclosing class.
ENCLOSING_TYPE_MEMBER - net.sourceforge.pmd.lang.java.symbols.table.ScopeInfo
Member of an enclosing class, that is not inherited.
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.security.TypeResTestRule
Deprecated.
 
endArg() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
endArg() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.VerboseLogger
 
endArgsChecks() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
endArgsChecks() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.VerboseLogger
 
endInference(JMethodSig) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
endInference(JMethodSig) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.VerboseLogger
 
endReturnChecks() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
endReturnChecks() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.VerboseLogger
 
endSection(String) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
EOF - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
EQ - net.sourceforge.pmd.lang.java.ast.BinaryOp
Equals "==" operator.
EQ - net.sourceforge.pmd.lang.java.types.internal.infer.InferenceVar.BoundKind
 
EQ - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
equals(Object) - Method in class net.sourceforge.pmd.lang.java.symbols.internal.ast.AstLocalVarSym
 
equals(Object) - Method in interface net.sourceforge.pmd.lang.java.symbols.JElementSymbol
Two symbols representing the same program element should be equal.
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.types.JArrayType
 
equals(Object) - Method in class net.sourceforge.pmd.lang.java.types.JIntersectionType
 
equals(Object) - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if the object is a type equivalent to this one.
equals(Object) - Method in class net.sourceforge.pmd.lang.java.types.JVariableSig
 
erase(Collection<? extends JTypeMirror>) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Returns a list with the erasures of the given types, may be unmodifiable.
erasing(List<? extends JTypeVar>) - Static method in class net.sourceforge.pmd.lang.java.types.Substitution
Returns a substitution that replaces the given type variables with their erasure.
ERROR - Variable in class net.sourceforge.pmd.lang.java.types.TypeSystem
A constant to represent a typing error.
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
 
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
 
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
 
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
 
exclude(Set<String>) - Method in interface net.sourceforge.pmd.lang.java.symbols.internal.asm.Classpath
Return a classpath that will ignore the given classpath entries, even if they are present in this classpath.
execute() - Method in class net.sourceforge.pmd.lang.java.symboltable.Search
Deprecated.
 
execute(Scope) - Method in class net.sourceforge.pmd.lang.java.symboltable.Search
Deprecated.
 
ExplicitImportResolver(PMDASMClassLoader, Set<String>) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.ExplicitImportResolver
Deprecated.
EXPONENT - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
EXPONENT_TAIL - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
EXPORTS - net.sourceforge.pmd.lang.java.ast.ASTModuleDirective.DirectiveType
 
ExprContext - Class in net.sourceforge.pmd.lang.java.types.ast
Context of an expression.
ExprContext.ExprContextKind - Enum in net.sourceforge.pmd.lang.java.types.ast
Kind of context.
ExprMirror - Interface in net.sourceforge.pmd.lang.java.types.internal.infer
Adapter class to manipulate expressions.
ExprMirror.BranchingMirror - Interface in net.sourceforge.pmd.lang.java.types.internal.infer
Mirrors a conditional or switch expression.
ExprMirror.CtorInvocationMirror - Interface in net.sourceforge.pmd.lang.java.types.internal.infer
An invocation mirror reflecting a constructor invocation expression.
ExprMirror.FunctionalExprMirror - Interface in net.sourceforge.pmd.lang.java.types.internal.infer
Mirror of some expression that targets a functional interface type: lambda or method reference.
ExprMirror.InvocationMirror - Interface in net.sourceforge.pmd.lang.java.types.internal.infer
Adapter over a method or constructor invocation expression.
ExprMirror.InvocationMirror.MethodCtDecl - Class in net.sourceforge.pmd.lang.java.types.internal.infer
Information about the overload-resolution for a specific method.
ExprMirror.LambdaExprMirror - Interface in net.sourceforge.pmd.lang.java.types.internal.infer
Mirrors a lambda expression.
ExprMirror.MethodRefMirror - Interface in net.sourceforge.pmd.lang.java.types.internal.infer
Mirror of a method reference expression.
ExprMirror.PolyExprMirror - Interface in net.sourceforge.pmd.lang.java.types.internal.infer
 
ExprMirror.TypeSpecies - Enum in net.sourceforge.pmd.lang.java.types.internal.infer
A general category of types.
EXTENDS - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 

F

fallbackInvocation(JMethodSig, MethodCallSite) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
fallbackInvocation(JMethodSig, MethodCallSite) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
FALSE - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
FAN_OUT - Static variable in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
This counts the number of other classes a given class or operation relies on.
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
 
FILENAME - Static variable in class net.sourceforge.pmd.lang.java.rule.security.TypeResTestRule
Deprecated.
 
filterAccessible(List<JMethodSig>, JClassSymbol) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
FINAL - net.sourceforge.pmd.lang.java.ast.JModifier
 
FINAL - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
FinalizableNode - Interface in net.sourceforge.pmd.lang.java.ast
A node that may have the final modifier.
FINALLY - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
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
 
findFunctionalInterfaceMethod(JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Finds the method of the given type that can be overridden as a lambda expression.
findResource(String) - Method in interface net.sourceforge.pmd.lang.java.symbols.internal.asm.Classpath
Returns a URL to load the given resource if it exists in this classpath.
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
 
finishStandaloneInference(JTypeMirror) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror
For a standalone expr, finish type inference by computing properties that are guarded by the type res lock.
FLOAT - net.sourceforge.pmd.lang.java.types.JPrimitiveType.PrimitiveTypeKind
 
FLOAT - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
FLOAT - Variable in class net.sourceforge.pmd.lang.java.types.TypeSystem
Primitive type float.
FLOATING_POINT_LITERAL - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
FOR - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
forClassLoader(ClassLoader) - Static method in interface net.sourceforge.pmd.lang.java.symbols.internal.asm.Classpath
Returns a classpath instance that uses ClassLoader.getResource(String) to find resources.
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 class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
FORMAL_PARAM - net.sourceforge.pmd.lang.java.symbols.table.ScopeInfo
Method or constructor formal parameter (lambdas are treated as locals).
FormalComment - Class in net.sourceforge.pmd.lang.java.ast
 
FormalComment(JavaccToken) - Constructor for class net.sourceforge.pmd.lang.java.ast.FormalComment
 
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
 
format(JTypeMirror, JTypeMirror) - Method in enum net.sourceforge.pmd.lang.java.types.internal.infer.InferenceVar.BoundKind
 
forObservation(Infer) - Static method in class net.sourceforge.pmd.lang.java.types.internal.infer.ast.JavaExprMirrors
The mirrors produced by this factory will not be able to mutate the AST.
forTypeResolution(Infer) - Static method in class net.sourceforge.pmd.lang.java.types.internal.infer.ast.JavaExprMirrors
This will mutate the AST, only one must be used per compilation unit.
fromName(String) - Static method in enum net.sourceforge.pmd.lang.java.types.JPrimitiveType.PrimitiveTypeKind
Gets an enum constant from the token used to represent it in source, e.g.
fromReflect(Type, TypeSystem) - Static method in class net.sourceforge.pmd.lang.java.types.TypesFromReflection
 
fromReflect(TypeSystem, Type, LexicalScope, Substitution) - Static method in class net.sourceforge.pmd.lang.java.types.TypesFromReflection
Builds a type from reflection.
fromReflect(Typed<?>, TypeSystem) - Static method in class net.sourceforge.pmd.lang.java.types.TypesFromReflection
Builds a type from reflection.
fromToken(String) - Static method in enum net.sourceforge.pmd.lang.java.ast.JModifier
Gets a modifier from its name.
FullyQualifiedNameResolver(PMDASMClassLoader) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.FullyQualifiedNameResolver
Deprecated.
FunctionalExpression - Interface in net.sourceforge.pmd.lang.java.ast
A method reference or lambda expression.
functionalExprNeedsInvocationCtx(JTypeMirror, ExprMirror) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
functionalExprNeedsInvocationCtx(JTypeMirror, ExprMirror) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.VerboseLogger
 

G

GE - net.sourceforge.pmd.lang.java.ast.BinaryOp
Greater-or-equal ">=" operator.
GE - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
get(int) - Method in class net.sourceforge.pmd.lang.java.ast.ASTList
 
getAccessedRecordComponent() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
If this method declaration is an explicit record component accessor, returns the corresponding record component.
getAccessibleCandidates() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.CtorInvocationMirror
Enumerates *accessible* method (or ctor) signatures with *the same name* as this invocation.
getAccessibleCandidates() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.InvocationMirror
Enumerates *accessible* method (or ctor) signatures with *the same name* as this invocation.
getAccessibleCandidates(JTypeMirror) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.CtorInvocationMirror
Returns the accessible candidates for this node, as if ExprMirror.CtorInvocationMirror.getNewType() returned the type passed as parameter.
getAccessNodeParent() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassNameDeclaration
 
getAccessNodeParent() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
 
getAccessType() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAssignableExpr
Returns how this expression is accessed in the enclosing expression.
getAllExceptionTypes() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCatchParameter
Returns a stream of all declared exception types (expanding a union type if present).
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
Deprecated.
getAnonymousClass() - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumConstant
Returns the anonymous class declaration, or null if there is none.
getAnonymousClassDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorCall
 
getArgumentCount() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArguments
Deprecated.
for removal. Use ASTArguments.size() or ASTList.size() instead.
getArgumentCount() - Method in class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
Returns the number of arguments of the called constructor.
getArgumentCount() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimarySuffix
Deprecated.
Get the number of arguments for this primary suffix.
getArgumentCount() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
 
getArgumentCount() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.InvocationMirror
 
getArgumentExpressions() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.InvocationMirror
Returns the expressions corresponding to the arguments of the call.
getArguments() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorCall
 
getArguments() - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumConstant
 
getArguments() - Method in class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
 
getArguments() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodCall
 
getArguments() - Method in interface net.sourceforge.pmd.lang.java.ast.InvocationNode
Returns the node representing the list of arguments passed to the invocation.
getArity() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration
Returns the number of formal parameters expected by this declaration.
getArity() - Method in interface net.sourceforge.pmd.lang.java.symbols.JExecutableSymbol
Returns the number of formal parameters expected.
getArity() - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
Number of formal parameters.
getArrayComponent() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
Returns the component symbol, returns null if this is not an array.
getArrayComponent(JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayAllocation
Returns the number of dimensions of the created array.
getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayDimsAndInits
Deprecated.
getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayType
 
getArrayDepth() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTType
Deprecated.
getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
Deprecated.
getArrayInitializer() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayAllocation
Returns the initializer, if present.
getAsSuper(JClassSymbol) - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
 
getAsSuper(JClassSymbol) - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns the most specific declared supertype of this type whose erasure is the same as that of the parameter.
getASTCompilationUnitPackage() - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet
Deprecated.
 
getAstInfo() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
 
getBase() - Method in class net.sourceforge.pmd.lang.java.ast.ASTNumericLiteral
Returns the base of the literal, eg 8 for an octal literal, 10 for a decimal literal, etc.
getBeginColumn() - Method in class net.sourceforge.pmd.lang.java.ast.JavadocElement
 
getBeginLine() - Method in class net.sourceforge.pmd.lang.java.ast.JavadocElement
 
getBinaryName() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns the binary name of this type declaration.
getBinaryName() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
Returns the binary name of this type, as specified by the JLS: the JLS.
getBinaryOp() - Method in enum net.sourceforge.pmd.lang.java.ast.AssignmentOp
Returns the binary operator this corresponds to if this is a compound operator, otherwise returns null.
getBlock() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaExpression
Returns the body of this expression, if it is a block.
getBlockBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaExpression
Returns the body of this lambda if it is a block.
getBody() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns the body of this type declaration.
getBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCatchClause
Returns the body of this catch branch.
getBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompactConstructorDeclaration
 
getBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorDeclaration
 
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.ASTEnumDeclaration
 
getBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFinallyClause
Returns the body of this finally clause.
getBody() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTLoopStatement
Returns the statement that represents the body of this loop.
getBody() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration
Returns the body of this method or constructor.
getBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSynchronizedStatement
Returns the body of the statement.
getBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTryStatement
Returns the body of this try statement.
getBound() - Method in interface net.sourceforge.pmd.lang.java.types.JWildcardType
Returns the bound.
getBranches() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTSwitchLike
Returns a stream of all branches of this switch.
getCachedExactMethod() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.MethodRefMirror
UNRESOLVED_METHOD if not yet computed, null if computed but inexact, otherwise the real method.
getCallSite() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.ResolutionFailure
Returns the call site for the failure.
getCanonicalName() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns the canonical name of this class, if it exists.
getCanonicalName() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
Returns the simple name of this class, as specified by Class.getCanonicalName().
getCapturedOrigin() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeVar
Returns the original wildcard, if this is a capture variable.
getCastType() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCastExpression
 
getCatchClauses() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTryStatement
Returns the catch statement nodes of this try statement.
getChild(int) - Method in class net.sourceforge.pmd.lang.java.ast.ASTIntersectionType
 
getChild(int) - Method in class net.sourceforge.pmd.lang.java.ast.ASTUnionType
 
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 ClassNameDeclarations.
getClassName() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassScope
 
getClassSymbol(Class<?>) - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
Returns the class symbol for the given reflected class.
getClassSymbol(String) - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
Returns a symbol for the binary name.
getClassSymbolFromCanonicalName(String) - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
Returns a symbol for the canonical name.
getClassTypeResolver() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
Deprecated.
getComments() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
 
getCompileTimeDecl(MethodCallSite) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.Infer
 
getComplement() - Method in enum net.sourceforge.pmd.lang.java.ast.BinaryOp
Complement, for boolean operators.
getComponents() - Method in class net.sourceforge.pmd.lang.java.ast.ASTIntersectionType
Returns a stream of component types.
getComponents() - Method in class net.sourceforge.pmd.lang.java.ast.ASTUnionType
Returns a stream of component types.
getComponents() - Method in class net.sourceforge.pmd.lang.java.types.JIntersectionType
Returns the list of components.
getComponentType() - Method in class net.sourceforge.pmd.lang.java.types.JArrayType
Gets the component type of this array.
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
 
getCondition() - Method in class net.sourceforge.pmd.lang.java.ast.ASTIfStatement
Returns the node that represents the guard of this conditional.
getCondition() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTLoopStatement
Returns the node that represents the condition of this loop.
getCondition() - Method in class net.sourceforge.pmd.lang.java.ast.ASTWhileStatement
Returns the node that represents the guard of this loop.
getConstant() - Method in class net.sourceforge.pmd.lang.java.ast.ASTDefaultValue
Returns the constant value nested in this node.
getConstructors() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
Returns the constructors declared by this class.
getConstructors() - Method in class net.sourceforge.pmd.lang.java.types.JArrayType
 
getConstructors() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns a list of all the declared constructors for this type.
getConstValue() - Method in class net.sourceforge.pmd.lang.java.ast.ASTBooleanLiteral
 
getConstValue() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCharLiteral
Gets the char value of this literal.
getConstValue() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTExpression
 
getConstValue() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTMemberValue
Returns the constant value of this node, if this is a constant expression.
getConstValue() - Method in class net.sourceforge.pmd.lang.java.ast.ASTNullLiteral
 
getConstValue() - Method in class net.sourceforge.pmd.lang.java.ast.ASTNumericLiteral
 
getConstValue() - Method in class net.sourceforge.pmd.lang.java.ast.ASTStringLiteral
Returns the value without delimiters and unescaped.
getConstValue() - Method in interface net.sourceforge.pmd.lang.java.symbols.JFieldSymbol
Returns the compile-time value of this field if this is a compile-time constant.
getConversionContext() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTExpression
Returns the type expected by the context.
getConversionContextForExternalUse(ASTExpression) - Method in class net.sourceforge.pmd.lang.java.types.ast.LazyTypeResolver
 
getCtDecl() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.InvocationMirror
Returns the method type set with ExprMirror.InvocationMirror.setCtDecl(MethodCtDecl) or null if that method was never called.
getDecl() - Method in class net.sourceforge.pmd.lang.java.symboltable.DeclarationFinderFunction
Deprecated.
 
getDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalClassStatement
Returns the contained declaration.
getDeclarationNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompactConstructorDeclaration
 
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.ASTRecordDeclaration
 
getDeclarations(Class<? extends T>) - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns the declarations of a particular type.
getDeclarator() - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodNameDeclaration
 
getDeclaratorId() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
 
getDeclaredAnnotations() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
 
getDeclaredAnnotations() - Method in interface net.sourceforge.pmd.lang.java.ast.Annotatable
Returns all annotations present on this node.
getDeclaredAnnotations() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayType
 
getDeclaredClass(String) - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
Returns a class with the given name defined in this class.
getDeclaredClass(String) - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
Return the nested class with the given name, or null if there is none.
getDeclaredClasses() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
Returns the member classes declared directly in this class.
getDeclaredClasses() - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
Return the list of declared nested classes.
getDeclaredField(String) - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
Returns a field with the given name defined in this class.
getDeclaredField(String) - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
Return the field with the given name, or null if there is none.
getDeclaredFields() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
Returns the fields declared directly in this class.
getDeclaredFields() - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
Return the list of declared fields.
getDeclaredMethod(JExecutableSymbol) - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
Returns the typed signature for the symbol, if it is declared directly in this type, and not a supertype.
getDeclaredMethods() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
Returns the methods declared directly in this class.
getDeclaringSymbol() - Method in interface net.sourceforge.pmd.lang.java.symbols.JFormalParamSymbol
Returns the symbol declaring this parameter.
getDeclaringSymbol() - Method in interface net.sourceforge.pmd.lang.java.symbols.JTypeParameterSymbol
Returns the JClassSymbol or JMethodSymbol which declared this type parameter.
getDeclaringType() - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
Return the type that declares this method.
getDeclaringType() - Method in class net.sourceforge.pmd.lang.java.types.JVariableSig
This is the substituted type.
getDefaultClause() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
Returns the default clause, if this is an annotation method declaration that features one.
getDetailMessageNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAssertStatement
Returns the expression that corresponds to the detail message, i.e.
getDimensions() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayType
 
getEffectiveModifiers() - Method in class net.sourceforge.pmd.lang.java.ast.ASTModifierList
Returns the declared modifiers, plus the modifiers that are implicitly bestowed by the context or the type of this declaration.
getEffectiveVisibility() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Returns the "effective" visibility of a member.
getElementType() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayType
 
getElementType() - Method in class net.sourceforge.pmd.lang.java.types.JArrayType
Gets the element type of this array.
getElseBranch() - 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.
getElseBranch() - Method in class net.sourceforge.pmd.lang.java.ast.ASTIfStatement
Returns the statement of the else clause, if any.
getEnclosingClass() - Method in interface net.sourceforge.pmd.lang.java.symbols.JAccessibleElementSymbol
Returns the class that directly encloses this declaration.
getEnclosingClass() - Method in interface net.sourceforge.pmd.lang.java.symbols.JExecutableSymbol
Returns the class symbol declaring this method or constructor.
getEnclosingClass() - Method in interface net.sourceforge.pmd.lang.java.symbols.JFieldSymbol
 
getEnclosingClass() - Method in interface net.sourceforge.pmd.lang.java.symbols.JTypeParameterSymbol
 
getEnclosingMethod() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
Returns the method or constructor this symbol is declared in, if it represents a local class declaration.
getEnclosingType() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompactConstructorDeclaration
 
getEnclosingType() - Method in interface net.sourceforge.pmd.lang.java.ast.JavaNode
Returns the node representing the type declaration this node is found in.
getEnclosingType() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.PolyExprMirror
Returns the class declaration wherein this invocation occurs.
getEnclosingType() - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
Returns the type immediately enclosing this type.
getEnclosingTypeParameterOwner() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
 
getEnclosingTypeParameterOwner() - Method in interface net.sourceforge.pmd.lang.java.symbols.JTypeParameterOwnerSymbol
Returns the enclosing method or the enclosing class, in that order of priority.
getEndColumn() - Method in class net.sourceforge.pmd.lang.java.ast.JavadocElement
 
getEndLine() - Method in class net.sourceforge.pmd.lang.java.ast.JavadocElement
 
getEnumConstantNames() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
Returns a set with all enum constant names.
getEnumConstants() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns the enum constants declared by this enum.
getErasedReceiverType() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.InvocationMirror
Returns the erased receiver type.
getErasure() - Method in class net.sourceforge.pmd.lang.java.types.JArrayType
 
getErasure() - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
 
getErasure() - Method in class net.sourceforge.pmd.lang.java.types.JIntersectionType
 
getErasure() - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
The erasure of a method is a new, non-generic method, whose parameters, owner, and return type, are erased.
getErasure() - Method in class net.sourceforge.pmd.lang.java.types.JPrimitiveType
 
getErasure() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns the erasure of this type.
getErasure() - Method in interface net.sourceforge.pmd.lang.java.types.JWildcardType
This is implemented for convenience.
getExplicitImports() - Method in class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
 
getExplicitImports() - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet
Deprecated.
 
getExplicitModifiers() - Method in class net.sourceforge.pmd.lang.java.ast.ASTModifierList
Returns the set of modifiers written out in the source explicitly.
getExplicitParameterTypes() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.LambdaExprMirror
Returns the types of the explicit parameters.
getExplicitTargLoc(int) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.InvocationMirror
 
getExplicitTypeArguments() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorCall
 
getExplicitTypeArguments() - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumConstant
 
getExplicitTypeArguments() - Method in class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
 
getExplicitTypeArguments() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodCall
 
getExplicitTypeArguments() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodReference
Returns the explicit type arguments mentioned after the "::" if they exist.
getExplicitTypeArguments() - Method in interface net.sourceforge.pmd.lang.java.ast.InvocationNode
Returns the explicit type arguments if they exist.
getExplicitTypeArguments() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.InvocationMirror
Returns the explicit type arguments, eg in Arrays.<String>asList("q"), or new <String> Foo("q").
getExplicitTypeArguments() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.MethodRefMirror
Returns the explicit type arguments (the ones to the right of the "::").
getExpr() - Method in class net.sourceforge.pmd.lang.java.ast.ASTExpressionStatement
Returns the contained expression.
getExpr() - Method in class net.sourceforge.pmd.lang.java.ast.ASTReturnStatement
Returns the returned expression, or null if this is a simple return.
getExpr() - Method in class net.sourceforge.pmd.lang.java.ast.ASTThrowStatement
Returns the expression for the thrown exception.
getExpr() - Method in class net.sourceforge.pmd.lang.java.ast.ASTYieldStatement
Returns the yielded expression.
getExpr() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.PolySite
 
getExpression() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaExpression
Returns the body of this expression, if it is an expression.
getExpressionBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaExpression
Returns the body of this lambda if it is an expression.
getExprList() - Method in class net.sourceforge.pmd.lang.java.ast.ASTForUpdate
Returns the expression list nested within this node.
getExprList() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchLabel
Returns the expressions of this label, or an empty list if this is the default label.
getExtraDimensions() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
Returns the extra array dimensions that may be after the formal parameters.
getExtraDimensions() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
Returns the extra array dimensions associated with this variable.
getFailedMethod() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.ResolutionFailure
Returns the method type that was being checked against the call site.
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 (*/).
getFinallyClause() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTryStatement
Returns the finally clause of this try statement, if any.
getFormalParameters() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclarator
Deprecated.
 
getFormalParameters() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration
Returns the formal parameters node of this method or constructor.
getFormalParameters() - Method in interface net.sourceforge.pmd.lang.java.symbols.JExecutableSymbol
Returns the formal parameters this executable declares.
getFormalParameters() - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
Return the types of the formal parameters.
getFormalParameterTypes(Substitution) - Method in interface net.sourceforge.pmd.lang.java.symbols.JExecutableSymbol
 
getFormalTypeParams() - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
Returns the list of type variables declared by the generic type declaration.
getFunctionalMethod() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaExpression
Returns the method that is overridden in the functional interface.
getFunctionalMethod() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodReference
Returns the method that is overridden in the functional interface.
getFunctionalMethod() - Method in interface net.sourceforge.pmd.lang.java.ast.FunctionalExpression
Returns the method that is overridden in the functional interface.
getGenericSignature() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration
Returns the generic signature for the method.
getGenericTypeDeclaration() - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
If this type is generic, returns the type that represents its generic type declaration.
getGuard() - Method in class net.sourceforge.pmd.lang.java.ast.ASTGuardedPattern
 
getImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAdditiveExpression
getImage() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
getImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceType
Deprecated.
getImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumConstant
 
getImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
 
getImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTInfixExpression
 
getImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclarator
getImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodReference
Deprecated.
getImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPackageDeclaration
 
getImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimitiveType
Deprecated.
getImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTStringLiteral
 
getImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
getImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTYieldStatement
 
getImage() - Method in class net.sourceforge.pmd.lang.java.ast.Comment
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.
FIXME what does this do?
getImportedName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
Returns the full name of the import.
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.
 
getIndexExpression() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayAccess
Returns the expression within the brackets.
getInducedClassType() - Method in class net.sourceforge.pmd.lang.java.types.JIntersectionType
Every intersection type induces a notional class or interface for the purpose of identifying its members.
getInfer() - Method in class net.sourceforge.pmd.lang.java.types.ast.LazyTypeResolver
 
getInferenceEntryPoint(JavaNode) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
getInferredType() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror
Return the value set in the last call to ExprMirror.setInferredType(JTypeMirror).
getInit() - Method in class net.sourceforge.pmd.lang.java.ast.ASTForStatement
Returns the statement nested within the init clause, if it exists.
getInitializer() - Method in class net.sourceforge.pmd.lang.java.ast.ASTResource
Returns the initializer of the expression.
getInitializer() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclarator
Returns the initializer, of the variable, or null if it doesn't exist.
getInitializer() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
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(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.
getInterfaces() - Method in class net.sourceforge.pmd.lang.java.types.JIntersectionType
Returns all additional bounds on the primary bound, which are necessarily interface types.
getInvocationMirror(InvocationNode, JavaExprMirrors.MirrorMaker) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.ast.JavaExprMirrors
 
getInvocNodeIfInvocContext() - Method in class net.sourceforge.pmd.lang.java.types.ast.ExprContext
 
getIterableExpr() - Method in class net.sourceforge.pmd.lang.java.ast.ASTForeachStatement
Returns the expression that evaluates to the Iterable being looped upon.
getJavadocComment() - Method in interface net.sourceforge.pmd.lang.java.ast.JavadocCommentOwner
Returns the javadoc comment that applies to this declaration.
getKind() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimitiveType
 
getKind() - Method in class net.sourceforge.pmd.lang.java.types.ast.ExprContext
Returns the kind of context this is.
getKind() - Method in class net.sourceforge.pmd.lang.java.types.JPrimitiveType
 
getLabel() - Method in class net.sourceforge.pmd.lang.java.ast.ASTBreakStatement
Returns the label, or null if there is none.
getLabel() - Method in class net.sourceforge.pmd.lang.java.ast.ASTContinueStatement
Returns the label, or null if there is none.
getLabel() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLabeledStatement
Returns the name of the label.
getLabel() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTSwitchBranch
Returns the label, which may be compound.
getLazyTypeResolver(JavaNode) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
getLeftOperand() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAssignmentExpression
Returns the left-hand side, ie the expression being assigned to.
getLengthExpression() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayDimExpr
 
getLevel() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
getLexicalScope() - Method in interface net.sourceforge.pmd.lang.java.symbols.JTypeParameterOwnerSymbol
Returns the lexical scope of this symbol.
getLhs() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodReference
Returns the LHS, whether it is a type or an expression.
getLhsIfType() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.MethodRefMirror
Returns the type of the left hand-side, if it is not an expression.
getLocalUsages() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
Returns an unmodifiable list of the usages of this variable that are made in this file.
getLocation() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
 
getLocation() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror
Returns a node which is used as a location to report messages.
getLocation() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.ResolutionFailure
Returns the location on which the failure should be reported.
getLockExpression() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSynchronizedStatement
Returns the expression evaluating to the lock object.
getLogger() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.Infer
 
getLowerBound() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeVar
Gets the lower bound.
getMemberFieldResolver(JTypeMirror, String, JClassSymbol, String) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
getMemberList() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotation
Returns the list of members, or null if there is none.
getMembers() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotation
Returns the stream of explicit members for this annotation.
getMethodDeclarations() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassScope
 
getMethodName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodCall
 
getMethodName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
getMethodName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodReference
Returns the method name, or an JConstructorSymbol.CTOR_NAME if this is a constructor reference.
getMethodName() - Method in interface net.sourceforge.pmd.lang.java.ast.MethodUsage
Returns the name of the called method.
getMethodName() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.MethodRefMirror
Returns the name of the invoked method, or JConstructorSymbol.CTOR_NAME if this is a constructor reference.
getMethodsOf(JTypeMirror, String, boolean, JClassSymbol) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
getMethodType() - Method in interface net.sourceforge.pmd.lang.java.ast.InvocationNode
Gets the type of the method or constructor that is called by this node.
getMethodType() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.InvocationMirror.MethodCtDecl
 
getMethodType() - Method in interface net.sourceforge.pmd.lang.java.types.OverloadSelectionResult
Returns the type of the method or constructor that is called by the InvocationNode.
getMissingInstance() - Static method in class net.sourceforge.pmd.lang.java.types.ast.ExprContext
Returns an ExprContext instance which represents a missing context.
getModifiers() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Returns the node representing the modifier list of this node.
getModifiers() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
 
getModifiers() - Method in interface net.sourceforge.pmd.lang.java.symbols.JAccessibleElementSymbol
Returns the modifiers of the element represented by this symbol, as decodable by the standard Modifier API.
getModifiers() - Method in interface net.sourceforge.pmd.lang.java.symbols.JTypeParameterSymbol
 
getModifiers() - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
Return method modifiers as decodable by Modifier.
getMutableMap() - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder.ResolverBuilder
 
getName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAmbiguousName
Returns the entire name, including periods if any.
getName() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAssignableExpr.ASTNamedReferenceExpr
Returns the name of the referenced variable.
getName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCatchParameter
Returns the name of this parameter.
getName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorDeclaration
 
getName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumConstant
Returns the name of the enum constant.
getName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldAccess
 
getName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValuePair
Returns the name of the member set by this pair.
getName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
Returns the simple name of the method.
getName() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration
Returns the name of the method, or the simple name of the declaring class for a constructor declaration.
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.ASTVariableAccess
 
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
 
getName() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.CtorInvocationMirror
getName() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.InvocationMirror
Returns the name of the invoked method.
getName() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.InferenceVar
 
getName() - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
Return the name of the method.
getName() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeVar
Returns the name of this variable, which may something autogenerated if this is a captured variable.
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.
 
getNestRoot() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
Returns the toplevel class containing this class.
getNewType() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.CtorInvocationMirror
Return the type name being instantiated.
getNextBranch() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTSwitchBranch
Returns the next branch, if it exists.
getOperand() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCastExpression
 
getOperand() - Method in class net.sourceforge.pmd.lang.java.ast.ASTUnaryExpression
Returns the expression nested within this expression.
getOperations() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns the operations declared in this class (methods and constructors).
getOperator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAdditiveExpression
Deprecated.
Returns the image of the operator, i.e.
getOperator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAssignmentExpression
 
getOperator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTInfixExpression
Returns the operator.
getOperator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTInstanceOfExpression
Deprecated.
 
getOperator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMultiplicativeExpression
Deprecated.
Returns the image of the operator, i.e.
getOperator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTUnaryExpression
Returns the constant representing the operator of this expression.
getOperator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTUnaryExpressionNotPlusMinus
Deprecated.
Returns the image of this unary operator, i.e.
getOverloadSelectionInfo() - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumConstant
 
getOverloadSelectionInfo() - Method in class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
 
getOverloadSelectionInfo() - Method in interface net.sourceforge.pmd.lang.java.ast.InvocationNode
Returns information about the overload selection for this call.
getOwner() - Method in class net.sourceforge.pmd.lang.java.ast.ASTModifierList
Returns the node owning this modifier list.
getOwner() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeParameter
Returns the node to which this type parameter belongs.
getOwnerList() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
Returns the list of formal parameters containing this param.
getPackageDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
 
getPackageName() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns the name of the package in which this class is declared.
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 interface net.sourceforge.pmd.lang.java.symbols.JAccessibleElementSymbol
Returns the name of the package this element is declared in.
getPackageName() - Method in interface net.sourceforge.pmd.lang.java.symbols.JExecutableSymbol
 
getPackageName() - Method in interface net.sourceforge.pmd.lang.java.symbols.JFieldSymbol
 
getPackageName() - Method in interface net.sourceforge.pmd.lang.java.symbols.JTypeParameterSymbol
 
getPackageName() - Method in class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
 
getPackages() - Method in class net.sourceforge.pmd.lang.java.typeresolution.visitors.PMDASMVisitor
Deprecated.
 
getParamCount() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.LambdaExprMirror
Return the number of parameters of the lambda, regardless of whether it's explicitly typed or not.
getParameter() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCatchClause
Returns the catch parameter.
getParameterCount() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclarator
getParameterCount() - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodNameDeclaration
 
getParameterDisplaySignature() - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodNameDeclaration
 
getParameters() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaExpression
 
getParent() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotationMemberList
 
getParent() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValuePair
 
getParent() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclarator
Deprecated.
 
getParent() - Method in class net.sourceforge.pmd.lang.java.ast.ASTWildcardType
 
getParent() - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainNode
Returns the next node in the chain.
getParenthesisDepth() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTExpression
Returns the number of parenthesis levels around this expression.
getParenthesisDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTGuardedPattern
 
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.ASTPatternExpression
Returns 0, patterns can never be parenthesized.
getParenthesisDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeExpression
Returns 0, type expressions can never be parenthesized.
getParenthesisDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypePattern
 
getPattern() - Method in class net.sourceforge.pmd.lang.java.ast.ASTGuardedPattern
 
getPattern() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPatternExpression
Gets the wrapped type node.
getPermittedSubclasses() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
 
getPhase() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.ResolutionFailure
Returns the phase in which the failure occurred.
getPolyBranchingMirror(ASTExpression) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.ast.JavaExprMirrors
 
getPolyTargetType(boolean) - Method in class net.sourceforge.pmd.lang.java.types.ast.ExprContext
Returns the target type bestowed by this context ON A POLY EXPRESSION.
getPreferredReportLocation() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorDeclaration
 
getPreferredReportLocation() - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumConstant
 
getPreferredReportLocation() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
 
getPreferredReportLocation() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
 
getPreferredReportLocation() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
 
getPreviousBranch() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTSwitchBranch
Returns the previous branch, if it exists.
getPrimaryBound() - Method in class net.sourceforge.pmd.lang.java.types.JIntersectionType
The primary bound of this intersection, which may be a type variable, array type, or class type (not an interface).
getPrimitive(JPrimitiveType.PrimitiveTypeKind) - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
Gets the primitive type identified by the given kind.
getProcessor() - Method in class net.sourceforge.pmd.lang.java.types.ast.LazyTypeResolver
 
getProcessor(JavaNode) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
getQualifiedTypeNames() - Method in class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
Returns a set of all types defined within this source file.
getQualifier() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayAccess
Returns the expression to the left of the "[".
getQualifier() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceType
Gets the owner type of this type if it's not ambiguous.
getQualifier() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorCall
Returns the outer instance expression, if this is a qualified constructor call.
getQualifier() - Method in class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
Returns the qualifying expression if this is a qualified superclass constructor invocation.
getQualifier() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldAccess
 
getQualifier() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodReference
Returns the node to the left of the "::".
getQualifier() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSuperExpression
 
getQualifier() - Method in class net.sourceforge.pmd.lang.java.ast.ASTThisExpression
 
getQualifier() - Method in interface net.sourceforge.pmd.lang.java.ast.QualifiableExpression
Returns the expression to the left of the "." if it exists.
getReason() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.ResolutionFailure
Returns the reason for the failure.
getReceiverParameter() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameters
Returns the receiver parameter if it is present, otherwise returns null.
getReceiverType() - Method in class net.sourceforge.pmd.lang.java.ast.ASTReceiverParameter
Returns the type of the receiver parameter (eg Foo in Foo this.
getReceiverType() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.InvocationMirror
Returns the erased receiver type.
getRecordComponents() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns the record components declared by this class.
getRecordComponents() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordDeclaration
 
getReferencedMethod() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodReference
Returns the method that is referenced.
getReferencedSym() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAssignableExpr.ASTNamedReferenceExpr
Returns the symbol referenced by this variable.
getReferencedSym() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldAccess
 
getReflectMod() - Method in enum net.sourceforge.pmd.lang.java.ast.JModifier
Returns the constant of java.lang.reflect.Modifier that this modifier corresponds to.
getReportLocation(JavaNode) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
getRequiresModifier() - Method in class net.sourceforge.pmd.lang.java.ast.ASTModuleDirective
 
getResolutionFailures() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.MethodCallSite
Returns a list of error messages encountered during the inference.
getResolver() - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainNode
Returns the resolver for this node.
getResources() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTryStatement
Returns the node for the resource list.
getRestrictedPackages() - Method in class net.sourceforge.pmd.lang.java.rule.design.LoosePackageCouplingRule
 
getResult() - Method in class net.sourceforge.pmd.lang.java.symboltable.Search
Deprecated.
 
getResultExpressions() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.LambdaExprMirror
Returns all the expressions that appear in return statements within the lambda.
getResults() - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainIterator
Returns the results of the search at the point the iterator is stopped.
getResultType() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
Deprecated.
todo When removed from java-grammar, rename the other to this good name
getResultTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
Returns the result type node of the method.
getReturnType() - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
Return the result type of the method.
getReturnType(Substitution) - Method in interface net.sourceforge.pmd.lang.java.symbols.JMethodSymbol
Returns the return type under the given substitution.
getRightHandSide() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchArrowBranch
Returns the right hand side of the arrow.
getRightOperand() - Method in class net.sourceforge.pmd.lang.java.ast.ASTInfixExpression
Returns the right-hand side operand.
getRightOperand() - Method in class net.sourceforge.pmd.lang.java.ast.ASTInstanceOfExpression
Deprecated.
 
getRoot() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
 
getRoot() - Method in interface net.sourceforge.pmd.lang.java.ast.JavaNode
 
getScope() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
 
getScopeTag() - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainIterator
Returns the scope tag of the shadow group that was last yielded.
getSignature() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAssignableExpr.ASTNamedReferenceExpr
Returns the signature of the referenced variable.
getSignature() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldAccess
 
getSignature() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableAccess
 
getSimpleName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotation
Returns the simple name of the annotation.
getSimpleName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnonymousClassDeclaration
 
getSimpleName() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns the simple name of this type declaration.
getSimpleName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceType
Returns the simple name of this type.
getSimpleName() - Method in interface net.sourceforge.pmd.lang.java.symbols.JConstructorSymbol
For constructors, this returns the special name "new".
getSimpleName() - Method in interface net.sourceforge.pmd.lang.java.symbols.JElementSymbol
Gets the name with which this declaration may be referred to, eg the name of the method, or the simple name of the class.
getSimpleName() - Method in interface net.sourceforge.pmd.lang.java.symbols.JTypeDeclSymbol
Returns the simple name of this class, as specified by Class.getSimpleName().
getSimpleName() - Method in class net.sourceforge.pmd.lang.java.types.JPrimitiveType
Returns the token used to represent the type in source, e.g.
getSimpleName() - Method in enum net.sourceforge.pmd.lang.java.types.JPrimitiveType.PrimitiveTypeKind
 
getSimpleName(S) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder
Returns the name with which the given symbol should be indexed.
getSimpleName(S) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder.ResolverBuilder
 
getSpecies(JTypeMirror) - Static method in enum net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.TypeSpecies
 
getStableName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTResource
Gets the name with which the resource can be accessed in the body of the try statement.
getStandaloneBranchingMirror(ASTExpression) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.ast.JavaExprMirrors
A mirror that implements the rules for standalone conditional expressions correctly.
getStandaloneSpecies() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror
Returns the species that this expression produces.
getStandaloneType() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror
If this expression is of a standalone form, returns the type of the expression.
getStandaloneType() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.PolyExprMirror
 
getStatement() - Method in class net.sourceforge.pmd.lang.java.ast.ASTForInit
Returns the statement nested within this node.
getStatement() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLabeledStatement
Returned the statement named by this label.
getStatements() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchFallthroughBranch
Returns the list of statements dominated by the labels.
getSuperclass() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
Returns the superclass symbol if it exists.
getSuperClass() - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
Returns the generic superclass type.
getSuperclassType(Substitution) - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
Returns the superclass type, under the given substitution.
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.
getSuperInterfaces() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
Returns the direct super-interfaces of this class or interface symbol.
getSuperInterfaces() - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
Return the list of interface types directly implemented by this type.
getSuperInterfaceTypeNodes() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnonymousClassDeclaration
 
getSuperInterfaceTypeNodes() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns the list of interfaces implemented by this class, or extended by this interface.
getSuperInterfaceTypes(Substitution) - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
Returns the list of super interface types, under the given substitution.
getSuperTypeSet() - Method in class net.sourceforge.pmd.lang.java.types.JPrimitiveType
 
getSuperTypeSet() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns the set of (nominal) supertypes of this type.
getSuperTypeSet(JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Returns the set of all supertypes of the given type.
getSymbol() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
 
getSymbol() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompactConstructorDeclaration
 
getSymbol() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration
 
getSymbol() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordComponentList
This returns the symbol for the canonical constructor of the record.
getSymbol() - Method in interface net.sourceforge.pmd.lang.java.ast.SymbolDeclaratorNode
Returns the symbol this node declares.
getSymbol() - Method in interface net.sourceforge.pmd.lang.java.ast.TypeParamOwnerNode
 
getSymbol() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.InferenceVar
 
getSymbol() - Method in class net.sourceforge.pmd.lang.java.types.JArrayType
 
getSymbol() - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
 
getSymbol() - Method in class net.sourceforge.pmd.lang.java.types.JIntersectionType
 
getSymbol() - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
Return the symbol of the method or constructor.
getSymbol() - Method in class net.sourceforge.pmd.lang.java.types.JPrimitiveType
Returns the type of the primitive class, eg Integer.TYPE.
getSymbol() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns the symbol declaring this type.
getSymbol() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeVar
Returns the reflected type variable this instance represents, or null if this is a capture variable.
getSymbol() - Method in class net.sourceforge.pmd.lang.java.types.JVariableSig.FieldSig
 
getSymbol() - Method in class net.sourceforge.pmd.lang.java.types.JVariableSig
Returns the symbol for this variable.
getSymbolTable() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
 
getSymbolTable() - Method in interface net.sourceforge.pmd.lang.java.ast.JavaNode
Returns the symbol table for the program point represented by this node.
getTarget() - Method in class net.sourceforge.pmd.lang.java.ast.ASTBreakStatement
Returns the statement that is the target of this break.
getTarget() - Method in class net.sourceforge.pmd.lang.java.ast.ASTContinueStatement
Returns the statement that is the target of this break.
getTargetType() - Method in class net.sourceforge.pmd.lang.java.types.ast.ExprContext
Returns the target type, or null if there is none.
getTestedExpression() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTSwitchLike
Gets the expression tested by this switch.
getText() - Method in class net.sourceforge.pmd.lang.java.ast.Comment
 
getThenBranch() - 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.
getThenBranch() - Method in class net.sourceforge.pmd.lang.java.ast.ASTIfStatement
Returns the statement that will be run if the guard evaluates to true.
getThrownExceptions() - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
Return the list of thrown exception types.
getThrownExceptionTypes(Substitution) - Method in interface net.sourceforge.pmd.lang.java.symbols.JExecutableSymbol
 
getThrowsList() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration
Returns the throws clause of this declaration, or null if there is none.
getToken() - Method in enum net.sourceforge.pmd.lang.java.ast.AssignmentOp
 
getToken() - Method in enum net.sourceforge.pmd.lang.java.ast.BinaryOp
 
getToken() - Method in class net.sourceforge.pmd.lang.java.ast.Comment
 
getToken() - Method in enum net.sourceforge.pmd.lang.java.ast.JModifier
Returns how the modifier is written in source.
getToken() - Method in enum net.sourceforge.pmd.lang.java.ast.UnaryOp
 
getTokenFilter(TokenManager<JavaccToken>) - Method in class net.sourceforge.pmd.cpd.JavaTokenizer
 
getTopLevelContextIncludingInvocation(TypeNode) - Method in class net.sourceforge.pmd.lang.java.types.ast.LazyTypeResolver
 
getToplevelCtx() - Method in class net.sourceforge.pmd.lang.java.types.ast.ExprContext
 
getTopLevelExprContext(TypeNode) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
getTopLevelFunctionalMirror(ASTExpression) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.ast.JavaExprMirrors
 
getTopLevelInvocationMirror(InvocationNode) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.ast.JavaExprMirrors
 
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 interface net.sourceforge.pmd.lang.java.ast.TypeNode
Deprecated.
This doesn't work. PMD doesn't load classes, it just reads the bytecode. Compare the symbol of the type mirror instead.
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
 
getTypeArgs() - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
A specific instantiation of the type variables in JClassType.getFormalTypeParams().
getTypeArguments() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceType
Returns the type arguments of this segment if some are specified.
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
Deprecated.
Returns the type node representing the bound, e.g.
getTypeBoundNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTWildcardType
Returns the type node representing the bound, e.g.
getTypeDeclarations() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
Returns the type declarations declared in this compilation unit.
getTypeImage() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTType
Deprecated.
This is not meaningful. Use PrettyPrintingUtil
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
 
getTypeMirror() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotation
 
getTypeMirror() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns the generic type declaration of the declared type.
getTypeMirror() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaExpression
Returns the type of the functional interface.
getTypeMirror() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodReference
Returns the type of the functional interface.
getTypeMirror() - Method in class net.sourceforge.pmd.lang.java.ast.ASTNumericLiteral
 
getTypeMirror() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimitiveType
 
getTypeMirror() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeParameter
 
getTypeMirror() - Method in interface net.sourceforge.pmd.lang.java.ast.FunctionalExpression
Returns the type of the functional interface.
getTypeMirror() - Method in interface net.sourceforge.pmd.lang.java.ast.TypeNode
Returns the compile-time type of this node.
getTypeMirror() - Method in interface net.sourceforge.pmd.lang.java.symbols.JTypeParameterSymbol
 
getTypeMirror() - Method in class net.sourceforge.pmd.lang.java.types.JVariableSig
Returns the type given to the symbol in the particular scope this signature is valid in.
getTypeMirror(Substitution) - Method in class net.sourceforge.pmd.lang.java.symbols.internal.ast.AstLocalVarSym
 
getTypeMirror(Substitution) - Method in interface net.sourceforge.pmd.lang.java.symbols.JVariableSymbol
Returns the type of this value, under the given substitution.
getTypeMirror(TypingContext) - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
 
getTypeMirror(TypingContext) - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeExpression
 
getTypeMirror(TypingContext) - Method in interface net.sourceforge.pmd.lang.java.ast.TypeNode
 
getTypeMirrorInternal(TypeNode) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
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.ASTAnnotation
Returns the node that represents the name of the annotation.
getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayAllocation
Returns the node representing the array type being instantiated.
getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCatchParameter
Returns the type node of this catch parameter.
getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassLiteral
Returns the type node (this may be a ASTVoidType).
getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorCall
Returns the type node.
getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
Returns the type node at the beginning of this field declaration.
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
Deprecated.
Gets the type against which the expression is tested.
getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaParameter
Returns the type node of this formal parameter.
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.ASTResultType
Deprecated.
Returns the enclosed type node, or an null if this is void.
getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeArgument
Deprecated.
Returns the type node of this type argument.
getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeBound
Deprecated.
Returns a list with the type bounds of this node.
getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeExpression
Gets the wrapped type node.
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 interface net.sourceforge.pmd.lang.java.symbols.JTypeParameterOwnerSymbol
 
getTypeParameters() - Method in interface net.sourceforge.pmd.lang.java.ast.TypeParamOwnerNode
Returns the type parameter declaration of this node, or null if there is none.
getTypeParameters() - Method in interface net.sourceforge.pmd.lang.java.symbols.JTypeParameterOwnerSymbol
Returns an unmodifiable list of the type variables declared by this symbol.
getTypeParameters() - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
Return the type parameters of the method.
getTypeParamSubst() - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
Returns the substitution mapping the formal type parameters of all enclosing types to their type arguments.
getTypeSystem() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
 
getTypeSystem() - Method in interface net.sourceforge.pmd.lang.java.ast.JavaNode
Returns the type system with which this node was created.
getTypeSystem() - Method in interface net.sourceforge.pmd.lang.java.symbols.JElementSymbol
Returns the type system that created this symbol.
getTypeSystem() - Method in class net.sourceforge.pmd.lang.java.types.ast.LazyTypeResolver
 
getTypeSystem() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.Infer
 
getTypeSystem() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.InferenceVar
 
getTypeSystem() - Method in class net.sourceforge.pmd.lang.java.types.JArrayType
 
getTypeSystem() - Method in class net.sourceforge.pmd.lang.java.types.JIntersectionType
 
getTypeSystem() - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
Return the type system with which this method was created.
getTypeSystem() - Method in class net.sourceforge.pmd.lang.java.types.JPrimitiveType
 
getTypeSystem() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns the type system that built this type.
getTypeToSearch() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.MethodRefMirror
Returns the type to search as defined by the first section of JLS§15.13.1 , except it may also return an array type (the jls makes an exception for it, while we don't).
getTypingContext() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror
Returns typing information for the lambdas parameters in scope in this expression and its subexpressions.
getUpdate() - Method in class net.sourceforge.pmd.lang.java.ast.ASTForStatement
Returns the statement nested within the update clause, if it exists.
getUpperBound() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeVar
Gets the upper bound.
getUsages() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
Deprecated.
getValue() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValuePair
Returns the value of the member set by this pair.
getValueAsDouble() - Method in class net.sourceforge.pmd.lang.java.ast.ASTNumericLiteral
 
getValueAsFloat() - Method in class net.sourceforge.pmd.lang.java.ast.ASTNumericLiteral
 
getValueAsInt() - Method in class net.sourceforge.pmd.lang.java.ast.ASTNumericLiteral
 
getValueAsLong() - Method in class net.sourceforge.pmd.lang.java.ast.ASTNumericLiteral
 
getValuesForName(String) - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotation
Return the expression values for the attribute with the given name.
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
 
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.ASTVariableDeclaratorId
getVarId() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCatchParameter
 
getVarId() - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumConstant
 
getVarId() - Method in class net.sourceforge.pmd.lang.java.ast.ASTForeachStatement
 
getVarId() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
Returns the declarator ID of this formal parameter.
getVarId() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaParameter
Returns the declarator ID of this formal parameter.
getVarId() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordComponent
 
getVarId() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypePattern
Returns the declared variable.
getVarId() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclarator
Returns the id of the declared variable.
getVisibility() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Returns the visibility corresponding to the effective modifiers.
getVisibility() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnonymousClassDeclaration
 
getVisibility() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
 
getVisibility() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
 
getVisibility() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
 
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
 
getYieldExpressions() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchExpression
Returns a stream of all expressions which can be the value of this switch.
getYieldTarget() - Method in class net.sourceforge.pmd.lang.java.ast.ASTYieldStatement
Returns the switch expression to which this statement yields a value.
glb(Collection<? extends JTypeMirror>) - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
Returns the greatest lower bound of the given set of types.
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 class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
groupByName(Iterable<? extends N>, Function<? super N, ? extends S>) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder
 
groupByName(Iterable<? extends S>) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder
 
groupByName(S) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder
 
GT - net.sourceforge.pmd.lang.java.ast.BinaryOp
Greater-than ">" operator.
GT - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
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

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
 
hasAll(JModifier, JModifier...) - Method in class net.sourceforge.pmd.lang.java.ast.ASTModifierList
Returns true if the effective modifiers contain all of the mentioned modifiers.
hasAllExplicitly(JModifier, JModifier...) - Method in class net.sourceforge.pmd.lang.java.ast.ASTModifierList
Returns true if the explicit modifiers contain all of the mentioned modifiers.
hasAny(JModifier, JModifier...) - Method in class net.sourceforge.pmd.lang.java.ast.ASTModifierList
Returns true if the effective modifiers contain any of the mentioned modifiers.
hasAnyExplicitly(JModifier, JModifier...) - Method in class net.sourceforge.pmd.lang.java.ast.ASTModifierList
Returns true if the explicit modifiers contain any of the mentioned modifiers.
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.
hasDefaultCase() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTSwitchLike
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.
hasErasedSuperTypes() - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
Returns true if this type is erased.
hasExplicitModifiers(JModifier, JModifier...) - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Returns true if this node has all the given modifiers explicitly written in the source.
hashCode() - Method in class net.sourceforge.pmd.lang.java.symbols.internal.ast.AstLocalVarSym
 
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.types.JArrayType
 
hashCode() - Method in class net.sourceforge.pmd.lang.java.types.JIntersectionType
 
hashCode() - Method in class net.sourceforge.pmd.lang.java.types.JVariableSig
 
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.
hasKind(ExprContext.ExprContextKind) - Method in class net.sourceforge.pmd.lang.java.types.ast.ExprContext
 
hasLowerBound() - Method in class net.sourceforge.pmd.lang.java.ast.ASTWildcardType
Returns true if this is a lower type bound, e.g.
hasModifiers(JModifier, JModifier...) - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Returns true if this node has all the given modifiers either explicitly written or inferred through context.
hasNext() - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainIterator
 
hasPropertyValue(PropertyDescriptor<List<String>>, String) - Method in class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidBranchingStatementAsLastInLoopRule
 
hasSamePrecedenceAs(BinaryOp) - Method in enum net.sourceforge.pmd.lang.java.ast.BinaryOp
Returns true if this operator has the same relative precedence as the argument.
hasSeparatorSemi() - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumBody
Returns true if the last enum constant has a trailing semi-colon.
hasTrailingComma() - Method in class net.sourceforge.pmd.lang.java.ast.ASTEnumBody
Returns true if the last enum constant has a trailing comma.
hasTrailingSemiColon() - Method in class net.sourceforge.pmd.lang.java.ast.ASTResourceList
Returns true if this resource list has a trailing semicolon, eg in try (InputStream is = getInputStream();) { ... }.
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 return null.
hasUnresolvedSymbol(JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Return true if the argument is a JClassType with an unresolved symbol or a JArrayType whose element type matches the first criterion.
hasUpperBound() - Method in class net.sourceforge.pmd.lang.java.ast.ASTWildcardType
Returns true if this is an upper type bound, e.g.
haveSameTypeParams(JMethodSig, JMethodSig) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
HEX_DIGIT_SEQ - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
HEX_EXPONENT - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
HEX_FLOATING_POINT_LITERAL - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
HEX_NUMERAL - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
HOOK - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
HORIZONTAL_WHITESPACE - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 

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 class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
IF - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
IGNORE_BOOLEAN_PATHS - net.sourceforge.pmd.lang.java.metrics.JavaMetrics.CycloOption
Do not count the paths in boolean expressions as decision points.
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 class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
ImplicitImportResolver(PMDASMClassLoader) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.ImplicitImportResolver
Deprecated.
ImplicitSwitchFallThroughRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
 
ImplicitSwitchFallThroughRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.ImplicitSwitchFallThroughRule
 
IMPORT - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
IMPORT_ON_DEMAND - net.sourceforge.pmd.lang.java.symbols.table.ScopeInfo
 
ImportOnDemandResolver(PMDASMClassLoader, Set<String>) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.ImportOnDemandResolver
Deprecated.
importsPackage(ASTCompilationUnit, String) - Static method in class net.sourceforge.pmd.lang.java.rule.AbstractJavaRule
 
INCLUDE_JAVA_LANG - net.sourceforge.pmd.lang.java.metrics.JavaMetrics.ClassFanOutOption
Whether to include classes in the java.lang package.
INCR - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
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
 
Infer - Class in net.sourceforge.pmd.lang.java.types.internal.infer
Main entry point for type inference.
Infer(TypeSystem, int, TypeInferenceLogger) - Constructor for class net.sourceforge.pmd.lang.java.types.internal.infer.Infer
Creates a new instance.
InferenceVar - Class in net.sourceforge.pmd.lang.java.types.internal.infer
Represents an inference variable.
InferenceVar.BoundKind - Enum in net.sourceforge.pmd.lang.java.types.internal.infer
 
inferFunctionalExprInUnambiguousContext(PolySite<ExprMirror.FunctionalExprMirror>) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.Infer
Infer lambdas and method references that have a target type: cast contexts, and some assignment contexts (not inferred, not return from lambda).
inferInvocationRecursively(MethodCallSite) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.Infer
Determines the most specific applicable method for the given call site.
INHERITED - net.sourceforge.pmd.lang.java.symbols.table.ScopeInfo
Inherited by some enclosing class.
initializeWith(ClassLoader, ASTCompilationUnit) - Method in class net.sourceforge.pmd.lang.java.symboltable.SymbolFacade
Deprecated.
 
initializeWith(ASTCompilationUnit) - Method in class net.sourceforge.pmd.lang.java.symboltable.SymbolFacade
Deprecated.
 
initTypeResolver(ASTCompilationUnit, JavaAstProcessor, TypeInferenceLogger) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
innerClasses - Variable in class net.sourceforge.pmd.lang.java.typeresolution.visitors.PMDASMVisitor
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
 
INSTANCEOF - net.sourceforge.pmd.lang.java.ast.BinaryOp
Type test "instanceof" operator.
INSTANCEOF - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
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 - net.sourceforge.pmd.lang.java.types.JPrimitiveType.PrimitiveTypeKind
 
INT - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
INT - Variable in class net.sourceforge.pmd.lang.java.types.TypeSystem
Primitive type int.
INTEGER_LITERAL - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
INTERFACE - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
internalApi() - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
Internal API, should not be used outside of the type inference implementation.
InternalApiBridge - Class in net.sourceforge.pmd.lang.java.ast
Acts as a bridge between outer parts of PMD and the restricted access internal API of this package.
InvalidLogMessageFormatRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
 
InvalidLogMessageFormatRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.InvalidLogMessageFormatRule
 
INVOCATION - net.sourceforge.pmd.lang.java.types.ast.ExprContext.ExprContextKind
Invocation context (method arguments).
InvocationMatcher - Class in net.sourceforge.pmd.lang.java.types
Matches a method or constructor call against a particular overload.
InvocationMatcher.CompoundInvocationMatcher - Class in net.sourceforge.pmd.lang.java.types
A compound of several matchers (logical OR).
InvocationNode - Interface in net.sourceforge.pmd.lang.java.ast
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(Class<?>, JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeTestUtil
Checks whether the given type of the node is a subtype of the first argument.
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(String, JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeTestUtil
 
isA(JTypeMirror, TypeNode) - Static method in class net.sourceforge.pmd.lang.java.types.TypeTestUtil
 
isAbstract() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Deprecated.
isAbstract() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns true if this is an abstract type.
isAbstract() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration
Returns true if this method is abstract, so doesn't declare a body.
isAbstract() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
 
isAbstract() - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
Return true if this method is abstract.
isAllocation() - Method in class net.sourceforge.pmd.lang.java.ast.ASTBlockStatement
Deprecated.
Tells if this BlockStatement is an allocation statement.
isAllowedClass(ASTImportDeclaration) - Method in class net.sourceforge.pmd.lang.java.rule.design.LoosePackageCouplingRule
 
isAnnotation() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns true if this is an annotation type declaration.
isAnnotation() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
 
isAnnotationPresent(Class<?>) - Method in interface net.sourceforge.pmd.lang.java.ast.Annotatable
Returns true if an annotation with the given type is applied to this node.
isAnnotationPresent(String) - Method in interface net.sourceforge.pmd.lang.java.ast.Annotatable
Returns true if an annotation with the given qualified name is applied to this node.
isAnonymous() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns true if this is an anonymous class declaration.
isAnonymous() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.CtorInvocationMirror
True if this creates an anonymous class.
isAnonymousClass() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAllocationExpression
Deprecated.
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.ASTConstructorCall
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.ASTEnumConstant
Returns true if this enum constant defines a body, which is compiled like an anonymous class.
isAnonymousClass() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
 
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
Deprecated.
 
isArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayDimsAndInits
Deprecated.
isArray() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
 
isArray() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
 
isArray() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this is an array type.
isArrayDereference() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimarySuffix
Deprecated.
 
isArrayType() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTType
Deprecated.
isAtLeast(AccessNode.Visibility) - Method in enum net.sourceforge.pmd.lang.java.ast.AccessNode.Visibility
Returns true if this visibility is greater than or equal to the parameter.
isAtMost(AccessNode.Visibility) - Method in enum net.sourceforge.pmd.lang.java.ast.AccessNode.Visibility
Returns true if this visibility is lower than or equal to the parameter.
isBlockBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaExpression
Returns true if this lambda has a block for body.
isBooleanLiteral() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTLiteral
Deprecated.
isBottom() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this is TypeSystem.NULL_TYPE.
isBoxedPrimitive() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this type is a boxed primitive type.
isBridge() - Method in interface net.sourceforge.pmd.lang.java.symbols.JMethodSymbol
 
isCaptured() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeVar
Returns true if this is a capture variable, ie this variable originates from the capture of a wildcard type argument.
isCaptureOf(JWildcardType) - Method in interface net.sourceforge.pmd.lang.java.types.JTypeVar
Returns true if this is a capture variable for the given wildcard.
isCharLiteral() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTLiteral
Deprecated.
isClass() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
This returns true if this is not an interface, primitive or array.
isClassOrInterface() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this is a class or interface type.
isClassOrInterfaceType() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTType
Deprecated.
isCompileTimeConstant() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTExpression
Returns true if this expression is a compile-time constant, and is inlined.
isCompileTimeConstant() - Method in class net.sourceforge.pmd.lang.java.ast.ASTNullLiteral
 
isCompound() - Method in enum net.sourceforge.pmd.lang.java.ast.AssignmentOp
Returns true if this operator combines a binary operator with the assignment.
isCompound() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAssignmentExpression
Returns whether this is a compound assignment (any operator except "=").
isCompound() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAssignmentOperator
Deprecated.
 
isConciseResource() - Method in class net.sourceforge.pmd.lang.java.ast.ASTResource
Returns true if this appears as an expression, and not as a local variable declaration.
isConstructor() - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
Return whether this is a constructor.
isConstructorRef() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.MethodRefMirror
True if this references a ctor.
isConstructorReference() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodReference
Returns true if this is a constructor reference, e.g.
isContainingPackage(String, String) - Method in class net.sourceforge.pmd.lang.java.rule.design.LoosePackageCouplingRule
 
isConvertible(JTypeMirror, JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
isConvertible(JTypeMirror, JTypeMirror, boolean) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Returns whether if T <: S, ie T is a subtype of S.
isConvertibleInCastContext(JTypeMirror, JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeConversion
Is t convertible to s by boxing/unboxing conversion? Only t can undergo conversion.
isConvertibleNoCapture(JTypeMirror, JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
isConvertibleTo(JTypeMirror) - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Tests this type's convertibility to the other type.
isConvertibleUsingBoxing(JTypeMirror, JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeConversion
Is t convertible to s by boxing/unboxing/widening conversion? Only t can undergo conversion.
isDeclaredInClass(Class<?>, JMethodSig) - Static method in class net.sourceforge.pmd.lang.java.types.TypeTestUtil
Returns true if the signature is that of a method declared in the given class.
isDecrement() - Method in enum net.sourceforge.pmd.lang.java.ast.UnaryOp
Returns true if this is one of UnaryOp.PRE_DECREMENT or UnaryOp.POST_DECREMENT.
isDefault() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTSwitchBranch
Return true if this is the default branch.
isDefault() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchLabel
Returns true if this is the default label.
isDefaultMethod() - Method in interface net.sourceforge.pmd.lang.java.symbols.JExecutableSymbol
 
isDefinitelyEmpty() - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.NameResolver
Returns true if this resolver knows it cannot resolve anything.
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.
isDiamond() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.CtorInvocationMirror
Return true if this is a diamond constructor call.
isDoubleLiteral() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTLiteral
Deprecated.
isDoubleLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTNumericLiteral
 
isEmpty() - Method in class net.sourceforge.pmd.lang.java.ast.ASTStringLiteral
True if the constant value is empty.
isEmpty() - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder.ResolverBuilder
 
isEmptySubst(Function<?, ?>) - Static method in class net.sourceforge.pmd.lang.java.types.Substitution
 
isEnum() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns true if this is an enum class declaration.
isEnum() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
 
isEnumChild() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBodyDeclaration
 
isEnumConstant() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
Returns true if this node declares an enum constant.
isEnumConstant() - Method in interface net.sourceforge.pmd.lang.java.symbols.JFieldSymbol
Returns true if this field is an enum constant.
isEquivalentTo(JTypeMirror) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.InferenceVar
 
isEquivalentToUnderlyingAst() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.BranchingMirror
 
isEquivalentToUnderlyingAst() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror
Returns true if this mirror and its subexpressions are equivalent to the underlying AST node.
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(Class<?>, JTypeDeclSymbol) - Static method in class net.sourceforge.pmd.lang.java.types.TypeTestUtil
 
isExactlyA(Class<?>, JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeTestUtil
 
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.
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 interface net.sourceforge.pmd.lang.java.ast.ASTSwitchLike
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.
isExplicitlyTyped() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.LambdaExprMirror
isExpression() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTExpression
Always returns true.
isExpressionBody() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaExpression
Returns true if this lambda has an expression for body.
isFailed() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.InvocationMirror.MethodCtDecl
 
isFailed() - Method in interface net.sourceforge.pmd.lang.java.types.OverloadSelectionResult
Returns true if the invocation of this method failed.
isField() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
Returns true if this node declares a field from a regular ASTFieldDeclaration.
isField() - Method in interface net.sourceforge.pmd.lang.java.symbols.JFieldSymbol
 
isField() - Method in interface net.sourceforge.pmd.lang.java.symbols.JVariableSymbol
Returns true if this is a field symbol.
isFinal() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Deprecated.
isFinal() - Method in interface net.sourceforge.pmd.lang.java.ast.FinalizableNode
Returns true if this variable, method or class is final (even implicitly).
isFinal() - Method in interface net.sourceforge.pmd.lang.java.symbols.JFieldSymbol
 
isFinal() - Method in interface net.sourceforge.pmd.lang.java.symbols.JVariableSymbol
Returns true if this declaration is declared final.
isFindBoundary() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnonymousClassDeclaration
 
isFindBoundary() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLambdaExpression
 
isFindBoundary() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalClassStatement
 
isFloatingPoint() - Method in class net.sourceforge.pmd.lang.java.types.JPrimitiveType
 
isFloatingPoint() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this type is a primitive type of a floating point type.
isFloatLiteral() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTLiteral
Deprecated.
isFloatLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTNumericLiteral
 
isForeachVariable() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
Returns true if this node is a variable declared in a foreach loop.
isForLoopVariable() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
Returns true if this node is a variable declared in the init clause of a for 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.
isFullyQualified() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceType
Returns true if the type was written with a full package qualification.
isGeneric() - Method in interface net.sourceforge.pmd.lang.java.symbols.JTypeParameterOwnerSymbol
 
isGeneric() - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
Returns true if the symbol of this type declares some type parameters.
isGeneric() - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
Return true if this method signature declares type parameters.
isGeneric() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this type is a generic class type.
isGenericTypeDeclaration() - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
 
isGenericTypeDeclaration() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this represents the *declaration* of a generic class or interface and not some parameterization.
isIgnored(ASTFormalParameters) - Method in class net.sourceforge.pmd.lang.java.rule.design.ExcessiveParameterListRule
 
isImportOnDemand() - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
Returns true if this is an import-on-demand declaration, aka "wildcard import".
isIncrement() - Method in enum net.sourceforge.pmd.lang.java.ast.UnaryOp
Returns true if this is one of UnaryOp.PRE_INCREMENT or UnaryOp.POST_INCREMENT.
isInfixExprWithOperator(JavaNode, Set<BinaryOp>) - Static method in enum net.sourceforge.pmd.lang.java.ast.BinaryOp
Tests if the node is an ASTInfixExpression with one of the given operators.
isInfixExprWithOperator(JavaNode, BinaryOp) - Static method in enum net.sourceforge.pmd.lang.java.ast.BinaryOp
Tests if the node is an ASTInfixExpression with the given operator.
isIntegral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTNumericLiteral
Returns true if this is an integral literal, ie either a long or an integer literal.
isIntegral() - Method in class net.sourceforge.pmd.lang.java.types.JPrimitiveType
 
isIntegral() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this type is a primitive type of an integral type.
isInterface() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotationTypeDeclaration
 
isInterface() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns true if this is an interface type declaration (including annotation types).
isInterface() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
 
isInterface() - Method in interface net.sourceforge.pmd.lang.java.symbols.JTypeDeclSymbol
This returns true if this is an interface.
isInterface() - Method in class net.sourceforge.pmd.lang.java.types.JArrayType
 
isInterface() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this is an interface type.
isIntLiteral() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTLiteral
Deprecated.
isIntLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTNumericLiteral
 
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
isLocal() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns true if the class is declared inside a block other than the body of another class, or the top level.
isLocalClass() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
 
isLocalVariable() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
Returns true if this node declares a local variable from within a regular ASTLocalVariableDeclaration.
isLogEnabled() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.MethodCallSite
 
isLongLiteral() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTLiteral
Deprecated.
isLongLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTNumericLiteral
 
isLowerBound() - Method in class net.sourceforge.pmd.lang.java.ast.ASTWildcardBounds
Deprecated.
Returns true if this is a lower type bound, e.g.
isLowerBound() - Method in interface net.sourceforge.pmd.lang.java.types.JWildcardType
Returns true if this is a "super" wildcard, the bound is then a lower bound.
isMainMethod() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
Returns whether this is a main method declaration.
isMethodOrConstructorInvocation() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
 
isMethodReference() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
 
isMissing() - Method in class net.sourceforge.pmd.lang.java.types.ast.ExprContext
Returns true if this context does not provide any target type.
isMulticatch() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCatchParameter
Returns true if this is a multi-catch parameter, that is, it catches several unrelated exception types at the same time.
isNative() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
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.
isNoop() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
isNullLiteral() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTLiteral
Deprecated.
isNumeric() - Method in class net.sourceforge.pmd.lang.java.types.JPrimitiveType
 
isNumeric() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this is a primitive numeric type.
isNumericLiteral() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTLiteral
Deprecated.
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
 
isOverridableIn(JExecutableSymbol, JTypeDeclSymbol) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Returns true if the given method can be overridden in the origin class.
isOverridden() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
Returns true if this method is overridden.
isPackagePrivate() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Deprecated.
isPackagePrivate() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
 
isParameterizedType() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this type is generic, and it it neither raw, nor a generic type declaration.
isParenthesized() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTExpression
Returns true if this expression has at least one level of parentheses.
isParenthesized() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPatternExpression
Returns false, patterns can never be parenthesized.
isParenthesized() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeExpression
Returns false, type expressions can never be parenthesized.
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.
isPostfix() - Method in enum net.sourceforge.pmd.lang.java.ast.UnaryOp
Returns true if this is a postfix operator.
isPrefix() - Method in class net.sourceforge.pmd.lang.java.ast.ASTUnaryExpression
Deprecated.
XPath-attribute only, use getOperator().isPrefix() in java code.
isPrefix() - Method in enum net.sourceforge.pmd.lang.java.ast.UnaryOp
Returns true if this is a prefix operator.
isPreJava8() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.Infer
 
isPrimitive() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
 
isPrimitive() - Method in class net.sourceforge.pmd.lang.java.types.JPrimitiveType
 
isPrimitive() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this type is a primitive type.
isPrimitive(JPrimitiveType.PrimitiveTypeKind) - Method in class net.sourceforge.pmd.lang.java.types.JPrimitiveType
 
isPrimitive(JPrimitiveType.PrimitiveTypeKind) - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this type is the primitive type of the given kind in its type system.
isPrimitiveType() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTType
Deprecated.
isPrimitiveType() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
 
isPrivate() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Deprecated.
isProtected() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Deprecated.
isPublic() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Deprecated.
isPure() - Method in enum net.sourceforge.pmd.lang.java.ast.UnaryOp
Returns true if this operator is pure, ie the evaluation of the unary expression doesn't produce side-effects.
isQualified() - Method in class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
Returns true if this is a qualified superclass constructor invocation.
isQualifiedInstanceCreation() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorCall
Returns true if this expression begins with a primary expression.
isQualifiedName(String) - Static method in class net.sourceforge.pmd.lang.java.rule.AbstractJavaRule
 
isRaw() - Method in class net.sourceforge.pmd.lang.java.types.JArrayType
 
isRaw() - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
Returns true if this type represents a raw type, ie a type whose declaration is generic, but for which no type arguments were provided.
isRaw() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this is a raw type.
isRecord() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns true if this is an record class declaration.
isRecord() - Method in interface net.sourceforge.pmd.lang.java.symbols.JClassSymbol
 
isRecordComponent() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
Returns true if this node declares a record component.
isRecordComponent() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
 
isReferenceToClassSameCompilationUnit() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceType
Deprecated.
This may be removed once type resolution is afoot
isReferenceType() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
Note that an array of primitive types (int[]) is a reference type.
isRegularClass() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns true if this is a regular class declaration (not an enum, not a record, not an interface or annotation).
isRegularClass() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
 
isRegularInterface() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns true if this is a regular interface declaration (not an annotation).
isRegularInterface() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
 
isReifiable() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this type is reifiable.
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.
isReturnTypeSubstitutable(JMethodSig, JMethodSig) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Returns true if m1 is return-type substitutable with m2.
isSameType(JMethodSig, JMethodSig) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
isSameType(JTypeMirror, JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
isSameType(JTypeMirror, JTypeMirror, boolean) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Returns true if t and s are the same type.
isSelfAssignment() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
Assert it the occurrence is a self assignment such as: i += 3;
isShadowBarrier() - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainNode
Returns true if this group shadows the next groups in the chain.
isShorthand() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValuePair
Returns true if this is a shorthand for the value attribute.
isSpecialUnresolved(JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
isStandaloneInternal(ASTConditionalExpression) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
isStatic() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Deprecated.
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
 
isStatic() - Method in interface net.sourceforge.pmd.lang.java.symbols.JAccessibleElementSymbol
 
isStatic() - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
Return true if this method is static.
isStrictfp() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Deprecated.
isStrictSubtype(JTypeMirror, JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
isStringLiteral() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTLiteral
Deprecated.
isSubtypeNoSideEffect(JTypeMirror) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.InferenceVar
 
isSubtypeOf(JTypeMirror) - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this type is the same type or a subtype of the given type.
isSuper() - Method in class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
Returns true if this statement calls a constructor of the direct superclass.
isSupertypeNoSideEffect(JTypeMirror) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.InferenceVar
 
isSynchronized() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Deprecated.
isSyntacticallyAbstract() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Deprecated.
isSyntacticallyFinal() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Deprecated.
isSyntacticallyPublic() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Deprecated.
isSyntacticallyStatic() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Deprecated.
isTextBlock() - Method in class net.sourceforge.pmd.lang.java.ast.ASTStringLiteral
Returns true if this is a text block (currently Java 13 preview feature).
isThis() - Method in class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
Returns true if this statement calls a constructor of the same class.
isThisOrSuper() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
Simply return true is the image is equal to keyword 'this' or 'super'.
isTop() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this is TypeSystem.OBJECT.
isTopLevel() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration
Returns true if this type is declared at the top-level of a file.
isTransient() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Deprecated.
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.ASTLambdaParameter
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
 
isTypeVariable() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this type is a type variable.
isUnbounded() - Method in interface net.sourceforge.pmd.lang.java.types.JWildcardType
Returns true if this is an "extends" wildcard, with no bound ("?").
isUnresolved() - Method in interface net.sourceforge.pmd.lang.java.symbols.JElementSymbol
Returns true if this symbol is a placeholder, created to fill-in an unresolved reference.
isUnresolved() - Method in interface net.sourceforge.pmd.lang.java.symbols.JTypeDeclSymbol
Returns true if this class is a symbolic reference to an unresolved class.
isUnresolved(JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Returns true if the type is TypeSystem.UNKNOWN, TypeSystem.ERROR, or its symbol is unresolved.
isUnresolvedOrNull(JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
isUpperBound() - Method in class net.sourceforge.pmd.lang.java.ast.ASTWildcardBounds
Deprecated.
Returns true if this is an upper type bound, e.g.
isUpperBound() - Method in interface net.sourceforge.pmd.lang.java.types.JWildcardType
Returns true if this is an "extends" wildcard, the bound is then an upper bound.
isValueCompatible() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.LambdaExprMirror
Returns true if the body is value-compatible (JLS§15.27.2).
isVarargs() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayTypeDim
Returns true if this is a varargs dimension.
isVarargs() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
Returns true if this node is a varargs parameter.
isVarargs() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration
Returns true if this node's last formal parameter is varargs.
isVarargs() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordComponent
Returns true if this component's corresponding formal parameter in the canonical constructor of the record is varargs.
isVarargs() - Method in class net.sourceforge.pmd.lang.java.ast.ASTRecordComponentList
Returns true if the last component is varargs.
isVarargs() - Method in interface net.sourceforge.pmd.lang.java.symbols.JExecutableSymbol
Returns true if the last formal parameter is a varargs parameter.
isVarargs() - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodNameDeclaration
 
isVarargs() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
 
isVarargs() - Method in interface net.sourceforge.pmd.lang.java.types.JMethodSig
Return true if this method has a varargs parameter.
isVarargsCall() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.InvocationMirror.MethodCtDecl
 
isVarargsCall() - Method in interface net.sourceforge.pmd.lang.java.types.OverloadSelectionResult
Returns true if this is a varargs call.
isViolation(ASTAnyTypeDeclaration, int) - Method in class net.sourceforge.pmd.lang.java.rule.design.ExcessivePublicCountRule
 
isViolation(ASTCompilationUnit, int) - Method in class net.sourceforge.pmd.lang.java.rule.design.ExcessiveImportsRule
 
isViolation(ASTFormalParameters, int) - Method in class net.sourceforge.pmd.lang.java.rule.design.ExcessiveParameterListRule
 
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
Deprecated.
 
isVoid() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTType
Returns true if this is the "void" pseudo-type, ie an ASTVoidType.
isVoid() - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns true if this is TypeSystem.NO_TYPE, ie void.
isVoidCompatible() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.LambdaExprMirror
Returns true if the body is void-compatible (JLS§15.27.2).
isVolatile() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
Deprecated.
isWilcardParameterized(JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeConversion
Returns true if the type is a parameterized class type, which has wildcards as type arguments.
isWildcard() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTypeArgument
Deprecated.
Returns true if this node is a wildcard argument (bounded or not).
iterateResults(String) - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChain
Returns an iterator that iterates over sets of shadowed declarations with the given name.
iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAnnotation
 
iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayInitializer
 
iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTIntersectionType
 
iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTList
 
iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMemberValueArrayInitializer
 
iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchLabel
 
iterator() - Method in interface net.sourceforge.pmd.lang.java.ast.ASTSwitchLike
 
iterator() - Method in class net.sourceforge.pmd.lang.java.ast.ASTUnionType
 
ithFormalParam(int) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.InvocationMirror.MethodCtDecl
 
ithFormalParam(int) - Method in interface net.sourceforge.pmd.lang.java.types.OverloadSelectionResult
Returns the type of the i-th formal parameter of the method.
ivarInstantiated(InferenceContext, InferenceVar, JTypeMirror) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
ivarInstantiated(InferenceContext, InferenceVar, JTypeMirror) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.VerboseLogger
 
ivarMerged(InferenceContext, InferenceVar, InferenceVar) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
ivarMerged(InferenceContext, InferenceVar, InferenceVar) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.VerboseLogger
 

J

JAccessibleElementSymbol - Interface in net.sourceforge.pmd.lang.java.symbols
Represents declarations having access modifiers common to JFieldSymbol, JClassSymbol, JMethodSymbol, and JConstructorSymbol.
JArrayType - Class in net.sourceforge.pmd.lang.java.types
An array type (1 dimension).
JAVA_LANG - net.sourceforge.pmd.lang.java.symbols.table.ScopeInfo
 
JavadocCommentOwner - Interface in net.sourceforge.pmd.lang.java.ast
A node that may own a javadoc comment.
JavadocElement - Class in net.sourceforge.pmd.lang.java.ast
 
JavadocElement(JavaccToken, int, int, int, int, JavadocTag) - Constructor for class net.sourceforge.pmd.lang.java.ast.JavadocElement
 
JavadocTag - Class in net.sourceforge.pmd.lang.java.javadoc
 
JavaExprMirrors - Class in net.sourceforge.pmd.lang.java.types.internal.infer.ast
Façade that creates ExprMirror instances.
JavaExprMirrors.MirrorMaker - Interface in net.sourceforge.pmd.lang.java.types.internal.infer.ast
 
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
 
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
 
JavaMetrics - Class in net.sourceforge.pmd.lang.java.metrics
Built-in Java metrics.
JavaMetrics.ClassFanOutOption - Enum in net.sourceforge.pmd.lang.java.metrics
Options for JavaMetrics.FAN_OUT.
JavaMetrics.CycloOption - Enum in net.sourceforge.pmd.lang.java.metrics
Options for JavaMetrics.CYCLO.
JavaMetrics.NcssOption - Enum in net.sourceforge.pmd.lang.java.metrics
Options for JavaMetrics.NCSS.
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.
JavaParser - Class in net.sourceforge.pmd.lang.java.ast
Adapter for the JavaParser, using the specified grammar version.
JavaParser(LanguageLevelChecker<?>) - Constructor for class net.sourceforge.pmd.lang.java.ast.JavaParser
 
JavaParserVisitor - Interface in net.sourceforge.pmd.lang.java.ast
Deprecated.
JavaParserVisitorAdapter - Class in net.sourceforge.pmd.lang.java.ast
Deprecated.
JavaParserVisitorAdapter() - Constructor for class net.sourceforge.pmd.lang.java.ast.JavaParserVisitorAdapter
Deprecated.
 
JavaRuleViolation - Class in net.sourceforge.pmd.lang.java.rule
Deprecated.
JavaRuleViolation(Rule, JavaNode, String, String) - Constructor for class net.sourceforge.pmd.lang.java.rule.JavaRuleViolation
Deprecated.
 
javaTokenDoc(String) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
JavaTokenizer - Class in net.sourceforge.pmd.cpd
 
JavaTokenizer() - Constructor for class net.sourceforge.pmd.cpd.JavaTokenizer
 
JavaTokenKinds - Class in net.sourceforge.pmd.lang.java.ast
Token kinds (JavaccToken.kind) for this language.
JavaVisitor<P,​R> - Interface in net.sourceforge.pmd.lang.java.ast
 
JavaVisitorBase<P,​R> - Class in net.sourceforge.pmd.lang.java.ast
Base implementation of JavaVisitor.
JavaVisitorBase() - Constructor for class net.sourceforge.pmd.lang.java.ast.JavaVisitorBase
 
JClassSymbol - Interface in net.sourceforge.pmd.lang.java.symbols
Abstraction over a Class instance.
JClassType - Interface in net.sourceforge.pmd.lang.java.types
Represents class and interface types, including functional interface types.
JConstructorSymbol - Interface in net.sourceforge.pmd.lang.java.symbols
Represents a constructor declaration.
JElementSymbol - Interface in net.sourceforge.pmd.lang.java.symbols
Represents a named program element that can be referred to by simple name.
JExecutableSymbol - Interface in net.sourceforge.pmd.lang.java.symbols
Common supertype for method and constructor symbols.
JFieldSymbol - Interface in net.sourceforge.pmd.lang.java.symbols
Represents a field declaration.
JFormalParamSymbol - Interface in net.sourceforge.pmd.lang.java.symbols
Represents a formal parameter of a JExecutableSymbol.
JIntersectionType - Class in net.sourceforge.pmd.lang.java.types
An intersection type.
jjtAccept(JavaParserVisitor, Object) - Method in interface net.sourceforge.pmd.lang.java.ast.JavaNode
jjtClose() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodCall
 
jjtClose() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodReference
 
JLocalVariableSymbol - Interface in net.sourceforge.pmd.lang.java.symbols
Represents all use cases of ASTVariableDeclaratorId except field declarations.
JMethodSig - Interface in net.sourceforge.pmd.lang.java.types
Represents the signature of methods and constructors.
JMethodSymbol - Interface in net.sourceforge.pmd.lang.java.symbols
Reference to a method.
JModifier - Enum in net.sourceforge.pmd.lang.java.ast
A Java modifier.
JPrimitiveType - Class in net.sourceforge.pmd.lang.java.types
Mirror a primitive types.
JPrimitiveType.PrimitiveTypeKind - Enum in net.sourceforge.pmd.lang.java.types
 
JSymbolTable - Interface in net.sourceforge.pmd.lang.java.symbols.table
A symbol table for a particular region of a Java program.
JTypeDeclSymbol - Interface in net.sourceforge.pmd.lang.java.symbols
A symbol that declares a type.
JTypeMirror - Interface in net.sourceforge.pmd.lang.java.types
Type mirrors represent Java types.
JTypeParameterOwnerSymbol - Interface in net.sourceforge.pmd.lang.java.symbols
Represents a declaration that can declare type parameters, i.e. JClassSymbol or JMethodSymbol.
JTypeParameterSymbol - Interface in net.sourceforge.pmd.lang.java.symbols
Represents the declaration of a type variable, ie a type parameter.
JTypeVar - Interface in net.sourceforge.pmd.lang.java.types
The type of a type variable.
JTypeVisitable - Interface in net.sourceforge.pmd.lang.java.types
Common supertype for JMethodSig and JTypeMirror.
JTypeVisitor<R,​P> - Interface in net.sourceforge.pmd.lang.java.types
Visits a type.
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
 
JUnitTestContainsTooManyAssertsRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
 
JUnitTestContainsTooManyAssertsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.JUnitTestContainsTooManyAssertsRule
 
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.codestyle.UnnecessaryImportRule
 
JVariableSig - Class in net.sourceforge.pmd.lang.java.types
Represents a value symbol viewed in the context of a particular program point (ie under a particular Substitution).
JVariableSig.FieldSig - Class in net.sourceforge.pmd.lang.java.types
A field signature.
JVariableSymbol - Interface in net.sourceforge.pmd.lang.java.symbols
Reference to a variable, ie local variable, formal parameter, or field.
jvmRepr() - Method in enum net.sourceforge.pmd.lang.java.types.JPrimitiveType.PrimitiveTypeKind
 
JWildcardType - Interface in net.sourceforge.pmd.lang.java.types
Represents a wildcard type.

K

knows(String) - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.NameResolver
Returns whether this resolver knows if it has a declaration for the given name.
knowsSymbol(String) - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainNode
Returns whether this node knows the given symbol (without asking the parents).

L

label - Variable in class net.sourceforge.pmd.lang.java.javadoc.JavadocTag
 
LAMBDA - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
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
 
layer(SymbolResolver, SymbolResolver...) - Static method in interface net.sourceforge.pmd.lang.java.symbols.SymbolResolver
Produce a symbol resolver that asks the given resolvers in order.
lazyFilterAccessible(List<JMethodSig>, JClassSymbol) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
LazyTypeResolver - Class in net.sourceforge.pmd.lang.java.types.ast
Resolves types of expressions.
LazyTypeResolver(JavaAstProcessor, TypeInferenceLogger) - Constructor for class net.sourceforge.pmd.lang.java.types.ast.LazyTypeResolver
 
LBRACE - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
LBRACKET - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
LE - net.sourceforge.pmd.lang.java.ast.BinaryOp
Lower-or-equal "<=" operator.
LE - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
LEFT_SHIFT - net.sourceforge.pmd.lang.java.ast.BinaryOp
Left shift "<<" operator.
LEFT_SHIFT_ASSIGN - net.sourceforge.pmd.lang.java.ast.AssignmentOp
 
length() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArrayInitializer
Return the number of elements.
length() - Method in class net.sourceforge.pmd.lang.java.ast.ASTStringLiteral
Length of the constant value in characters.
LETTER - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
LEVEL_INCREMENT - Static variable in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
LexicalScope - Class in net.sourceforge.pmd.lang.java.types
An index of type variables by name.
LINE_TERMINATOR - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
LINES_OF_CODE - Static variable in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
Simply counts the number of lines of code the operation or class takes up in the source.
LinguisticNamingRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
 
LinguisticNamingRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.LinguisticNamingRule
 
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.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.
loadSymbol(TypeSystem, String) - Static method in class net.sourceforge.pmd.lang.java.types.TypesFromReflection
 
loadType(TypeSystem, String) - Static method in class net.sourceforge.pmd.lang.java.types.TypesFromReflection
Load a class.
loadType(TypeSystem, String, UnresolvedClassStore) - Static method in class net.sourceforge.pmd.lang.java.types.TypesFromReflection
Load a class.
LOCAL - net.sourceforge.pmd.lang.java.symbols.table.ScopeInfo
Local var, including lambda parameters and catch parameters.
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
 
LocalVariableCouldBeFinalRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
 
LocalVariableCouldBeFinalRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.LocalVariableCouldBeFinalRule
 
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
 
LOG - Variable in class net.sourceforge.pmd.lang.java.types.internal.infer.Infer
 
logResolutionFail(ResolutionFailure) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
Log that the instantiation of the method type m for the given call site failed.
logResolutionFail(ResolutionFailure) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
logResolutionFail(ResolutionFailure) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.VerboseLogger
 
LONG - net.sourceforge.pmd.lang.java.types.JPrimitiveType.PrimitiveTypeKind
 
LONG - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
LONG - Variable in class net.sourceforge.pmd.lang.java.types.TypeSystem
Primitive type long.
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 - net.sourceforge.pmd.lang.java.types.internal.infer.InferenceVar.BoundKind
 
LPAREN - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
LSHIFT - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
LSHIFTASSIGN - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
LT - net.sourceforge.pmd.lang.java.ast.BinaryOp
Lower-than "<" operator.
LT - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
lub(Collection<? extends JTypeMirror>) - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
The least upper bound, or "lub", of a set of reference types is a shared supertype that is more specific than any other shared supertype (that is, no other shared supertype is a subtype of the least upper bound).

M

makeCharStream(Reader) - Method in class net.sourceforge.pmd.cpd.JavaTokenizer
 
makeLexerImpl(CharStream) - Method in class net.sourceforge.pmd.cpd.JavaTokenizer
 
mapping(List<? extends SubstVar>, List<? extends JTypeMirror>) - Static method in class net.sourceforge.pmd.lang.java.types.Substitution
Builds a substitution where the mapping from vars to types is defined by the correspondence between the two lists.
matchesCall(InvocationNode) - Method in class net.sourceforge.pmd.lang.java.types.InvocationMatcher
Returns true if the call matches this matcher.
matchesCall(JavaNode) - Method in class net.sourceforge.pmd.lang.java.types.InvocationMatcher
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
 
mayBeSingular(AccessNode) - Static method in class net.sourceforge.pmd.lang.java.rule.design.SingularFieldRule
 
mentions(JTypeVisitable, InferenceVar) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
mentionsAny(JTypeVisitable, Collection<? extends SubstVar>) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
 
METHOD_MEMBER - net.sourceforge.pmd.lang.java.symbols.table.ScopeInfo
METHOD_REF - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
MethodArgumentCouldBeFinalRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
 
MethodArgumentCouldBeFinalRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.MethodArgumentCouldBeFinalRule
 
MethodCallSite - Class in net.sourceforge.pmd.lang.java.types.internal.infer
Poly site for an invocation expression.
MethodNameDeclaration - Class in net.sourceforge.pmd.lang.java.symboltable
 
MethodNameDeclaration(ASTMethodDeclaration) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.MethodNameDeclaration
 
MethodNamingConventionsRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
 
MethodNamingConventionsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.MethodNamingConventionsRule
 
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
 
methods() - Method in interface net.sourceforge.pmd.lang.java.symbols.table.JSymbolTable
The chain of tables tracking method names that are in scope here.
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
 
MethodUsage - Interface in net.sourceforge.pmd.lang.java.ast
A node that uses another method or constructor.
MethodWithSameNameAsEnclosingClassRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
 
MethodWithSameNameAsEnclosingClassRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.MethodWithSameNameAsEnclosingClassRule
 
MINIMUM_LENGTH_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidDuplicateLiteralsRule
 
MINUS - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
MINUSASSIGN - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
MISSING - net.sourceforge.pmd.lang.java.types.ast.ExprContext.ExprContextKind
Kind for a missing context (ExprContext.RegularCtx.NO_CTX).
MissingOverrideRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
Flags missing @Override annotations.
MissingOverrideRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.MissingOverrideRule
 
MOD - net.sourceforge.pmd.lang.java.ast.BinaryOp
Modulo "%" operator.
MOD_ASSIGN - net.sourceforge.pmd.lang.java.ast.AssignmentOp
 
mostSpecific(Collection<? extends JTypeMirror>) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Returns a subset S of the parameter, whose components have no strict supertype in S.
MUL - net.sourceforge.pmd.lang.java.ast.BinaryOp
Multiplication "*" operator.
MUL_ASSIGN - net.sourceforge.pmd.lang.java.ast.AssignmentOp
 
MULTI_LINE_COMMENT - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
MultiLineComment - Class in net.sourceforge.pmd.lang.java.ast
 
MultiLineComment(JavaccToken) - Constructor for class net.sourceforge.pmd.lang.java.ast.MultiLineComment
 

N

NAME - Static variable in class net.sourceforge.pmd.lang.java.JavaLanguageModule
 
nameEquals(String) - Method in interface net.sourceforge.pmd.lang.java.symbols.JElementSymbol
Returns true if the simple name of this symbol is the same as the given name.
NameFinder - Class in net.sourceforge.pmd.lang.java.symboltable
Deprecated.
NameFinder(ASTPrimaryExpression) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.NameFinder
Deprecated.
 
NameResolver<S> - Interface in net.sourceforge.pmd.lang.java.symbols.table.coreimpl
Name resolvers are strategies backing ShadowChains.
NameResolver.SingleNameResolver<S> - Interface in net.sourceforge.pmd.lang.java.symbols.table.coreimpl
A base class for resolvers that know at most one symbol for any given name.
NATIVE - net.sourceforge.pmd.lang.java.ast.JModifier
 
NATIVE - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
NCSS - Static variable in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
Number of statements in a class or operation.
NcssCountRule - Class in net.sourceforge.pmd.lang.java.rule.design
Simple rule for Ncss.
NcssCountRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.NcssCountRule
 
NE - net.sourceforge.pmd.lang.java.ast.BinaryOp
Not-equals "!=" operator.
NE - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
needsUncheckedConversion() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.InvocationMirror.MethodCtDecl
 
needsUncheckedConversion() - Method in interface net.sourceforge.pmd.lang.java.types.OverloadSelectionResult
Whether the declaration needed unchecked conversion to be applicable.
NEGATION - net.sourceforge.pmd.lang.java.ast.UnaryOp
Logical complement operator "!".
net.sourceforge.pmd.cpd - package net.sourceforge.pmd.cpd
 
net.sourceforge.pmd.lang.java - package net.sourceforge.pmd.lang.java
 
net.sourceforge.pmd.lang.java.ast - package net.sourceforge.pmd.lang.java.ast
Contains the classes and interfaces modelling the Java AST.
net.sourceforge.pmd.lang.java.javadoc - package net.sourceforge.pmd.lang.java.javadoc
 
net.sourceforge.pmd.lang.java.metrics - package net.sourceforge.pmd.lang.java.metrics
 
net.sourceforge.pmd.lang.java.rule - package net.sourceforge.pmd.lang.java.rule
Contains the built-in rules bundled with the Java distribution.
net.sourceforge.pmd.lang.java.rule.bestpractices - package net.sourceforge.pmd.lang.java.rule.bestpractices
 
net.sourceforge.pmd.lang.java.rule.codestyle - package net.sourceforge.pmd.lang.java.rule.codestyle
 
net.sourceforge.pmd.lang.java.rule.design - package net.sourceforge.pmd.lang.java.rule.design
 
net.sourceforge.pmd.lang.java.rule.documentation - package net.sourceforge.pmd.lang.java.rule.documentation
 
net.sourceforge.pmd.lang.java.rule.errorprone - package net.sourceforge.pmd.lang.java.rule.errorprone
 
net.sourceforge.pmd.lang.java.rule.multithreading - package net.sourceforge.pmd.lang.java.rule.multithreading
 
net.sourceforge.pmd.lang.java.rule.performance - package net.sourceforge.pmd.lang.java.rule.performance
 
net.sourceforge.pmd.lang.java.rule.security - package net.sourceforge.pmd.lang.java.rule.security
 
net.sourceforge.pmd.lang.java.symbols - package net.sourceforge.pmd.lang.java.symbols
Prototype of a new symbol resolution framework that inter-operates cleanly with type resolution.
net.sourceforge.pmd.lang.java.symbols.internal.asm - package net.sourceforge.pmd.lang.java.symbols.internal.asm
 
net.sourceforge.pmd.lang.java.symbols.internal.ast - package net.sourceforge.pmd.lang.java.symbols.internal.ast
 
net.sourceforge.pmd.lang.java.symbols.table - package net.sourceforge.pmd.lang.java.symbols.table
 
net.sourceforge.pmd.lang.java.symbols.table.coreimpl - package net.sourceforge.pmd.lang.java.symbols.table.coreimpl
 
net.sourceforge.pmd.lang.java.symboltable - package net.sourceforge.pmd.lang.java.symboltable
This entire package is deprecated.
net.sourceforge.pmd.lang.java.typeresolution - package net.sourceforge.pmd.lang.java.typeresolution
 
net.sourceforge.pmd.lang.java.typeresolution.visitors - package net.sourceforge.pmd.lang.java.typeresolution.visitors
 
net.sourceforge.pmd.lang.java.types - package net.sourceforge.pmd.lang.java.types
Support for compile-time type resolution on the AST.
net.sourceforge.pmd.lang.java.types.ast - package net.sourceforge.pmd.lang.java.types.ast
 
net.sourceforge.pmd.lang.java.types.internal.infer - package net.sourceforge.pmd.lang.java.types.internal.infer
 
net.sourceforge.pmd.lang.java.types.internal.infer.ast - package net.sourceforge.pmd.lang.java.types.internal.infer.ast
 
never() - Method in enum net.sourceforge.pmd.lang.java.types.TypeOps.Convertibility
Returns true if this is TypeOps.Convertibility.NEVER.
NEVER - net.sourceforge.pmd.lang.java.types.TypeOps.Convertibility
T is never implicitly convertible to S.
NEW - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
newCallSite(ExprMirror.InvocationMirror, JTypeMirror) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.Infer
 
newCharStream(JavaccTokenDocument) - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
 
newDocument(String) - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
 
newFunctionalSite(ExprMirror.FunctionalExprMirror, JTypeMirror) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.Infer
 
newTokenManager(CharStream) - Static method in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
Returns a new token manager for this language.
newTypeVar(JTypeParameterSymbol) - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
Returns a new type variable for the given symbol.
newVarId(String) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
Deprecated.
next() - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainIterator
Returns the next node in the chain that contains a declaration for the name this iterator searches.
NO_TYPE - Variable in class net.sourceforge.pmd.lang.java.types.TypeSystem
A constant to represent the normal absence of a type.
noApplicableCandidates(MethodCallSite) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
noApplicableCandidates(MethodCallSite) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
noCompileTimeDeclaration(MethodCallSite) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
noCompileTimeDeclaration(MethodCallSite) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
NON_SEALED - net.sourceforge.pmd.lang.java.ast.JModifier
Modifier "non-sealed" (preview feature of JDK 15).
NonThreadSafeSingletonRule - Class in net.sourceforge.pmd.lang.java.rule.multithreading
 
NonThreadSafeSingletonRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.multithreading.NonThreadSafeSingletonRule
 
nonWildcardParameterization(JClassType) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Returns the non-wildcard parameterization of the given functional interface type.
noop() - Static method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
NPATH - Static variable in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
Number of acyclic execution paths through a piece of code.
NPathComplexityRule - Class in net.sourceforge.pmd.lang.java.rule.design
Simple n-path complexity rule.
NPathComplexityRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.NPathComplexityRule
 
NULL - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
NULL_TYPE - Variable in class net.sourceforge.pmd.lang.java.types.TypeSystem
The bottom type of the reference type system.
NullAssignmentRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
 
NullAssignmentRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.NullAssignmentRule
 
NUMBER_OF_ACCESSORS - Static variable in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
 
NUMBER_OF_PUBLIC_FIELDS - Static variable in class net.sourceforge.pmd.lang.java.metrics.JavaMetrics
 
NUMERIC - net.sourceforge.pmd.lang.java.types.ast.ExprContext.ExprContextKind
Numeric context.

O

OBJECT - Variable in class net.sourceforge.pmd.lang.java.types.TypeSystem
Top type of the reference type system.
OccurrenceFinder - Class in net.sourceforge.pmd.lang.java.symboltable
Deprecated.
OccurrenceFinder() - Constructor for class net.sourceforge.pmd.lang.java.symboltable.OccurrenceFinder
Deprecated.
 
OCTAL_NUMERAL - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
OnlyOneReturnRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
 
OnlyOneReturnRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.OnlyOneReturnRule
 
OPENS - net.sourceforge.pmd.lang.java.ast.ASTModuleDirective.DirectiveType
 
OR - net.sourceforge.pmd.lang.java.ast.BinaryOp
OR "|" operator.
OR_ASSIGN - net.sourceforge.pmd.lang.java.ast.AssignmentOp
 
ORASSIGN - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
orEmpty(ASTList<N>) - Static method in class net.sourceforge.pmd.lang.java.ast.ASTList
Returns an empty list if the parameter is null, otherwise returns its ASTList.toList().
orEmptyStream(ASTList<N>) - Static method in class net.sourceforge.pmd.lang.java.ast.ASTList
 
OverloadSelectionResult - Interface in net.sourceforge.pmd.lang.java.types
Information about the overload-resolution for a specific expression.
OverloadSet<T> - Class in net.sourceforge.pmd.lang.java.types.internal.infer
Tracks a set of overloads, automatically pruning override-equivalent methods if possible.
OverrideBothEqualsAndHashcodeRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
 
OverrideBothEqualsAndHashcodeRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.OverrideBothEqualsAndHashcodeRule
 
overrides(JMethodSig, JMethodSig, JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Returns true if m1 overrides m2, when both are view as members of class origin.
overwrite(S) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder.ResolverBuilder
 

P

PACKAGE - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
PACKAGES_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.java.rule.design.LoosePackageCouplingRule
 
PARAM - Static variable in class net.sourceforge.pmd.lang.java.javadoc.JavadocTag
 
parameterise(JClassSymbol, List<? extends JTypeMirror>) - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
Produce a parameterized type with the given symbol and type arguments.
parse(String) - Static method in class net.sourceforge.pmd.lang.java.types.InvocationMatcher
parseAll(String, String...) - Static method in class net.sourceforge.pmd.lang.java.types.InvocationMatcher
Parses a InvocationMatcher.CompoundInvocationMatcher which matches any of the provided matchers.
parseImpl(CharStream, Parser.ParserTask) - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
 
PART_LETTER - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
plus(SubstVar, JTypeMirror) - Method in class net.sourceforge.pmd.lang.java.types.Substitution
Maps the given variable to the given type.
PLUS - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
PLUSASSIGN - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
PMDASMClassLoader - Class in net.sourceforge.pmd.lang.java.typeresolution
Deprecated.
PMDASMVisitor - Class in net.sourceforge.pmd.lang.java.typeresolution.visitors
Deprecated.
PMDASMVisitor(String) - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.visitors.PMDASMVisitor
Deprecated.
 
pmdClassLoader - Variable in class net.sourceforge.pmd.lang.java.symboltable.TypeSet.AbstractResolver
Deprecated.
the class loader.
polyResolutionFailure(JavaNode) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
PolySite<E extends ExprMirror.PolyExprMirror> - Class in net.sourceforge.pmd.lang.java.types.internal.infer
Context of a poly expression.
position(JavaNode) - Method in class net.sourceforge.pmd.lang.java.rule.security.TypeResTestRule
Deprecated.
 
POST_DECREMENT - net.sourceforge.pmd.lang.java.ast.UnaryOp
Postfix decrement operator "--".
POST_INCREMENT - net.sourceforge.pmd.lang.java.ast.UnaryOp
Postfix increment operator "++".
ppBound(InferenceVar, InferenceVar.BoundKind, JTypeMirror) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
ppHighlight(JMethodSig) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
ppMethod(JMethodSig) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
PRE_DECREMENT - net.sourceforge.pmd.lang.java.ast.UnaryOp
Prefix decrement operator "--".
PRE_INCREMENT - net.sourceforge.pmd.lang.java.ast.UnaryOp
Prefix increment operator "++".
PrematureDeclarationRule - Class in net.sourceforge.pmd.lang.java.rule.codestyle
Checks for variables in methods that are defined before they are really needed.
PrematureDeclarationRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codestyle.PrematureDeclarationRule
 
PreserveStackTraceRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
 
PreserveStackTraceRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.PreserveStackTraceRule
 
prettyPrint(JTypeVisitable) - Static method in class net.sourceforge.pmd.lang.java.types.TypePrettyPrint
 
prettyPrint(JTypeVisitable, TypePrettyPrint.TypePrettyPrinter) - Static method in class net.sourceforge.pmd.lang.java.types.TypePrettyPrint
 
prettyPrintWithSimpleNames(JTypeVisitable) - Static method in class net.sourceforge.pmd.lang.java.types.TypePrettyPrint
 
PRIMITIVE - net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.TypeSpecies
 
PRIMITIVE_PACKAGE - Static variable in interface net.sourceforge.pmd.lang.java.symbols.JAccessibleElementSymbol
Conventional return value of JAccessibleElementSymbol.getPackageName() for primitive types.
PrimitiveTypeResolver() - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.PrimitiveTypeResolver
Deprecated.
 
PrimitiveWrapperInstantiationRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
 
PrimitiveWrapperInstantiationRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.PrimitiveWrapperInstantiationRule
 
printExpr(ExprMirror) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
println(String) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
printMethodHeader(boolean) - Method in class net.sourceforge.pmd.lang.java.types.TypePrettyPrint.TypePrettyPrinter
Print the declaring type of the method and its type parameters.
printMethodResult(boolean) - Method in class net.sourceforge.pmd.lang.java.types.TypePrettyPrint.TypePrettyPrinter
Print the return type of methods (as postfix).
printTypeVarBounds(OptionalBool) - Method in class net.sourceforge.pmd.lang.java.types.TypePrettyPrint.TypePrettyPrinter
Print the bounds of type variables.
PRIVATE - net.sourceforge.pmd.lang.java.ast.JModifier
 
PRIVATE - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
processToken(Tokens, JavaccToken, String) - Method in class net.sourceforge.pmd.cpd.JavaTokenizer
 
projectUpwards(JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Returns the upwards projection of the given type, with respect to the set of capture variables that are found in it.
propagateAndAbort(InferenceContext, InferenceContext) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
propagateAndAbort(InferenceContext, InferenceContext) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.VerboseLogger
 
ProperCloneImplementationRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
 
ProperCloneImplementationRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.ProperCloneImplementationRule
 
PROTECTED - net.sourceforge.pmd.lang.java.ast.JModifier
 
PROTECTED - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
PROVIDES - net.sourceforge.pmd.lang.java.ast.ASTModuleDirective.DirectiveType
 
PUBLIC - net.sourceforge.pmd.lang.java.ast.JModifier
 
PUBLIC - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 

Q

QualifiableExpression - Interface in net.sourceforge.pmd.lang.java.ast
Node that may be qualified by an expression, e.g.
qualifyTvars(boolean) - Method in class net.sourceforge.pmd.lang.java.types.TypePrettyPrint.TypePrettyPrinter
Qualify type variables with the name of the declaring symbol.

R

rawType(JTypeDeclSymbol) - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
Like TypeSystem.typeOf(JTypeDeclSymbol, boolean), defaulting the erased parameter to true.
RBRACE - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
RBRACKET - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
READ - net.sourceforge.pmd.lang.java.ast.ASTAssignableExpr.AccessType
The value of the variable is read.
RedundantFieldInitializerRule - Class in net.sourceforge.pmd.lang.java.rule.performance
Detects redundant field initializers, i.e.
RedundantFieldInitializerRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.performance.RedundantFieldInitializerRule
 
REFERENCE - net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.TypeSpecies
 
REM - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
REMASSIGN - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
REQUIRES - net.sourceforge.pmd.lang.java.ast.ASTModuleDirective.DirectiveType
 
ResolutionFailure - Class in net.sourceforge.pmd.lang.java.types.internal.infer
An exception occurring during overload resolution.
resolve(String) - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChain
Returns the list of symbols accessible by simple name in the scope of this group.
resolve(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet.CurrentPackageResolver
Deprecated.
 
resolve(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet.ExplicitImportResolver
Deprecated.
 
resolve(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet.FullyQualifiedNameResolver
Deprecated.
 
resolve(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet.ImplicitImportResolver
Deprecated.
 
resolve(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet.ImportOnDemandResolver
Deprecated.
 
resolve(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet.PrimitiveTypeResolver
Deprecated.
 
resolve(String) - Method in interface net.sourceforge.pmd.lang.java.symboltable.TypeSet.Resolver
Deprecated.
Resolve the class by the given name
resolve(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet.VoidResolver
Deprecated.
 
resolveClassFromBinaryName(String) - Method in class net.sourceforge.pmd.lang.java.symbols.internal.asm.AsmSymbolResolver
 
resolveClassFromBinaryName(String) - Method in interface net.sourceforge.pmd.lang.java.symbols.SymbolResolver
Resolves a class symbol from its canonical name.
resolveClassFromCanonicalName(String) - Method in interface net.sourceforge.pmd.lang.java.symbols.SymbolResolver
Resolves a class symbol from its canonical name.
resolveFirst(String) - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.NameResolver
Resolves the first symbol that would be part of the list yielded by NameResolver.resolveHere(String) for the given name.
resolveFirst(String) - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.NameResolver.SingleNameResolver
 
resolveFirst(String) - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChain
Returns the first symbol that would be yielded by ShadowChain.resolve(String), if it would return a non-empty list.
resolveHere(String) - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.NameResolver
Returns all symbols known by this resolver that have the given simple name.
resolveHere(String) - Method in interface net.sourceforge.pmd.lang.java.symbols.table.coreimpl.NameResolver.SingleNameResolver
 
resolveMaybeInner(String, String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet.AbstractResolver
Deprecated.
Resolves the given class name with the given FQCN, considering it may be an inner class.
ResolverBuilder() - Constructor for class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder.ResolverBuilder
 
ResolverBuilder(MostlySingularMultimap.Builder<String, S>) - Constructor for class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder.ResolverBuilder
 
resolveType(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassScope
 
resolveType(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
Tries to resolve a class by name.
RETURN - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
RETURN - Static variable in class net.sourceforge.pmd.lang.java.javadoc.JavadocTag
 
returnsArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTResultType
Deprecated.
 
RIGHT_SHIFT - net.sourceforge.pmd.lang.java.ast.BinaryOp
Right shift ">>" operator.
RIGHT_SHIFT_ASSIGN - net.sourceforge.pmd.lang.java.ast.AssignmentOp
 
rootGroup() - Static method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder
Returns the singleton for the chain root.
RPAREN - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
RSIGNEDSHIFT - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
RSIGNEDSHIFTASSIGN - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
RUNSIGNEDSHIFT - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
RUNSIGNEDSHIFTASSIGN - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 

S

SAME_FILE - net.sourceforge.pmd.lang.java.symbols.table.ScopeInfo
Sibling types in the same file, that are not nested into one another.
SAME_PACKAGE - net.sourceforge.pmd.lang.java.symbols.table.ScopeInfo
 
SC_AND - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
SC_OR - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
ScopeAndDeclarationFinder - Class in net.sourceforge.pmd.lang.java.symboltable
Deprecated.
ScopeAndDeclarationFinder() - Constructor for class net.sourceforge.pmd.lang.java.symboltable.ScopeAndDeclarationFinder
Deprecated.
Creates a new ScopeAndDeclarationFinder using the current class loader.
ScopeAndDeclarationFinder(ClassLoader) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.ScopeAndDeclarationFinder
Deprecated.
ScopeInfo - Enum in net.sourceforge.pmd.lang.java.symbols.table
A scope tag for java shadow chains.
SEALED - net.sourceforge.pmd.lang.java.ast.JModifier
Modifier "sealed" (preview feature of JDK 15).
Search - Class in net.sourceforge.pmd.lang.java.symboltable
Deprecated.
Search(JavaNameOccurrence) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.Search
Deprecated.
 
SEE - Static variable in class net.sourceforge.pmd.lang.java.javadoc.JavadocTag
 
selectInner(JClassSymbol, List<? extends JTypeMirror>) - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
Select an enclosing type.
SEMICOLON - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
SERIALIZABLE - Variable in class net.sourceforge.pmd.lang.java.types.TypeSystem
The interface Serializable.
setArgumentCount(int) - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
 
setASTCompilationUnitPackage(String) - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet
Deprecated.
 
setAstInfo(AstInfo<ASTCompilationUnit>) - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
 
setCachedExactMethod(JMethodSig) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.MethodRefMirror
 
setCompileTimeDecl(ASTMethodReference, JMethodSig) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
setCompileTimeDecl(JMethodSig) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.MethodRefMirror
This is the method that is referenced.
setCtDecl(ExprMirror.InvocationMirror.MethodCtDecl) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.InvocationMirror
 
setFunctionalMethod(JMethodSig) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.FunctionalExprMirror
This is the method that is overridden in getInferredType.
setFunctionalMethod(FunctionalExpression, JMethodSig) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
setIgnoreAnnotations(boolean) - Method in class net.sourceforge.pmd.cpd.JavaTokenizer
 
setIgnoreIdentifiers(boolean) - Method in class net.sourceforge.pmd.cpd.JavaTokenizer
 
setIgnoreLiterals(boolean) - Method in class net.sourceforge.pmd.cpd.JavaTokenizer
 
setImage(String) - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceType
 
setImage(String) - Method in class net.sourceforge.pmd.lang.java.ast.ASTInfixExpression
 
setInferredType(JTypeMirror) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.FunctionalExprMirror
For a method ref or lambda, this is the type of the functional interface.
setInferredType(JTypeMirror) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror
Set the type of the underlying ast node.
setIsEnum(boolean) - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassScope
 
setIsMethodOrConstructorInvocation() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
 
setNameDeclaration(VariableNameDeclaration) - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
Deprecated.
setNameDeclaration(NameDeclaration) - Method in class net.sourceforge.pmd.lang.java.ast.ASTName
Deprecated.
setNameWhichThisQualifies(NameOccurrence) - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
 
setOverload(InvocationNode, OverloadSelectionResult) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
setProperties(Properties) - Method in class net.sourceforge.pmd.cpd.JavaLanguage
 
setProperties(Properties) - Method in class net.sourceforge.pmd.cpd.JavaTokenizer
 
setQname(ASTAnyTypeDeclaration, String, String) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
setScope(JavaNode, Scope) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
setSignature(ASTFieldAccess, JVariableSig.FieldSig) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
setSignature(ASTVariableAccess, JVariableSig) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
setStandalone() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.ExprMirror.BranchingMirror
Record on the AST node that is is a standalone expression.
setStandaloneTernary(ASTConditionalExpression) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
setSymbol(SymbolDeclaratorNode, JElementSymbol) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
setSymbolTable(JavaNode, JSymbolTable) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
setTypedSym(ASTFieldAccess, JVariableSig.FieldSig) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
setTypedSym(ASTVariableAccess, JVariableSig) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
setTypeMirrorInternal(TypeNode, JTypeMirror) - Static method in class net.sourceforge.pmd.lang.java.ast.InternalApiBridge
 
shadow(ShadowChainNode<S, I>, I, NameResolver<S>) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder
 
shadow(ShadowChainNode<S, I>, I, ShadowChainBuilder.ResolverBuilder) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder
 
shadow(ShadowChainNode<S, I>, I, S) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder
 
ShadowChain<S,​I> - Interface in net.sourceforge.pmd.lang.java.symbols.table.coreimpl
A shadow chain is a linked list of NameResolvers, which handles shadowing relations between declarations.
ShadowChainBuilder<S,​I> - Class in net.sourceforge.pmd.lang.java.symbols.table.coreimpl
Build a shadow chain for some type.
ShadowChainBuilder() - Constructor for class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder
 
ShadowChainBuilder.ResolverBuilder - Class in net.sourceforge.pmd.lang.java.symbols.table.coreimpl
Helper to build a new name resolver.
ShadowChainIterator<S,​I> - Interface in net.sourceforge.pmd.lang.java.symbols.table.coreimpl
Iterates up a ShadowChain chain to find a given name.
ShadowChainNode<S,​I> - Interface in net.sourceforge.pmd.lang.java.symbols.table.coreimpl
A ShadowChain viewed as individual nodes.
shadowWithCache(ShadowChainNode<S, I>, I, Map<String, List<S>>, NameResolver<S>) - Method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.ShadowChainBuilder
 
SHIFT_OPS - Static variable in enum net.sourceforge.pmd.lang.java.ast.BinaryOp
 
SHORT - net.sourceforge.pmd.lang.java.types.JPrimitiveType.PrimitiveTypeKind
 
SHORT - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
SHORT - Variable in class net.sourceforge.pmd.lang.java.types.TypeSystem
Primitive type short.
shouldTakePrecedence(T, T) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.OverloadSet
 
SignatureDeclareThrowsExceptionRule - Class in net.sourceforge.pmd.lang.java.rule.design
A method/constructor shouldn't explicitly throw java.lang.Exception, since it is unclear which exceptions that can be thrown from the methods.
SignatureDeclareThrowsExceptionRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.SignatureDeclareThrowsExceptionRule
 
sigOf(JExecutableSymbol) - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
 
sigOf(JExecutableSymbol, Substitution) - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
 
sigOf(JClassType, JFormalParamSymbol) - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
 
sigOf(JClassType, JLocalVariableSymbol) - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
 
sigOf(JTypeMirror, JFieldSymbol) - Method in class net.sourceforge.pmd.lang.java.types.TypeSystem
 
SimpleLogger(PrintStream) - Constructor for class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
SimpleTypedNameDeclaration - Class in net.sourceforge.pmd.lang.java.symboltable
Deprecated.
SimpleTypedNameDeclaration(String, Class<?>) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.SimpleTypedNameDeclaration
Deprecated.
Creates a new SimpleTypedNameDeclaration with the given type
SimpleTypedNameDeclaration(String, Class<?>, SimpleTypedNameDeclaration) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.SimpleTypedNameDeclaration
Deprecated.
 
SimplifiableTestAssertionRule - Class in net.sourceforge.pmd.lang.java.rule.bestpractices
 
SimplifiableTestAssertionRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.bestpractices.SimplifiableTestAssertionRule
 
SimplifyBooleanReturnsRule - Class in net.sourceforge.pmd.lang.java.rule.design
 
SimplifyBooleanReturnsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.SimplifyBooleanReturnsRule
 
SimplifyConditionalRule - Class in net.sourceforge.pmd.lang.java.rule.design
 
SimplifyConditionalRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.SimplifyConditionalRule
 
SINCE - Static variable in class net.sourceforge.pmd.lang.java.javadoc.JavadocTag
 
SINGLE_IMPORT - net.sourceforge.pmd.lang.java.symbols.table.ScopeInfo
 
SINGLE_LINE_COMMENT - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
SingleLineComment - Class in net.sourceforge.pmd.lang.java.ast
 
SingleLineComment(JavaccToken) - Constructor for class net.sourceforge.pmd.lang.java.ast.SingleLineComment
 
SingleMethodSingletonRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
Returns Checks if the singleton rule is used properly.
SingleMethodSingletonRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.SingleMethodSingletonRule
 
singleOrNull(ASTList<N>) - Static method in class net.sourceforge.pmd.lang.java.ast.ASTList
Returns the element if there is exactly one, otherwise returns null.
singleton(String, S) - Static method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.CoreResolvers
 
SingletonClassReturningNewInstanceRule - Class in net.sourceforge.pmd.lang.java.rule.errorprone
 
SingletonClassReturningNewInstanceRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.errorprone.SingletonClassReturningNewInstanceRule
 
SingularFieldRule - Class in net.sourceforge.pmd.lang.java.rule.design
A singular field is a field that may be converted to a local variable.
SingularFieldRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.SingularFieldRule
 
singularMapResolver(Map<String, S>) - Static method in class net.sourceforge.pmd.lang.java.symbols.table.coreimpl.CoreResolvers
 
size() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArguments
Deprecated.
Gets the number of arguments.
size() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameters
Returns the number of formal parameters.
size() - Method in class net.sourceforge.pmd.lang.java.ast.ASTList
Returns the number of nodes in this list.
sizeOrZero(ASTList<?>) - Static method in class net.sourceforge.pmd.lang.java.ast.ASTList
 
SKIP_ANNOTATIONS_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.java.rule.errorprone.AvoidDuplicateLiteralsRule
 
skipArgAsNonPertinent(int, ExprMirror) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
skipArgAsNonPertinent(int, ExprMirror) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.VerboseLogger
 
skipInstantiation(JMethodSig, MethodCallSite) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
skipInstantiation(JMethodSig, MethodCallSite) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.VerboseLogger
 
SLASH - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
SLASHASSIGN - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
somehow() - Method in enum net.sourceforge.pmd.lang.java.types.TypeOps.Convertibility
Returns true if this is anything but TypeOps.Convertibility.NEVER.
SourceFileScope - Class in net.sourceforge.pmd.lang.java.symboltable
This scope is the outer most scope of a Java file.
SourceFileScope(ClassLoader) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
 
SourceFileScope(ClassLoader, String) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
 
splitName(Node) - Method in class net.sourceforge.pmd.lang.java.rule.codestyle.UnnecessaryImportRule
 
STAR - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
STARASSIGN - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
start(RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule
 
start(RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.bestpractices.GuardLogStatementRule
 
start(RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.design.UselessOverridingMethodRule
 
start(RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.documentation.CommentContentRule
Capture values and perform all the case-conversions once per run
start(RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.documentation.CommentRequiredRule
 
start(RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.errorprone.CloseResourceRule
 
start(RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.errorprone.ConstructorCallsOverridableMethodRule
 
start(RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.multithreading.NonThreadSafeSingletonRule
 
startArg(int, ExprMirror, JTypeMirror) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
startArg(int, ExprMirror, JTypeMirror) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.VerboseLogger
 
startArgsChecks() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
startArgsChecks() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.VerboseLogger
 
startInference(JMethodSig, MethodCallSite, MethodResolutionPhase) - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
startInference(JMethodSig, MethodCallSite, MethodResolutionPhase) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.VerboseLogger
 
startReturnChecks() - Method in interface net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger
 
startReturnChecks() - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.VerboseLogger
 
startSection(String) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.TypeInferenceLogger.SimpleLogger
 
STATIC - net.sourceforge.pmd.lang.java.ast.ASTModuleDirective.RequiresModifier
 
STATIC - net.sourceforge.pmd.lang.java.ast.JModifier
 
STATIC - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
streamDeclaredMethods(Predicate<? super JMethodSymbol>) - Method in class net.sourceforge.pmd.lang.java.types.JArrayType
 
streamDeclaredMethods(Predicate<? super JMethodSymbol>) - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Like streamMethods, but does not recurse into supertypes.
streamMethods(Predicate<? super JMethodSymbol>) - Method in class net.sourceforge.pmd.lang.java.types.JArrayType
 
streamMethods(Predicate<? super JMethodSymbol>) - Method in class net.sourceforge.pmd.lang.java.types.JIntersectionType
 
streamMethods(Predicate<? super JMethodSymbol>) - Method in interface net.sourceforge.pmd.lang.java.types.JTypeMirror
Returns a stream of method signatures declared in and inherited by this type.
streamMethods(Predicate<? super JMethodSymbol>) - Method in interface net.sourceforge.pmd.lang.java.types.JTypeVar
 
streamMethods(Predicate<? super JMethodSymbol>) - Method in interface net.sourceforge.pmd.lang.java.types.JWildcardType
 
STRICTFP - net.sourceforge.pmd.lang.java.ast.JModifier
 
STRICTFP - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
STRING - net.sourceforge.pmd.lang.java.types.ast.ExprContext.ExprContextKind
String contexts, which convert the operand to a string using String.valueOf(Object), or the equivalent for a primitive type.
STRING_ESCAPE - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
STRING_LITERAL - Static variable in class net.sourceforge.pmd.lang.java.ast.JavaTokenKinds
 
StringInstantiationRule - Class in net.sourceforge.pmd.lang.java.rule.performance
 
StringInstantiationRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.performance.StringInstantiationRule
 
SUB - net.sourceforge.pmd.lang.java.ast.BinaryOp
Subtraction "-" operator.
SUB_ASSIGN - net.sourceforge.pmd.lang.java.ast.AssignmentOp
 
subst(JTypeMirror, Function<? super SubstVar, ? extends JTypeMirror>) - Static method in class net.sourceforge.pmd.lang.java.types.TypeOps
Replace the type variables occurring in the given type to their image by the given function.
subst(Function<? super SubstVar, ? extends JTypeMirror>) - Method in class net.sourceforge.pmd.lang.java.types.internal.infer.InferenceVar
 
subst(Function<? super SubstVar, ? extends JTypeMirror>) - Method in class net.sourceforge.pmd.lang.java.types.JArrayType
 
subst(Function<? super SubstVar, ? extends JTypeMirror>) - Method in interface net.sourceforge.pmd.lang.java.types.JClassType
 
subst(Function<? super SubstVar, ? extends JTypeMirror>) - Method in class net.sourceforge.pmd.lang.java.types.JIntersectionType