- call(Context, List) - Method in class net.sourceforge.pmd.lang.java.xpath.GetCommentOnFunction
-
- call(Context, List) - Method in class net.sourceforge.pmd.lang.java.xpath.TypeOfFunction
-
- canParse() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaParser
-
- CanSuppressWarnings - Interface in net.sourceforge.pmd.lang.java.ast
-
- CASE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- CASE_SENSITIVE_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.java.rule.comments.CommentContentRule
-
- CastExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- CATCH - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- CatchStatement() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- CHAR - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- CHARACTER_LITERAL - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- check(EnumeratedMultiProperty<String>, Node, Object) - Method in class net.sourceforge.pmd.lang.java.rule.basic.AvoidBranchingStatementAsLastInLoopRule
-
- check(Node) - Method in class net.sourceforge.pmd.lang.java.rule.imports.UnusedImportsRule
-
- check(Node) - Method in class net.sourceforge.pmd.lang.java.typeresolution.rules.imports.UnusedImports
-
- CHECK_ADDRESS_TYPES_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.java.rule.basic.AvoidUsingHardCodedIPRule
-
- CHECK_BREAK_LOOP_TYPES - Static variable in class net.sourceforge.pmd.lang.java.rule.basic.AvoidBranchingStatementAsLastInLoopRule
-
- CHECK_CONTINUE_LOOP_TYPES - Static variable in class net.sourceforge.pmd.lang.java.rule.basic.AvoidBranchingStatementAsLastInLoopRule
-
- CHECK_DO - Static variable in class net.sourceforge.pmd.lang.java.rule.basic.AvoidBranchingStatementAsLastInLoopRule
-
- CHECK_FOR - Static variable in class net.sourceforge.pmd.lang.java.rule.basic.AvoidBranchingStatementAsLastInLoopRule
-
- CHECK_RETURN_LOOP_TYPES - Static variable in class net.sourceforge.pmd.lang.java.rule.basic.AvoidBranchingStatementAsLastInLoopRule
-
- CHECK_WHILE - Static variable in class net.sourceforge.pmd.lang.java.rule.basic.AvoidBranchingStatementAsLastInLoopRule
-
- checkForDuplicatedNameDeclaration(NameDeclaration) - Method in class net.sourceforge.pmd.lang.java.symboltable.AbstractJavaScope
-
- checkIPv4 - Variable in class net.sourceforge.pmd.lang.java.rule.basic.AvoidUsingHardCodedIPRule
-
- checkIPv4MappedIPv6 - Variable in class net.sourceforge.pmd.lang.java.rule.basic.AvoidUsingHardCodedIPRule
-
- checkIPv6 - Variable in class net.sourceforge.pmd.lang.java.rule.basic.AvoidUsingHardCodedIPRule
-
- checkNodeAndReport(Object, Node, Node) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractInefficientZeroCheck
-
Checks whether the given expression is a equality/relation expression that
compares with a size() call.
- CheckResultSetRule - Class in net.sourceforge.pmd.lang.java.rule.basic
-
Rule that verifies, that the return values of next(), first(), last(), etc.
- CheckResultSetRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.basic.CheckResultSetRule
-
- CheckSkipResultRule - Class in net.sourceforge.pmd.lang.java.rule.basic
-
- CheckSkipResultRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.basic.CheckSkipResultRule
-
- checksNothing() - Method in class net.sourceforge.pmd.lang.java.rule.basic.AvoidBranchingStatementAsLastInLoopRule
-
- checksNothing() - Method in class net.sourceforge.pmd.lang.java.rule.coupling.LoosePackageCouplingRule
-
- childrenAccept(JavaParserVisitor, Object) - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
-
Accept the visitor.
- childrenAccept(JavaParserVisitor, Object) - Method in interface net.sourceforge.pmd.lang.java.ast.JavaNode
-
Accept the visitor.
- CLASS - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- CLASSES_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.java.rule.coupling.LoosePackageCouplingRule
-
- ClassNameDeclaration - Class in net.sourceforge.pmd.lang.java.symboltable
-
- ClassNameDeclaration(ASTClassOrInterfaceDeclaration) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.ClassNameDeclaration
-
- classNameExists(String) - Method in class net.sourceforge.pmd.lang.java.typeresolution.ClassTypeResolver
-
Check whether the supplied class name exists.
- ClassNamingConventionsRule - Class in net.sourceforge.pmd.lang.java.rule.naming
-
- ClassNamingConventionsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.naming.ClassNamingConventionsRule
-
- ClassOrInterfaceBody() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- ClassOrInterfaceBodyDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- ClassOrInterfaceDeclaration(int) - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- ClassOrInterfaceType() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- ClassScope - Class in net.sourceforge.pmd.lang.java.symboltable
-
This scope represents one Java class.
- ClassScope(String) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.ClassScope
-
- ClassScope() - Constructor for class net.sourceforge.pmd.lang.java.symboltable.ClassScope
-
This is only for anonymous inner classes
FIXME - should have name like Foo$1, not Anonymous$1
to get this working right, the parent scope needs
to be passed in when instantiating a ClassScope
- ClassTypeResolver - Class in net.sourceforge.pmd.lang.java.typeresolution
-
- ClassTypeResolver() - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.ClassTypeResolver
-
- ClassTypeResolver(ClassLoader) - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.ClassTypeResolver
-
- clearNodeScope(Node) - Method in class net.sourceforge.pmd.lang.java.ast.JJTJavaParserState
-
- CloneMethodMustImplementCloneable - Class in net.sourceforge.pmd.lang.java.typeresolution.rules
-
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.
- CloneMethodMustImplementCloneable() - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.rules.CloneMethodMustImplementCloneable
-
- closeNodeScope(Node, int) - Method in class net.sourceforge.pmd.lang.java.ast.JJTJavaParserState
-
- closeNodeScope(Node, boolean) - Method in class net.sourceforge.pmd.lang.java.ast.JJTJavaParserState
-
- CloseResourceRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
Makes sure you close your database connections.
- CloseResourceRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.CloseResourceRule
-
- CodeInCommentsRule - Class in net.sourceforge.pmd.lang.java.rule.comments
-
- CodeInCommentsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.comments.CodeInCommentsRule
-
- COLON - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- COMMA - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- comment(Comment) - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
-
- comment() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
-
- Comment - Class in net.sourceforge.pmd.lang.java.ast
-
- Comment(Token) - Constructor for class net.sourceforge.pmd.lang.java.ast.Comment
-
- CommentContentRule - Class in net.sourceforge.pmd.lang.java.rule.comments
-
A rule that checks for illegal words in the comment text.
- CommentContentRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.comments.CommentContentRule
-
- CommentRequiredRule - Class in net.sourceforge.pmd.lang.java.rule.comments
-
- CommentRequiredRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.comments.CommentRequiredRule
-
- comments - Variable in class net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager
-
- CommentSizeRule - Class in net.sourceforge.pmd.lang.java.rule.comments
-
A rule to manage those who just can't shut up...
- CommentSizeRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.comments.CommentSizeRule
-
- CommentUtil - Class in net.sourceforge.pmd.lang.java.ast
-
- CompareObjectsWithEqualsRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
- CompareObjectsWithEqualsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.CompareObjectsWithEqualsRule
-
- CompilationUnit() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
THE JAVA LANGUAGE GRAMMAR STARTS HERE *
- compilePatternsFromList(List<String>) - Static method in class net.sourceforge.pmd.lang.java.rule.regex.RegexHelper
-
Compiles a list of regex into a list of patterns.
- compute(ASTMethodDeclaration) - Method in class net.sourceforge.pmd.lang.java.dfa.VariableAccessVisitor
-
- compute(ASTConstructorDeclaration) - Method in class net.sourceforge.pmd.lang.java.dfa.VariableAccessVisitor
-
- ConditionalAndExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- ConditionalExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- ConditionalOrExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- configureImports(ClassLoader, 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.design
-
if (x != y) { diff(); } else { same(); } and
(!x ? diff() : same());.
- ConfusingTernaryRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.ConfusingTernaryRule
-
- ConsecutiveAppendsShouldReuseRule - Class in net.sourceforge.pmd.lang.java.rule.strings
-
Original rule was written with XPath, but didn't verify whether the two calls to append
would have been done on the same variable.
- ConsecutiveAppendsShouldReuseRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.strings.ConsecutiveAppendsShouldReuseRule
-
- ConsecutiveLiteralAppendsRule - Class in net.sourceforge.pmd.lang.java.rule.strings
-
This rule finds concurrent calls to StringBuffer/Builder.append where String literals
are used It would be much better to make these calls using one call to
.append
example:
- ConsecutiveLiteralAppendsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.strings.ConsecutiveLiteralAppendsRule
-
- CONST - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- ConstructorCallsOverridableMethodRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
Searches through all methods and constructors called from constructors.
- ConstructorCallsOverridableMethodRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.ConstructorCallsOverridableMethodRule
-
- ConstructorDeclaration(int) - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- contains(NameOccurrence) - Method in class net.sourceforge.pmd.lang.java.symboltable.AbstractJavaScope
-
- containsComment() - Method in class net.sourceforge.pmd.lang.java.ast.ASTBlock
-
- containsComment() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorDeclaration
-
- CONTINUE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- ContinueStatement() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- countNodeChildren(Node, Object) - Method in class net.sourceforge.pmd.lang.java.rule.codesize.AbstractNcssCountRule
-
Count the number of children of the given Java node.
- CouplingBetweenObjectsRule - Class in net.sourceforge.pmd.lang.java.rule.coupling
-
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.coupling.CouplingBetweenObjectsRule
-
- CPD_END - Static variable in class net.sourceforge.pmd.cpd.JavaTokenizer
-
- CPD_START - Static variable in class net.sourceforge.pmd.cpd.JavaTokenizer
-
- createDataFlowNode(List<DataFlowNode>, Node) - Method in class net.sourceforge.pmd.lang.java.JavaDataFlowHandler
-
- createJavaParser(Reader) - Method in class net.sourceforge.pmd.lang.java.AbstractJavaParser
-
Subclass should override this method to modify the JavaParser as needed.
- createJavaParser(Reader) - Method in class net.sourceforge.pmd.lang.java.Java13Parser
-
- createJavaParser(Reader) - Method in class net.sourceforge.pmd.lang.java.Java14Parser
-
- createJavaParser(Reader) - Method in class net.sourceforge.pmd.lang.java.Java15Parser
-
- createJavaParser(Reader) - Method in class net.sourceforge.pmd.lang.java.Java16Parser
-
- createJavaParser(Reader) - Method in class net.sourceforge.pmd.lang.java.Java17Parser
-
- createJavaParser(Reader) - Method in class net.sourceforge.pmd.lang.java.Java18Parser
-
- createRuleViolation(Rule, RuleContext, Node, String) - Method in class net.sourceforge.pmd.lang.java.rule.JavaRuleViolationFactory
-
- createRuleViolation(Rule, RuleContext, Node, String, int, int) - Method in class net.sourceforge.pmd.lang.java.rule.JavaRuleViolationFactory
-
- createTokenManager(Reader) - Method in class net.sourceforge.pmd.lang.java.AbstractJavaParser
-
- curChar - Variable in class net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager
-
- currentToken - Variable in exception net.sourceforge.pmd.lang.java.ast.ParseException
-
This is the last token that has been consumed successfully.
- CyclomaticComplexityRule - Class in net.sourceforge.pmd.lang.java.rule.codesize
-
- CyclomaticComplexityRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codesize.CyclomaticComplexityRule
-
- GE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- generateParseException() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Generate ParseException.
- GenericClassCounterRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
A generic rule that can be configured to "count" classes of certain
type based on either their name (full name, prefix, suffixes anything can
be matched with a regex), and/or
their type.
- GenericClassCounterRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.GenericClassCounterRule
-
- GenericLiteralCheckerRule - Class in net.sourceforge.pmd.lang.java.rule
-
This class allow to match a Literal (most likely a String) with a regex pattern.
- GenericLiteralCheckerRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.GenericLiteralCheckerRule
-
- getAccessNodeParent() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassNameDeclaration
-
- getAccessNodeParent() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
-
- getArgumentCount() - Method in class net.sourceforge.pmd.lang.java.ast.ASTArguments
-
- getArgumentCount() - Method in class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
-
- getArgumentCount() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimarySuffix
-
Get the number of arguments for this primary suffix.
- getArgumentCount() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
-
- getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
- getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
-
- getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
-
- getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimitiveType
-
- getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTReferenceType
-
- getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTType
-
- getArrayDepth() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
- getArrayDepth() - Method in interface net.sourceforge.pmd.lang.java.ast.Dimensionable
-
- getASTCompilationUnitPackage() - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet
-
- getBlock() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
- getClassDeclarations() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassScope
-
- getClassDeclarations() - Method in class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
-
- getClassName() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassScope
-
- getClassTypeResolver() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
-
- GetCommentOnFunction - Class in net.sourceforge.pmd.lang.java.xpath
-
The XPath query "//VariableDeclarator[contains(getCommentOn(), '//password')]"
will find all variables declared that are annotated with the password comment.
- GetCommentOnFunction() - Constructor for class net.sourceforge.pmd.lang.java.xpath.GetCommentOnFunction
-
- getComments() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
-
- getComparisonTargets() - Method in class net.sourceforge.pmd.lang.java.rule.AbstractInefficientZeroCheck
-
For each relation/equality operator, comparison targets need to define.
- getComparisonTargets() - Method in class net.sourceforge.pmd.lang.java.rule.design.UseCollectionIsEmptyRule
-
- getComplexityAverage() - Method in class net.sourceforge.pmd.lang.java.rule.codesize.StdCyclomaticComplexityRule.Entry
-
- getDataFlowFacade() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
- getDataFlowHandler() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
- getDecl() - Method in class net.sourceforge.pmd.lang.java.symboltable.ImageFinderFunction
-
- getDeclaratorId() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
-
- getDeclaringType(Node) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractJavaRule
-
Gets the Image of the first parent node of type
ASTClassOrInterfaceDeclaration or null
- getDFAGraphRule() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
- getDumpFacade(Writer, String, boolean) - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
- getFinally() - Method in class net.sourceforge.pmd.lang.java.ast.ASTTryStatement
-
- getFirstClassOrInterfaceTypeImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTThrowStatement
-
Gets the image of the first ASTClassOrInterfaceType child or null
if none is found.
- getFirstNameImage(Node) - Method in class net.sourceforge.pmd.lang.java.rule.sunsecure.AbstractSunSecureRule
-
- getImage() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
-
- getImportedClasses(String) - Method in class net.sourceforge.pmd.lang.java.typeresolution.PMDASMClassLoader
-
- getImportedName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
-
- getImportedNameNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
-
- getImportsCount() - Method in class net.sourceforge.pmd.lang.java.symboltable.TypeSet
-
- getImportWrapper(Node) - Method in class net.sourceforge.pmd.lang.java.rule.imports.UnusedImportsRule
-
- getInnerClasses() - Method in class net.sourceforge.pmd.lang.java.typeresolution.visitors.PMDASMVisitor
-
- getInstance(ClassLoader) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.PMDASMClassLoader
-
A new PMDASMClassLoader is created for each compilation unit, this method allows to reuse the same
PMDASMClassLoader across all the compilation units.
- getLabelStatementNodeClass() - Method in class net.sourceforge.pmd.lang.java.JavaDataFlowHandler
-
- getLocation() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
-
- getMethodDeclarations() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassScope
-
- getMethodName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
Gets the name of the method.
- getMethodNameDeclaratorNode() - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodNameDeclaration
-
- getMethods() - Method in class net.sourceforge.pmd.lang.java.dfa.JavaDFAGraphRule
-
- getModifiers() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
- getModifiers() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
-
- getName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
- getName() - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodScope
-
- getNameDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.ASTName
-
- getNameDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
- getNameForWhichThisIsAQualifier() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
-
- getNames() - Method in class net.sourceforge.pmd.lang.java.symboltable.NameFinder
-
- getNextToken() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Get the next Token.
- getNextToken() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager
-
Get the next Token.
- getNextToken() - Method in class net.sourceforge.pmd.lang.java.JavaTokenManager
-
- getPackage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
-
- getPackageDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit
-
- getPackageName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
-
- getPackageName() - Method in class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
-
- getPackageNameImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPackageDeclaration
-
- getPackages() - Method in class net.sourceforge.pmd.lang.java.typeresolution.visitors.PMDASMVisitor
-
- getParameterCount() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConstructorDeclaration
-
- getParameterCount() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameters
-
- 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.ASTConstructorDeclaration
-
- getParser(ParserOptions) - Method in class net.sourceforge.pmd.lang.java.Java13Handler
-
- getParser(ParserOptions) - Method in class net.sourceforge.pmd.lang.java.Java14Handler
-
- getParser(ParserOptions) - Method in class net.sourceforge.pmd.lang.java.Java15Handler
-
- getParser(ParserOptions) - Method in class net.sourceforge.pmd.lang.java.Java16Handler
-
- getParser(ParserOptions) - Method in class net.sourceforge.pmd.lang.java.Java17Handler
-
- getParser(ParserOptions) - Method in class net.sourceforge.pmd.lang.java.Java18Handler
-
- getRestrictedPackages() - Method in class net.sourceforge.pmd.lang.java.rule.coupling.LoosePackageCouplingRule
-
- getResult() - Method in class net.sourceforge.pmd.lang.java.symboltable.Search
-
- getResultType() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
- getReturnedVariableName(ASTReturnStatement) - Method in class net.sourceforge.pmd.lang.java.rule.sunsecure.AbstractSunSecureRule
-
Gets the name of the variable returned.
- getRuleViolationFactory() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
- getScope() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
-
- getScope() - Method in interface net.sourceforge.pmd.lang.java.ast.JavaNode
-
- getScope() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
-
- getSuppressMap() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaParser
-
- getSuppressMap() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- getSymbolFacade() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
- getSymbolFacade(ClassLoader) - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
- getThrows() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
- getToken(int) - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Get the specific Token.
- getType() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessTypeNode
-
- getType() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaTypeNode
-
- getType() - Method in interface net.sourceforge.pmd.lang.java.ast.TypeNode
-
Get the Java Class associated with this node.
- getType() - Method in class net.sourceforge.pmd.lang.java.rule.controversial.DaaRuleViolation
-
- getType() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassNameDeclaration
-
- getType() - Method in class net.sourceforge.pmd.lang.java.symboltable.SimpleTypedNameDeclaration
-
- getType() - Method in interface net.sourceforge.pmd.lang.java.symboltable.TypedNameDeclaration
-
- getType() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
-
- getTypeImage() - Method in class net.sourceforge.pmd.lang.java.ast.ASTType
-
- getTypeImage() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassNameDeclaration
-
- getTypeImage() - Method in class net.sourceforge.pmd.lang.java.symboltable.SimpleTypedNameDeclaration
-
- getTypeImage() - Method in interface net.sourceforge.pmd.lang.java.symboltable.TypedNameDeclaration
-
- getTypeImage() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
-
- getTypeNameNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
- getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
-
- getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
-
- getTypeNode() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
Determines the type node of this variable id.
- getTypeResolutionFacade(ClassLoader) - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
- getUsages() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
- getUsed() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableUsageFinderFunction
-
- getValue() - Method in class net.sourceforge.pmd.lang.java.ast.Token
-
An optional attribute value of the Token.
- 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
-
Gets the variable name of this field.
- getVariableName() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
-
Gets the variable name of this field.
- getVariableName() - Method in class net.sourceforge.pmd.lang.java.rule.controversial.DaaRuleViolation
-
- getViolationParameters(DataPoint) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractStatisticalJavaRule
-
- getViolationParameters(DataPoint) - Method in class net.sourceforge.pmd.lang.java.rule.codesize.NcssConstructorCountRule
-
- getViolationParameters(DataPoint) - Method in class net.sourceforge.pmd.lang.java.rule.codesize.NcssMethodCountRule
-
- getViolationParameters(DataPoint) - Method in class net.sourceforge.pmd.lang.java.rule.codesize.NcssTypeCountRule
-
- getViolationParameters(DataPoint) - Method in class net.sourceforge.pmd.lang.java.rule.codesize.NPathComplexityRule
-
- getXPathHandler() - Method in class net.sourceforge.pmd.lang.java.AbstractJavaHandler
-
- glomNames(Set<T>) - Method in class net.sourceforge.pmd.lang.java.symboltable.AbstractJavaScope
-
- GodClassRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
The God Class Rule detects a the God Class design flaw using metrics.
- GodClassRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.GodClassRule
-
- GOTO - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- GT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- GUARD_METHODS - Static variable in class net.sourceforge.pmd.lang.java.rule.logging.GuardLogStatementRule
-
- GuardDebugLoggingRule - Class in net.sourceforge.pmd.lang.java.rule.logging
-
- GuardDebugLoggingRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.logging.GuardDebugLoggingRule
-
- GuardLogStatementJavaUtilRule - Class in net.sourceforge.pmd.lang.java.rule.logging
-
- GuardLogStatementJavaUtilRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.logging.GuardLogStatementJavaUtilRule
-
- GuardLogStatementRule - Class in net.sourceforge.pmd.lang.java.rule.logging
-
Check that log.debug, log.trace, log.error, etc...
- GuardLogStatementRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.logging.GuardLogStatementRule
-
- guardStmtByLogLevel - Variable in class net.sourceforge.pmd.lang.java.rule.logging.GuardLogStatementRule
-
- IdempotentOperationsRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
- IdempotentOperationsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.IdempotentOperationsRule
-
- IDENTIFIER - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- IF - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- IfStatement() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- ignoredProperties() - Method in class net.sourceforge.pmd.lang.java.rule.comments.CommentContentRule
-
- image - Variable in class net.sourceforge.pmd.lang.java.ast.Token
-
The string image of the token.
- ImageFinderFunction - Class in net.sourceforge.pmd.lang.java.symboltable
-
- ImageFinderFunction(String) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.ImageFinderFunction
-
- ImageFinderFunction(List<String>) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.ImageFinderFunction
-
- ImmutableFieldRule - Class in net.sourceforge.pmd.lang.java.rule.design
-
- ImmutableFieldRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.design.ImmutableFieldRule
-
- IMPLEMENTS - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- ImplementsList() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- IMPORT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- ImportDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- ImportFromSamePackageRule - Class in net.sourceforge.pmd.lang.java.rule.imports
-
- ImportFromSamePackageRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.imports.ImportFromSamePackageRule
-
- imports - Variable in class net.sourceforge.pmd.lang.java.rule.imports.UnusedImportsRule
-
- importsPackage(ASTCompilationUnit, String) - Static method in class net.sourceforge.pmd.lang.java.rule.AbstractJavaRule
-
- IN_FORMAL_COMMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Lexical state.
- IN_MULTI_LINE_COMMENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Lexical state.
- InclusiveOrExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- INCR - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- indexNodes(List<Node>, RuleContext) - Method in class net.sourceforge.pmd.lang.java.rule.JavaRuleChainVisitor
-
- InefficientEmptyStringCheckRule - Class in net.sourceforge.pmd.lang.java.rule.strings
-
This rule finds code which inefficiently determines empty strings.
- InefficientEmptyStringCheckRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.strings.InefficientEmptyStringCheckRule
-
- InefficientStringBufferingRule - Class in net.sourceforge.pmd.lang.java.rule.strings
-
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.strings.InefficientStringBufferingRule
-
- init() - Method in class net.sourceforge.pmd.lang.java.rule.design.GenericClassCounterRule
-
- init() - Method in class net.sourceforge.pmd.lang.java.rule.naming.VariableNamingConventionsRule
-
- Initializer() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- initializeWith(Writer, String, boolean, JavaNode) - Method in class net.sourceforge.pmd.lang.java.ast.DumpFacade
-
- initializeWith(DataFlowHandler, ASTCompilationUnit) - Method in class net.sourceforge.pmd.lang.java.dfa.DataFlowFacade
-
- initializeWith(ASTCompilationUnit) - Method in class net.sourceforge.pmd.lang.java.symboltable.SymbolFacade
-
- initializeWith(ClassLoader, ASTCompilationUnit) - Method in class net.sourceforge.pmd.lang.java.symboltable.SymbolFacade
-
- initializeWith(ClassLoader, ASTCompilationUnit) - Method in class net.sourceforge.pmd.lang.java.typeresolution.TypeResolutionFacade
-
- innerClasses - Variable in class net.sourceforge.pmd.lang.java.typeresolution.visitors.PMDASMVisitor
-
- input_stream - Variable in class net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager
-
- INSTANCE - Static variable in class net.sourceforge.pmd.lang.java.rule.JavaRuleViolationFactory
-
- INSTANCEOF - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- InstanceOfExpression() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- InsufficientStringBufferDeclarationRule - Class in net.sourceforge.pmd.lang.java.rule.strings
-
This rule finds StringBuffers which may have been pre-sized incorrectly
See http://sourceforge.net/forum/forum.php?thread_id=1438119&forum_id=188194
- InsufficientStringBufferDeclarationRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.strings.InsufficientStringBufferDeclarationRule
-
- INT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- INTEGER_LITERAL - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- INTERFACE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- IPV4 - Static variable in class net.sourceforge.pmd.lang.java.rule.basic.AvoidUsingHardCodedIPRule
-
- IPV4_MAPPED_IPV6 - Static variable in class net.sourceforge.pmd.lang.java.rule.basic.AvoidUsingHardCodedIPRule
-
- IPV4_PATTERN - Static variable in class net.sourceforge.pmd.lang.java.rule.basic.AvoidUsingHardCodedIPRule
-
- IPV4_REGEXP - Static variable in class net.sourceforge.pmd.lang.java.rule.basic.AvoidUsingHardCodedIPRule
-
- IPV6 - Static variable in class net.sourceforge.pmd.lang.java.rule.basic.AvoidUsingHardCodedIPRule
-
- IPV6_PATTERN - Static variable in class net.sourceforge.pmd.lang.java.rule.basic.AvoidUsingHardCodedIPRule
-
- IPV6_REGEXP - Static variable in class net.sourceforge.pmd.lang.java.rule.basic.AvoidUsingHardCodedIPRule
-
- isA(TypeNode, Class<?>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.TypeHelper
-
- isA(TypedNameDeclaration, Class<?>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.TypeHelper
-
- isAbstract() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
- isAbstract() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
-
- isAbstract() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
- isAllocation() - Method in class net.sourceforge.pmd.lang.java.ast.ASTBlockStatement
-
Tells if this BlockStatement is an allocation statement.
- isAllowedClass(ASTImportDeclaration) - Method in class net.sourceforge.pmd.lang.java.rule.coupling.LoosePackageCouplingRule
-
- isAnonymousInnerClass() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBodyDeclaration
-
- isArguments() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimarySuffix
-
- isArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
- isArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
-
- isArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLocalVariableDeclaration
-
- isArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimitiveType
-
- isArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTReferenceType
-
- isArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTType
-
- isArray() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
- isArray() - Method in interface net.sourceforge.pmd.lang.java.ast.Dimensionable
-
- isArray() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
-
- isArrayDereference() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimarySuffix
-
- isBoolean() - Method in class net.sourceforge.pmd.lang.java.ast.ASTPrimitiveType
-
- isCharLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
-
- isCompound() - Method in class net.sourceforge.pmd.lang.java.ast.ASTAssignmentOperator
-
- isContainingPackage(String, String) - Method in class net.sourceforge.pmd.lang.java.rule.coupling.LoosePackageCouplingRule
-
- isDefault() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
- isDefault() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
-
- isDefault() - Method in class net.sourceforge.pmd.lang.java.ast.ASTSwitchLabel
-
- isDoubleLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
-
Checks whether this literal describes a double.
- isEither(TypeNode, Class<?>, Class<?>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.TypeHelper
-
- isEither(TypedNameDeclaration, Class<?>, Class<?>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.TypeHelper
-
- isEnumChild() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBodyDeclaration
-
- isExceptionBlockParameter() - Method in class net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId
-
- isExceptionBlockParameter() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
-
- isField(String, ASTTypeDeclaration) - Method in class net.sourceforge.pmd.lang.java.rule.sunsecure.AbstractSunSecureRule
-
Tells if the type declaration has a field with varName.
- isFinal() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
- isFinal() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
-
- isFinal() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
- isFindBoundary() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceBodyDeclaration
-
- isFindBoundary() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
-
- isFloatLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
-
- isHexCharacter(char) - Method in class net.sourceforge.pmd.lang.java.rule.basic.AvoidUsingHardCodedIPRule
-
- isImportOnDemand() - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
-
- isInStringBufferOperation(Node, int, String) - Static method in class net.sourceforge.pmd.lang.java.rule.strings.InefficientStringBufferingRule
-
- isInterface() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
-
- isInterfaceMember() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
- isInterfaceMember() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
- isIntLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
-
- isIPv4(char, String) - Method in class net.sourceforge.pmd.lang.java.rule.basic.AvoidUsingHardCodedIPRule
-
- isIPv6(char, String, boolean, boolean) - Method in class net.sourceforge.pmd.lang.java.rule.basic.AvoidUsingHardCodedIPRule
-
- isJUnitMethod(ASTMethodDeclaration, Object) - Method in class net.sourceforge.pmd.lang.java.rule.junit.AbstractJUnitRule
-
- isLambdaTypelessParameter() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
-
- isLatinDigit(char) - Method in class net.sourceforge.pmd.lang.java.rule.basic.AvoidUsingHardCodedIPRule
-
- isLocalVariable(String, Node) - Method in class net.sourceforge.pmd.lang.java.rule.sunsecure.AbstractSunSecureRule
-
TODO modify usages to use symbol table
Tells if the variable name is a local variable declared in the method.
- isLongLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
-
Checks whether this literal is a long integer.
- isMatch(Pattern, String) - Static method in class net.sourceforge.pmd.lang.java.rule.regex.RegexHelper
-
Simple commodity method (also designed to increase readability of source
code, and to decrease import in the calling class).
- isMethodOrConstructorInvocation() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
-
- isMethodReference() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
-
- isNative() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
- isNative() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
-
- isNeither(TypedNameDeclaration, Class<?>, Class<?>) - Static method in class net.sourceforge.pmd.lang.java.typeresolution.TypeHelper
-
- isNested() - Method in class net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration
-
- isOnLeftHandSide() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
-
- isOnRightHandSide() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
-
- isPackagePrivate() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
- isPackagePrivate() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
-
- isPackagePrivate() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
- isPartOfQualifiedName() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
-
- isPrimitiveType() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
-
- isPrivate() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
- isPrivate() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
-
- isPrivate() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
- isProtected() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
- isProtected() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
-
- isProtected() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
- isPublic() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
- isPublic() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
-
- isPublic() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
- isPublic() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
- isQualifiedName(Node) - Static method in class net.sourceforge.pmd.lang.java.rule.AbstractJavaRule
-
- isReferenceType() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
-
Note that an array of primitive types (int[]) is a reference type.
- isSelfAssignment() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
-
Assert it the occurrence is a self assignment such as:
i += 3;
- isSingleCharacterStringLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
-
Returns true if this is a String literal with only one character.
- isStatic() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
- isStatic() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
-
- isStatic() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
- isStatic() - Method in class net.sourceforge.pmd.lang.java.ast.ASTImportDeclaration
-
- isStatic() - Method in class net.sourceforge.pmd.lang.java.ast.ASTInitializer
-
- isStrictfp() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
- isStrictfp() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
-
- isStringLiteral() - Method in class net.sourceforge.pmd.lang.java.ast.ASTLiteral
-
- isSuper() - Method in class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
-
- isSuppressed(Node) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractJavaRule
-
- isSupressed(Node, Rule) - Static method in class net.sourceforge.pmd.lang.java.rule.JavaRuleViolation
-
Check for suppression on this node, on parents, and on contained types
for ASTCompilationUnit
- isSynchronized() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
- isSynchronized() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
-
- isSyntacticallyAbstract() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
- isSyntacticallyFinal() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
- isSyntacticallyPublic() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
- isSyntacticallyPublic() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
- isSyntacticallyStatic() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFieldDeclaration
-
- isTargetMethod(JavaNameOccurrence) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractInefficientZeroCheck
-
- isTargetMethod(JavaNameOccurrence) - Method in class net.sourceforge.pmd.lang.java.rule.design.UseCollectionIsEmptyRule
-
Determine if we're dealing with .size method
- isTargetMethod(JavaNameOccurrence) - Method in class net.sourceforge.pmd.lang.java.rule.strings.InefficientEmptyStringCheckRule
-
Determine if we're dealing with String.length method
- isTernary() - Method in class net.sourceforge.pmd.lang.java.ast.ASTConditionalExpression
-
- isThis() - Method in class net.sourceforge.pmd.lang.java.ast.ASTExplicitConstructorInvocation
-
- isThisOrSuper() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
-
Simply return true is the image is equal to keyword 'this' or 'super'.
- isTransient() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
- isTransient() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
-
- isTrue() - Method in class net.sourceforge.pmd.lang.java.ast.ASTBooleanLiteral
-
- isVarargs() - Method in class net.sourceforge.pmd.lang.java.ast.ASTFormalParameter
-
- isVarargs() - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodNameDeclaration
-
- isViolationArgument(Node) - Method in class net.sourceforge.pmd.lang.java.rule.AbstractPoorMethodCall
-
Returns whether the node being sent to the method is OK or not.
- isViolationArgument(Node) - Method in class net.sourceforge.pmd.lang.java.rule.strings.UseIndexOfCharRule
-
Returns whether the node being sent to the method is OK or not.
- isVoid() - Method in class net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration
-
- isVoid() - Method in class net.sourceforge.pmd.lang.java.ast.ASTResultType
-
- isVolatile() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaAccessNode
-
- isVolatile() - Method in interface net.sourceforge.pmd.lang.java.ast.AccessNode
-
- tag() - Method in class net.sourceforge.pmd.lang.java.ast.JavadocElement
-
- tagFor(String) - Static method in class net.sourceforge.pmd.lang.java.javadoc.JavadocTag
-
- tagsIndicesIn(String) - Method in class net.sourceforge.pmd.lang.java.rule.comments.AbstractCommentRule
-
- targetTypename() - Method in class net.sourceforge.pmd.lang.java.rule.AbstractPoorMethodCall
-
The name of the type the method will be invoked against.
- targetTypename() - Method in class net.sourceforge.pmd.lang.java.rule.strings.UseIndexOfCharRule
-
Method targetTypeName.
- TERSE_NAME - Static variable in class net.sourceforge.pmd.lang.java.JavaLanguageModule
-
- TestClassWithoutTestCasesRule - Class in net.sourceforge.pmd.lang.java.rule.junit
-
- TestClassWithoutTestCasesRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.junit.TestClassWithoutTestCasesRule
-
- THIS - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- THRESHOLD_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.java.rule.strings.AvoidDuplicateLiteralsRule
-
- THROW - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- THROWS - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- THROWS - Static variable in class net.sourceforge.pmd.lang.java.javadoc.JavadocTag
-
- ThrowStatement() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- TILDE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- token - Variable in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Current token.
- Token - Class in net.sourceforge.pmd.lang.java.ast
-
Describes the input token stream.
- Token() - Constructor for class net.sourceforge.pmd.lang.java.ast.Token
-
No-argument constructor
- Token(int) - Constructor for class net.sourceforge.pmd.lang.java.ast.Token
-
Constructs a new token for the specified Image.
- Token(int, String) - Constructor for class net.sourceforge.pmd.lang.java.ast.Token
-
Constructs a new token for the specified Image and Kind.
- Token.GTToken - Class in net.sourceforge.pmd.lang.java.ast
-
- Token.GTToken(int, String) - Constructor for class net.sourceforge.pmd.lang.java.ast.Token.GTToken
-
- token_source - Variable in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
Generated Token Manager.
- tokenImage - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
Literal token values.
- tokenImage - Variable in exception net.sourceforge.pmd.lang.java.ast.ParseException
-
This is a reference to the "tokenImage" array of the generated
parser within which the parse error occurred.
- tokenize(SourceCode, Tokens) - Method in class net.sourceforge.pmd.cpd.JavaTokenizer
-
- TooManyFieldsRule - Class in net.sourceforge.pmd.lang.java.rule.codesize
-
- TooManyFieldsRule() - Constructor for class net.sourceforge.pmd.lang.java.rule.codesize.TooManyFieldsRule
-
- toString() - Method in class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
-
- toString() - Method in class net.sourceforge.pmd.lang.java.ast.Comment
-
- toString() - Method in class net.sourceforge.pmd.lang.java.ast.JavadocElement
-
- toString() - Method in class net.sourceforge.pmd.lang.java.ast.Token
-
Returns the image.
- toString() - Method in class net.sourceforge.pmd.lang.java.dfa.JavaDataFlowNode
-
- toString() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassNameDeclaration
-
- toString() - Method in class net.sourceforge.pmd.lang.java.symboltable.ClassScope
-
- toString() - Method in class net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence
-
- toString() - Method in class net.sourceforge.pmd.lang.java.symboltable.LocalScope
-
- toString() - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodNameDeclaration
-
- toString() - Method in class net.sourceforge.pmd.lang.java.symboltable.MethodScope
-
- toString() - Method in class net.sourceforge.pmd.lang.java.symboltable.NameFinder
-
- toString() - Method in class net.sourceforge.pmd.lang.java.symboltable.SimpleTypedNameDeclaration
-
- toString() - Method in class net.sourceforge.pmd.lang.java.symboltable.SourceFileScope
-
- toString() - Method in class net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration
-
- TRANSIENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.AccessNode
-
- TRANSIENT - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- trim(List<String>) - Static method in class net.sourceforge.pmd.lang.java.ast.CommentUtil
-
Similar to the String.trim() function, this one removes the leading and
trailing empty/blank lines from the line list.
- TRUE - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- TRY - Static variable in interface net.sourceforge.pmd.lang.java.ast.JavaParserConstants
-
RegularExpression Id.
- TryStatement() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- Type() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- TypeArgument() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- TypeArguments() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- TypeBound() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- TypeDeclaration() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- TypedNameDeclaration - Interface in net.sourceforge.pmd.lang.java.symboltable
-
- TypeHelper - Class in net.sourceforge.pmd.lang.java.typeresolution
-
- TypeHelper() - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.TypeHelper
-
- TypeNode - Interface in net.sourceforge.pmd.lang.java.ast
-
This interface allows a Java Class to be associated with a node.
- typeof(XPathContext, String, String) - Static method in class net.sourceforge.pmd.lang.java.xpath.JavaFunctions
-
- typeof(XPathContext, String, String, String) - Static method in class net.sourceforge.pmd.lang.java.xpath.JavaFunctions
-
- typeof(Node, String, String, String) - Static method in class net.sourceforge.pmd.lang.java.xpath.TypeOfFunction
-
- TypeOfFunction - Class in net.sourceforge.pmd.lang.java.xpath
-
- TypeOfFunction() - Constructor for class net.sourceforge.pmd.lang.java.xpath.TypeOfFunction
-
- TypeParameter() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- TypeParameters() - Method in class net.sourceforge.pmd.lang.java.ast.JavaParser
-
- TypeResolutionFacade - Class in net.sourceforge.pmd.lang.java.typeresolution
-
- TypeResolutionFacade() - Constructor for class net.sourceforge.pmd.lang.java.typeresolution.TypeResolutionFacade
-
- TypeSet - Class in net.sourceforge.pmd.lang.java.symboltable
-
Keeps track of the types encountered in a ASTCompilationUnit
- TypeSet() - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet
-
The
TypeSet
provides type resolution for the symbol facade.
- TypeSet(ClassLoader) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet
-
The
TypeSet
provides type resolution for the symbol facade.
- TypeSet.AbstractResolver - Class in net.sourceforge.pmd.lang.java.symboltable
-
- TypeSet.AbstractResolver(PMDASMClassLoader) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.AbstractResolver
-
Creates a new AbstractResolver that uses the given class loader.
- TypeSet.CurrentPackageResolver - Class in net.sourceforge.pmd.lang.java.symboltable
-
Resolver that uses the current package to resolve a simple class name.
- TypeSet.CurrentPackageResolver(PMDASMClassLoader, String) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.CurrentPackageResolver
-
- TypeSet.ExplicitImportResolver - Class in net.sourceforge.pmd.lang.java.symboltable
-
Resolver that tries to resolve the given simple class name with the
explicit import statements.
- TypeSet.ExplicitImportResolver(PMDASMClassLoader, Set<String>) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.ExplicitImportResolver
-
- TypeSet.FullyQualifiedNameResolver - Class in net.sourceforge.pmd.lang.java.symboltable
-
Resolver that simply loads the class by name.
- TypeSet.FullyQualifiedNameResolver(PMDASMClassLoader) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.FullyQualifiedNameResolver
-
- TypeSet.ImplicitImportResolver - Class in net.sourceforge.pmd.lang.java.symboltable
-
Resolver that resolves simple class names from the implicit import of java.lang.*
.
- TypeSet.ImplicitImportResolver(PMDASMClassLoader) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.ImplicitImportResolver
-
- TypeSet.ImportOnDemandResolver - Class in net.sourceforge.pmd.lang.java.symboltable
-
Resolver that uses the "on demand" import statements.
- TypeSet.ImportOnDemandResolver(PMDASMClassLoader, Set<String>) - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.ImportOnDemandResolver
-
- TypeSet.PrimitiveTypeResolver - Class in net.sourceforge.pmd.lang.java.symboltable
-
Resolver that resolves primitive types such as int or double.
- TypeSet.PrimitiveTypeResolver() - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.PrimitiveTypeResolver
-
- TypeSet.Resolver - Interface in net.sourceforge.pmd.lang.java.symboltable
-
A resolver that can resolve a class by name.
- TypeSet.VoidResolver - Class in net.sourceforge.pmd.lang.java.symboltable
-
Resolver that resolves the "void" type.
- TypeSet.VoidResolver() - Constructor for class net.sourceforge.pmd.lang.java.symboltable.TypeSet.VoidResolver
-