Uses of Interface
net.sourceforge.pmd.lang.apex.ast.ApexParserVisitor
-
-
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.ast
Classes in net.sourceforge.pmd.lang.apex.ast that implement ApexParserVisitor Modifier and Type Class Description class
ApexParserVisitorAdapter
class
ApexParserVisitorReducedAdapter
Deprecated.The functionality of this adapter will be moved into the base apex visitor, so this class will go away with PMD 7.Methods in net.sourceforge.pmd.lang.apex.ast with parameters of type ApexParserVisitor Modifier and Type Method Description Object
AbstractApexNodeBase. childrenAccept(ApexParserVisitor visitor, Object data)
Deprecated.Accept the visitor.Object
ApexNode. childrenAccept(ApexParserVisitor visitor, Object data)
Deprecated.This method is not useful, the logic for combining children values should be present on the visitor, not the nodeabstract Object
AbstractApexNodeBase. jjtAccept(ApexParserVisitor visitor, Object data)
Deprecated.Accept the visitor.Object
ApexNode. jjtAccept(ApexParserVisitor visitor, Object data)
Accept the visitor.Object
ASTAnnotation. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTAnnotationParameter. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTAnonymousClass. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTArrayLoadExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTArrayStoreExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTAssignmentExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTBinaryExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTBindExpressions. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTBlockStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTBooleanExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTBreakStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTBridgeMethodCreator. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTCastExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTCatchBlockStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTClassRefExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTConstructorPreamble. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTConstructorPreambleStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTContinueStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTDmlDeleteStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTDmlInsertStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTDmlMergeStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTDmlUndeleteStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTDmlUpdateStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTDmlUpsertStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTDoLoopStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTElseWhenBlock. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTEmptyReferenceExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTExpressionStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTField. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTFieldDeclaration. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTFieldDeclarationStatements. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTForEachStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTForLoopStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTFormalComment. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTIdentifierCase. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTIfBlockStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTIfElseBlockStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTIllegalStoreExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTInstanceOfExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTInvalidDependentCompilation. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTJavaMethodCallExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTJavaVariableExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTLiteralCase. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTLiteralExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTMapEntryNode. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTMethod. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTMethodBlockStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTMethodCallExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTModifier. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTModifierNode. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTModifierOrAnnotation. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTMultiStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTNestedExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTNestedStoreExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTNewKeyValueObjectExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTNewListInitExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTNewListLiteralExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTNewMapInitExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTNewMapLiteralExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTNewObjectExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTNewSetInitExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTNewSetLiteralExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTPackageVersionExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTParameter. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTPostfixExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTPrefixExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTProperty. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTReferenceExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTReturnStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTRunAsBlockStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTSoqlExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTSoslExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTStandardCondition. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTStatementExecuted. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTSuperMethodCallExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTSuperVariableExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTSwitchStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTTernaryExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTThisMethodCallExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTThisVariableExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTThrowStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTTriggerVariableExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTTryCatchFinallyBlockStatement. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTTypeWhenBlock. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTUserClass. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTUserClassMethods. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTUserEnum. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTUserExceptionMethods. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTUserInterface. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTUserTrigger. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTValueWhenBlock. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTVariableDeclaration. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTVariableDeclarationStatements. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTVariableExpression. jjtAccept(ApexParserVisitor visitor, Object data)
Object
ASTWhileLoopStatement. jjtAccept(ApexParserVisitor visitor, Object data)
-
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.metrics.impl.visitors
Classes in net.sourceforge.pmd.lang.apex.metrics.impl.visitors that implement ApexParserVisitor Modifier and Type Class Description class
CognitiveComplexityVisitor
class
StandardCycloVisitor
-
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.multifile
Classes in net.sourceforge.pmd.lang.apex.multifile that implement ApexParserVisitor Modifier and Type Class Description class
ApexMultifileVisitor
class
ApexMultifileVisitorFacade
-
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.rule
Classes in net.sourceforge.pmd.lang.apex.rule that implement ApexParserVisitor Modifier and Type Class Description class
AbstractApexRule
class
AbstractApexUnitTestRule
Deprecated.Internal APIclass
AbstractStatisticalApexRule
Deprecated.seeStatisticalRule
-
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.rule.bestpractices
Classes in net.sourceforge.pmd.lang.apex.rule.bestpractices that implement ApexParserVisitor Modifier and Type Class Description class
ApexAssertionsShouldIncludeMessageRule
class
ApexUnitTestClassShouldHaveAssertsRule
Apex unit tests should have System.assert methods in themclass
ApexUnitTestMethodShouldHaveIsTestAnnotationRule
class
ApexUnitTestShouldNotUseSeeAllDataTrueRule
It's a very bad practice to use @isTest(seeAllData=true) in Apex unit tests, because it opens up the existing database data for unexpected modification by tests.class
AvoidGlobalModifierRule
class
AvoidLogicInTriggerRule
class
UnusedLocalVariableRule
-
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.rule.codestyle
Classes in net.sourceforge.pmd.lang.apex.rule.codestyle that implement ApexParserVisitor Modifier and Type Class Description class
ClassNamingConventionsRule
class
FieldDeclarationsShouldBeAtStartRule
class
FieldNamingConventionsRule
class
FormalParameterNamingConventionsRule
class
LocalVariableNamingConventionsRule
class
MethodNamingConventionsRule
class
PropertyNamingConventionsRule
class
VariableNamingConventionsRule
Deprecated. -
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.rule.design
Classes in net.sourceforge.pmd.lang.apex.rule.design that implement ApexParserVisitor Modifier and Type Class Description class
AbstractNcssCountRule
Deprecated.Internal APIclass
AvoidDeeplyNestedIfStmtsRule
class
CognitiveComplexityRule
class
CyclomaticComplexityRule
Cyclomatic complexity rule using metrics.class
ExcessiveClassLengthRule
This rule detects when a class exceeds a certain threshold.class
ExcessiveLengthRule
class
ExcessiveNodeCountRule
This is a common super class for things which shouldn't have excessive nodes underneath.class
ExcessiveParameterListRule
This rule detects an abnormally long parameter list.class
ExcessivePublicCountRule
Rule attempts to count all public methods and public attributes defined in a class.class
NcssConstructorCountRule
Non-commented source statement counter for constructors.class
NcssMethodCountRule
Non-commented source statement counter for methods.class
NcssTypeCountRule
Non-commented source statement counter for type declarations.class
StdCyclomaticComplexityRule
Implements the standard cyclomatic complexity ruleclass
TooManyFieldsRule
-
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.rule.documentation
Classes in net.sourceforge.pmd.lang.apex.rule.documentation that implement ApexParserVisitor Modifier and Type Class Description class
ApexDocRule
-
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.rule.errorprone
Classes in net.sourceforge.pmd.lang.apex.rule.errorprone that implement ApexParserVisitor Modifier and Type Class Description class
ApexCSRFRule
Constructor and init method might contain DML, which constitutes a CSRF vulnerabilityclass
AvoidHardcodingIdRule
class
AvoidNonExistentAnnotationsRule
Apex supported non existent annotations for legacy reasons.class
MethodWithSameNameAsEnclosingClassRule
class
OverrideBothEqualsAndHashcodeRule
-
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.rule.performance
Classes in net.sourceforge.pmd.lang.apex.rule.performance that implement ApexParserVisitor Modifier and Type Class Description class
AvoidDmlStatementsInLoopsRule
Deprecated.class
AvoidSoqlInLoopsRule
Deprecated.class
AvoidSoslInLoopsRule
Deprecated.class
OperationWithLimitsInLoopRule
Warn users when code that could trigger governor limits is executing within a looping construct. -
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.rule.security
Classes in net.sourceforge.pmd.lang.apex.rule.security that implement ApexParserVisitor Modifier and Type Class Description class
ApexBadCryptoRule
Finds encryption schemes using hardcoded IV, hardcoded keyclass
ApexCRUDViolationRule
Finding missed CRUD checks for SOQL and DML operations.class
ApexDangerousMethodsRule
Flags dangerous method calls, e.g.class
ApexInsecureEndpointRule
Insecure HTTP endpoints passed to (req.setEndpoint) req.setHeader('Authorization') should use named credentialsclass
ApexOpenRedirectRule
Looking for potential Open redirect via PageReference variable inputclass
ApexSharingViolationsRule
Finds Apex class that do not define sharingclass
ApexSOQLInjectionRule
Detects if variables in Database.query(variable) is escaped with String.escapeSingleQuotesclass
ApexSuggestUsingNamedCredRule
Flags usage of http request.setHeader('Authorization',..) and suggests using named credentials which helps store credentials for the callout in a safe place.class
ApexXSSFromEscapeFalseRule
Finds all .addError method calls that are not HTML escaped on purposeclass
ApexXSSFromURLParamRule
Detects potential XSS when controller extracts a variable from URL query and uses it without escaping first
-